Attributes |
Name | Required | Request-time | Type | Description |
bean | false | true | java.lang.Object | A bean associated with the select component. |
changesContext | false | true | boolean | Whether to reload the page when the value of the field changes. The default value is false . |
cssClass | false | true | java.lang.String | A CSS class for styling the component. |
data | false | true | java.util.Map | Miscellaneous data to be stored via a map. For example, the HashMap<"class-name", "foo"> would render as the attribute data-class-name = "foo"; . |
disabled | false | true | boolean | Whether the component is disabled. The default value is false . |
field | false | true | java.lang.String | No Description |
first | false | true | boolean | Whether the component should be the first element of the form. The default value is false . |
helpMessage | false | true | java.lang.String | Text to display as a help tooltip on mouse over of the component's help icon. |
id | false | true | java.lang.String | An ID for the component instance. |
ignoreRequestValue | false | true | boolean | No Description |
inlineField | false | true | boolean | Whether to align the select field with the next element in the form. The default value is false . |
inlineLabel | false | true | java.lang.String | An alignment for the label's text. Possible values are right and left . |
label | false | true | java.lang.String | A label for the select field that is displayed above the field. |
last | false | true | boolean | Whether the component should be the last element in the form. The default value is false . |
listType | false | true | java.lang.String | A list type in which to automatically generate the options. Possible values can be found in ListTypeImpl.java . |
listTypeFieldName | false | true | java.lang.String | No Description |
localizeLabel | false | true | boolean | Whether to translate the label's text into the user's language. The default value is true . |
model | false | true | java.lang.Class | Sets the class for the bean object. |
multiple | false | true | boolean | Whether multiple options can be selected. If set to true , the select field expands to allow for multiple selections. The default value is false . |
name | true | true | java.lang.String | A name for the select field. Note that this value overrides the label attribute and takes the place of the label. |
onChange | false | true | java.lang.String | A function to be called when the select field's value changes. |
onClick | false | true | java.lang.String | A function to be called on users clicking the select field. |
prefix | false | true | java.lang.String | Text to display before the select field. |
required | false | true | boolean | Whether to mark the select field as required. The default value is false . |
showEmptyOption | false | true | boolean | Whether to display an empty option as a placeholder. The default value is false . |
showRequiredLabel | false | true | boolean | Whether 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 . |
suffix | false | true | java.lang.String | Text to display after the select field. |
title | false | true | java.lang.String | A title for the select field. |
useNamespace | false | true | boolean | Whether to use the default portlet namespace, to avoid name conflicts. The default value is true . |
value | false | true | java.lang.Object | No Description |
wrapperCssClass | false | true | java.lang.String | A CSS class for styling the div that wraps the select field. |