Alloy Showcase

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:

General Usage

Children such as alloy:icon, alloy:outputText, and h:graphicImage can be specified for styling purposes. Alternatively, the image and value attributes can be specified for styling purposes.

Source Code

Liferay Faces Alloy 3.0.0 + Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.0 + Mojarra 2.2.13