The ace:pushButton component allows submission of a form in it's entirety or also the submission of itself only. This component supports an action attribute as well as an actionListener attribute similar to a h:commandButton.
|See the ICEfaces Showcase Live Demo of this component, complete with source code.|
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
As a descendant of UICommand, this component supports an action listener.
|actionListener||Method that will be notified when the component is activated by the user|
|action||Fired when the button is clicked or pressed by any other means (default event).|
|Prior to 4.0 this event was named "activate". The "activate" event name is now deprecated but treated as an alias for "action" for backwards compatibility with existing applications.|
The client side component object is exposed through the global variable name specified in the widgetVar attribute.
|The ice.ace.instance function requires the full client id of the component to be specified, such as "j_idt77:componentId" instead of just "componentId". To reduce the complexity of working with complete IDs with this function it may be preferable in some cases to use prependId="false" in the enclosing form (e.g. <h:form prependId="false">).|
The following ARIA roles are supported: button.
The following markup represents the basic HTML structure of the component and the CSS classes it uses.