|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
javax.faces.component.html.HtmlCommandButton
ilog.views.faces.component.IlvFacesNoSubmitButton
public class IlvFacesNoSubmitButton
This subclass of HtmlCommandButton is overriding
the getType() method to force the client-side HTML button to
be of type "button", avoiding the button to automatically submit
the HTML form when pressed.
Instead the user can do client-side action reacting to onclick event,
and submit the form later on by another means like a JavaScript
method allowing that.
| Field Summary |
|---|
| Fields inherited from class javax.faces.component.html.HtmlCommandButton |
|---|
COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UICommand |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
IlvFacesNoSubmitButton()
Creates a new IlvFacesNoSubmitButton instance. |
|
| Method Summary | |
|---|---|
String |
getType()
Returns the button type, alway "button" in that case. |
void |
setType(String type)
Changing the type of IlvFacesNoSubmitButton does
nothing. |
| Methods inherited from class javax.faces.component.html.HtmlCommandButton |
|---|
getAccesskey, getAlt, getDir, getImage, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, restoreState, saveState, setAccesskey, setAlt, setDir, setDisabled, setImage, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setTabindex, setTitle |
| Methods inherited from class javax.faces.component.UICommand |
|---|
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFacesNoSubmitButton()
IlvFacesNoSubmitButton instance.
| Method Detail |
|---|
public String getType()
getType in class HtmlCommandButtonpublic void setType(String type)
IlvFacesNoSubmitButton does
nothing.
setType in class HtmlCommandButton
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||