Button is a UIOutput component that renders a styleable HTML <button> element. The default type is button. Since it extends HtmlOutcomeTargetButton, it supports all the features of h:button. The component does not need to be a child of h:form since the outcome attribute is designed to navigate via HTTP GET.

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 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