PushButton

You are viewing an old version (v. 29) 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 >>

Overview

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.

Getting Started

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

<h:body>
    <h:form >
        <h:panelGroup id="push1">
	    <ace:pushButton
                id="pushId"
                value="submit"
                label="this button submits the entire form"
	        actionListener="#{button.actionListenerMethod}"  />
	</h:panelGroup>
    </h:form>
</h:body>

Attributes

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

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

© Copyright 2017 ICEsoft Technologies Canada Corp.