Attributes |
Name | Required | Request-time | Type | Description |
autoFocus | false | true | boolean | Sets whether the input component gets focus by default. |
autoSize | false | true | boolean | Sets whether the input component autosizes. |
bean | false | true | java.lang.Object | Sets a bean to associate with the input component. |
changesContext | false | true | boolean | Sets whether to reload the page when the value of the input changes. The default value is false . |
checked | false | true | boolean | Sets whether the input is selected. Note that this attribute is only enabled when type is radio or checkbox . |
classPK | false | true | long | Sets the primary key for the instance of the class. The default value is 0 . |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. |
data | false | true | java.lang.Object | 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; . |
dateTogglerCheckboxLabel | false | true | java.lang.String | No Description |
defaultLanguageId | false | true | java.lang.String | Sets the default language ID for the component. |
disabled | false | true | boolean | Sets whether the component is disabled. The default value is false . |
field | false | true | java.lang.String | No Description |
fieldParam | false | true | java.lang.String | Sets a variable name to refer to the field of the component. |
first | false | true | boolean | Sets whether the input component should be the first element of the form. |
formName | false | true | java.lang.String | Sets the name of the component's form. |
helpMessage | false | true | java.lang.String | Sets text to display as a help tooltip on mouse over of the component's help icon. |
helpTextCssClass | false | true | java.lang.String | Sets a CSS class for styling the help message text. The default value is input-group-addon . |
id | false | true | java.lang.String | Identifies the component instance. |
ignoreRequestValue | false | true | boolean | Sets whether to ignore the value saved from the request object. The default value is false . |
inlineField | false | true | boolean | Sets whether to align the input's field with the next element in the form. The default value is false . |
inlineLabel | false | true | java.lang.String | Aligns the input label's text. Possible values are right and left . |
label | false | true | java.lang.String | Sets the label for the input component. If not assigned a value, the label is automatically taken from the name attribute's value. |
languageId | false | true | java.lang.String | No Description |
last | false | true | boolean | Sets whether the component should be the last element of the form. |
localized | false | true | boolean | Sets whether to translate the component's text features into the user's language. The default value is false . |
max | false | true | java.lang.Object | Sets the maximum value for the input if its type is number or range . Note that the max value is inclusive if the input's type is range . |
model | false | true | java.lang.Class | Sets the class for the bean object. |
min | false | true | java.lang.Object | Sets the minimum value for the input if its type is number or range . Note that the min value is inclusive if the input's type is range . |
multiple | false | true | boolean | No Description |
name | true | true | java.lang.String | Sets the component's name. |
onChange | false | true | java.lang.String | Sets a function to be called when the input's value changes. |
onClick | false | true | java.lang.String | Sets a function to be called on a user clicking the input. |
placeholder | false | true | java.lang.String | Sets placeholder text for the input's field. |
prefix | false | true | java.lang.String | Sets text to display before the input. |
required | false | true | boolean | Sets whether to mark the input as required. |
resizable | false | true | boolean | Sets whether the input's field is resizeable, if the input is of type textarea . |
showRequiredLabel | false | true | boolean | Sets whether to show the input's required label, if an input value is required. |
suffix | false | true | java.lang.String | Sets text to display after the input. |
title | false | true | java.lang.String | Sets the input's title. |
type | false | true | java.lang.String | Sets the input's type. Possible values are text , hidden , assetCategories , assetTags , textarea , timeZone , password , checkbox , radio , submit , button , color , email , number , range , resource , url , and an empty value. If an empty value or no value is set, the input's type is obtained automatically from the input component's bean. |
useNamespace | false | true | boolean | Sets whether to use the default portlet namespace, to avoid name conflicts. The default value is true . |
value | false | true | java.lang.Object | Sets the input's value. |
wrapperCssClass | false | true | java.lang.String | Sets a CSS class for styling the div that wraps the input component. |