aui
Tag option


Creates an option component for using in an <aui:select> component.


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

Attributes
NameRequiredRequest-timeTypeDescription
cssClassfalsetruejava.lang.StringSets a CSS class for styling this component.
datafalsetruejava.util.MapTakes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
disabledfalsetruebooleanSets whether the component is disabled. The default value is false.
labelfalsetruejava.lang.ObjectSets the text to display as the option in the select form.
selectedfalsetruebooleanSets whether the option is selected when the component loads. The default value is false.
stylefalsetruejava.lang.StringSets the styling for the option component. For example, to align the text to the right you would specify text-align:right;.
useModelValuefalsetruebooleanNo Description
valuefalsetruejava.lang.ObjectSets the option's value. If no value is given, the value is taken from the label attribute.

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.