alloy:commandButton

CommandButton is a UICommand component that renders a styleable HTML <button> element. The default type is submit. Since it extends HtmlCommandButton, it supports all the features of h:commandButton. The component must be a child of h:form in order to trigger the action or actionListener. In order to provide a Rich Internet Application (RIA) experience for the end-user, the following attributes are set by default:

Immediate Usage

When the immediate attribute is true, the action and actionListener callbacks execute during the APPLY_REQUEST_VALUES phase of the JSF lifecycle, rather than the normal INVOKE_APPLICATION phase.

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20