aui
Tag button


Creates a fully configurable button that offers portlet namespacing and custom icons.


Tag Information
Tag Classcom.liferay.taglib.aui.ButtonTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
cssClassfalsetruejava.lang.StringA CSS class for styling the component. These styles override the ones set by the primary attribute.
datafalsetruejava.lang.ObjectMiscellaneous data to be stored via a map. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
disabledfalsetruebooleanWhether the component is disabled. The default value is false.
hreffalsetruejava.lang.StringA URL to navigate to when the button is clicked.
iconfalsetruejava.lang.StringAn icon to display on the button based on the icon CSS class value given. Possible CSS class values can be found at here.
iconAlignfalsetruejava.lang.StringAn alignment for the button's icon. The default value is left.
idfalsetruejava.lang.StringAn ID for the component instance.
namefalsetruejava.lang.StringA name for the button.
onClickfalsetruejava.lang.StringA function to be called on a user clicking the button.
primaryfalsetruejava.lang.ObjectWhether to apply the btn btn-primary CSS styling to the button. If the type attribute is set to submit, this value is set to true. For all the other types, the value is set to false by default.
typefalsetruejava.lang.StringThe button's type. Possible values are button, submit, cancel and reset. The default value is button.
useDialogfalsetruebooleanWhether to open a dialog window with the href location when a user clicks the button. The default value is false.
useNamespacefalsetruebooleanWhether to use the default portlet namespace, to avoid name conflicts. The default value is true.
valuefalsetruejava.lang.StringText to display on the button.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.