Attributes |
Name | Required | Request-time | Type | Description |
accesskey | no | true | java.lang.String | Access key that, when pressed, transfers focus to this element. |
alt | no | true | java.lang.String | Alternate textual description of the element rendered by this component. |
autocomplete | no | true | java.lang.String | If the value of this attribute is "off", render "off" as the value of the attribute. This indicates that the browser should disable its autocomplete feature for this component. This is useful for components that perform autocompletion and do not want the browser interfering. If this attribute is not set or the value is "on", render nothing. |
binding | no | true | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
converter | no | true | javax.faces.convert.Converter | Converter is an interface describing a Java class that can perform Object-to-String and String-to-Object conversions between model data objects and a String representation of those objects that is suitable for rendering. |
converterMessage | no | true | java.lang.String | If present, will be used as the text of the converter message, replacing any message that comes from the converter. |
dir | no | true | java.lang.String | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). |
disabled | no | true | boolean | Flag indicating that this element must never receive focus or be included in a subsequent submit. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled". Default = 'false'. |
id | no | true | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
immediate | no | true | boolean | A flag indicating that conversion and validation of this component's value should occur during Apply Request Values phase instead of Process Validations phase. Default = 'false'. |
indicatorPosition | no | true | java.lang.String | Position of input-required or input-optional indicator relative to input field or label. Supported values are "left/right/top/bottom/labelLeft/labelRight/none". Default is "labelRight" if labelPosition is "inField", "right" otherwise. |
label | no | true | java.lang.String | A localized user presentable name for this component. |
labelPosition | no | true | java.lang.String | Position of label relative to input field. Supported values are "left/right/top/bottom/inField/none". Default is "none". |
lang | no | true | java.lang.String | Code describing the language used in the generated markup for this component. |
mask | yes | true | java.lang.String | Masked input for separating input texts with given pattern. These mask definitions can be used: a - Represents an alpha character (A-Z,a-z) 9 - Represents a numeric character (0-9) * - Represents an alphanumeric character (A-Z,a-z,0-9). All input is optional. Any character not in the definitions list will be automatically entered for the user as they type. |
maxlength | no | true | int | The maximum number of characters that may be entered in this field. |
optionalIndicator | no | true | java.lang.String | Indicator indicating that the user is NOT required to provide a submitted value for this input component. |
placeHolder | no | true | java.lang.String | Separator and placeholder in input. |
readonly | no | true | boolean | Flag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly". Default = 'false'. |
rendered | no | true | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
required | no | true | boolean | A flag indicating whether the user required to provide a non-empty submitted value for this component. Default = 'false'. |
requiredIndicator | no | true | java.lang.String | Indicator indicating that the user is required to provide a submitted value for this input component. |
requiredMessage | no | true | java.lang.String | If present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used. |
size | no | true | int | The number of characters used to determine the width of this field. |
style | no | true | java.lang.String | CSS style(s) to be applied when this component is rendered. |
styleClass | no | true | java.lang.String | Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. |
tabindex | no | true | java.lang.String | Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767. |
title | no | true | java.lang.String | Advisory title information about markup elements generated for this component. |
validator | no | true | javax.el.MethodExpression | MethodExpression representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void. |
validatorMessage | no | true | java.lang.String | If present, will be used as the text of the validator message, replacing any message that comes from the validator. |
value | no | true | java.lang.Object | The current value of the simple component. The value to be rendered. |
valueChangeListener | no | true | javax.el.MethodExpression | MethodExpression representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing what the new value is, but this can be useful in cases where a notification is needed that "this value changed". |
widgetVar | no | true | java.lang.String | Name of the widget variable to access client side api. |