UICommand as a Button.
| Modifier and Type | Field and Description |
|---|---|
| private static final Attribute[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | decode(FacesContext
FacesContext for the request we are processingUIComponent to be decoded.Overrides com. Decode any new state of the specified |
| public void | encodeBegin(FacesContext
FacesContext for the request we are processingUIComponent to be renderedOverrides javax. Render the beginning specified |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingUIComponent to be renderedOverrides com. Render the ending of the current state of the specified
|
| private static String | Returns: the type for this buttonthe component of interest component)If the component's type attribute is null or not equal
to |
| private static Map | |
| private static boolean | Returns: true if the button represents a reset
button, otherwise falsethe component of interest component)
|
| private static boolean | Returns: true if this component was in fact activated,
otherwise falsethe context, UIComponent FacesContext for the current requestthe component of interest component, String the client id, if it has been retrieved, otherwise null clientId)Determine if this component was activated on the client side. |
| ATTRIBUTES | back to summary |
|---|---|
| private static final Attribute[] ATTRIBUTES | |
| ButtonRenderer | back to summary |
|---|---|
| public ButtonRenderer() | |
| decode | back to summary |
|---|---|
| public void decode(FacesContext context, UIComponent component) Overrides com. Doc from javax. Decode any new state of the specified During decoding, events may be enqueued for later processing
(by event listeners that have registered an interest), by calling
| |
| encodeBegin | back to summary |
|---|---|
| public void encodeBegin(FacesContext context, UIComponent component) throws IOException Overrides javax. Doc from javax. Render the beginning specified
| |
| encodeEnd | back to summary |
|---|---|
| public void encodeEnd(FacesContext context, UIComponent component) throws IOException Overrides com. Doc from javax. Render the ending of the current state of the specified
| |
| getButtonType | back to summary |
|---|---|
| private static String getButtonType(UIComponent component) If the component's type attribute is null or not equal
to
| |
| getNonOnClickBehaviors | back to summary |
|---|---|
| private static Map | |
| isReset | back to summary |
|---|---|
private static boolean isReset(UIComponent component)
| |
| wasClicked | back to summary |
|---|---|
| private static boolean wasClicked(FacesContext context, UIComponent component, String clientId) Determine if this component was activated on the client side.
| |