Attributes |
Name | Required | Request-time | Type | Description |
bean | false | true | java.lang.Object | Sets the bean associated with the select component. |
changesContext | false | true | boolean | Sets whether to reload the page when the value of the field changes. The default value is false . |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. |
data | false | true | java.util.Map | Takes 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"; . |
disabled | false | true | boolean | Sets whether the component is disabled. The default value is false . |
first | false | true | boolean | Sets whether the component should be the first element of the form. The default value is false . |
helpMessage | false | true | java.lang.String | Sets text to display as a help tooltip on mouse over of the component's help icon. |
id | false | true | java.lang.String | Identifies the component instance. |
ignoreRequestValue | false | true | boolean | No Description |
inlineField | false | true | boolean | Sets whether to align the select field with the next element in the form. The default value is false . |
inlineLabel | false | true | java.lang.String | Aligns the label's text. Possible values are right and left . |
label | false | true | java.lang.String | Sets the select field's label and displays it above the field. |
last | false | true | boolean | Sets whether the component should be the last element in the form. The default value is false . |
listType | false | true | java.lang.String | Sets the list type and automatically generates the options. Possible values can be found in ListTypeImpl.java . |
listTypeFieldName | false | true | java.lang.String | No Description |
multiple | false | true | boolean | Sets 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 | Sets the select field's name attribute. Note that this value overrides the label attribute and takes the place of the label. |
onChange | false | true | java.lang.String | Sets a function to be called when the select field's value changes. |
onClick | false | true | java.lang.String | Sets a function to be called on users clicking the select field. |
prefix | false | true | java.lang.String | Sets the text to display before the select field. |
required | false | true | boolean | Sets whether to mark the select field as required. The default value is false . |
showEmptyOption | false | true | boolean | Sets whether to display an empty option as a placeholder. The default value is false . |
showRequiredLabel | false | true | boolean | Sets 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 | Sets the text to display after the select field. |
title | false | true | java.lang.String | Sets the select field's title. |
useNamespace | false | true | boolean | Sets whether to use the default portlet namespace, to avoid name conflicts. The default value is true . |