aui
Tag select


Creates a select field (or combo box) for holding <aui:option> components.


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

Attributes
NameRequiredRequest-timeTypeDescription
beanfalsetruejava.lang.ObjectA bean associated with the select component.
changesContextfalsetruebooleanWhether to reload the page when the value of the field changes. The default value is false.
cssClassfalsetruejava.lang.StringA CSS class for styling the component.
datafalsetruejava.util.MapMiscellaneous 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.
fieldfalsetruejava.lang.StringNo Description
firstfalsetruebooleanWhether the component should be the first element of the form. The default value is false.
helpMessagefalsetruejava.lang.StringText to display as a help tooltip on mouse over of the component's help icon.
idfalsetruejava.lang.StringAn ID for the component instance.
ignoreRequestValuefalsetruebooleanNo Description
inlineFieldfalsetruebooleanWhether to align the select field with the next element in the form. The default value is false.
inlineLabelfalsetruejava.lang.StringAn alignment for the label's text. Possible values are right and left.
labelfalsetruejava.lang.StringA label for the select field that is displayed above the field.
lastfalsetruebooleanWhether the component should be the last element in the form. The default value is false.
listTypefalsetruejava.lang.StringA list type in which to automatically generate the options. Possible values can be found in ListTypeImpl.java.
listTypeFieldNamefalsetruejava.lang.StringNo Description
localizeLabelfalsetruebooleanWhether to translate the label's text into the user's language. The default value is true.
modelfalsetruejava.lang.ClassSets the class for the bean object.
multiplefalsetruebooleanWhether multiple options can be selected. If set to true, the select field expands to allow for multiple selections. The default value is false.
nametruetruejava.lang.StringA name for the select field. Note that this value overrides the label attribute and takes the place of the label.
onChangefalsetruejava.lang.StringA function to be called when the select field's value changes.
onClickfalsetruejava.lang.StringA function to be called on users clicking the select field.
prefixfalsetruejava.lang.StringText to display before the select field.
requiredfalsetruebooleanWhether to mark the select field as required. The default value is false.
showEmptyOptionfalsetruebooleanWhether to display an empty option as a placeholder. The default value is false.
showRequiredLabelfalsetruebooleanWhether to display the required label above the select field. Note that this attribute is only active if the required attribute is set to true. The default value is false.
suffixfalsetruejava.lang.StringText to display after the select field.
titlefalsetruejava.lang.StringA title for the select field.
useNamespacefalsetruebooleanWhether to use the default portlet namespace, to avoid name conflicts. The default value is true.
valuefalsetruejava.lang.ObjectNo Description
wrapperCssClassfalsetruejava.lang.StringA CSS class for styling the div that wraps the select field.

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.