You are viewing an old version (v. 36) of this page.
The latest version is v. 38, last edited on Jan 12, 2016 (view differences | )
<< View previous version | view page history | view next version >>


Since 2.0

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.

Getting Started

<html ... xmlns:ace="http://www.icefaces.org/icefaces/components">

    <h:form >
        <h:panelGroup id="push1">
                label="this button submits the entire form"
	        actionListener="#{button.actionListenerMethod}"  />


TagLib Documentation
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.

value refers to the text written on the button, similar to that of jsf commandButton.

label If no value present, the label will be used for the pushButton. Otherwise if both are used, the label will be used to define the aria-role, described-by.

style: a pass through to the root element of the component.

styleClass a pass through to the root element of the component.

tabindex a pass through to the root element of the component, default=0.

disabled a pass through to the root element of the component.

The following attributes are supported as pass-thru attributes: accesskey, alt, dir, label, lang, style, tabindex, title, type, onchange, onselect, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onblur, onfocus

Event Listeners

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

Client Behavior Events

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.

JavaScript API


Keyboard and ARIA Support

The following ARIA roles are supported: button.

CSS Classes

The following markup represents the basic HTML structure of the component and the CSS classes it uses.

<div class="yui-content ui-tabs-panel ui-widget-content ui-corner-bottom">
		<div class="ui-tabs-panel ui-widget-content ui-corner-bottom">
			<div class="[user defined classes]" style="[user defined styles]">
				<span class="first-child">
					<button class="ui-button ui-widget ui-state-default ui-corner-all">

Known Issues


Additional Resources


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.