Attributes |
Name | Required | Request-time | Type | Description |
accesskey | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
alt | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
autoTab | no | true | boolean | When true the component will automatically tab to the next component once the maxLength number of characters have been entered. |
autocapitalize | no | true | java.lang.String | An HTML5 feature supported by mobile browsers which will automatically capitalize the first character of the field. Alternatively, the Mojarra HTML5 'autocapitalize' passthrough attribute may also be used with this component. Default = 'off'. |
autocomplete | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
autocorrect | no | true | java.lang.String | The autocorrect is an HTML5 attribute that may correct spelling errors in the field if supported in the browser. Alternatively, the Mojarra HTML5 'autocorrect' passthrough attribute may also be used with this component. Default = 'off'. |
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 | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
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 | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
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 | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
max | no | true | int | Maximum value is an html5 passthrough attribute, and only applicable to type number. Will not be rendered if attribute is not present. Alternatively, the Mojarra HTML5 'max' passthrough attribute may be used with this component. Default = 'Integer.MIN_VALUE'. |
maxlength | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
min | no | true | int | Minimum value is an HTML5 passthrough attribute and only applicable to type number. Will not be rendered if not present. Alternatively, the Mojarra HTML5 'min' passthrough attribute may be used with this component. Default = 'Integer.MIN_VALUE'. |
name | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onblur | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onchange | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onclick | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
ondblclick | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onfocus | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onkeydown | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onkeypress | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onkeyup | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onmousedown | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onmousemove | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onmouseout | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onmouseover | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
onmouseup | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
optionalIndicator | no | true | java.lang.String | Indicator indicating that the user is NOT required to provide a submitted value for this input component. |
pattern | no | true | java.lang.String | The HTML5 pattern attribute specifies a regular expression against which the control's value, or, when the multiple attribute applies and is set, the control's values, are to be checked. Alternatively, the Mojarra HTML5 'pattern' passthrough attribute may also be used with this component. |
placeholder | no | true | java.lang.String | The HTML5 placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry when the input element has no value. Alternatively, the Mojarra HTML5 'placeholder' passthrough attribute may also be used with this component. |
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'. |
redisplay | no | true | boolean | If false, the component will not redisplay its value when the page reloads. The main purpose of this attribute is to be used when the 'secret' attribute is set to true, to avoid redisplaying the secret input. Default = 'true'. |
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. |
results | no | true | int | Magnifying glass for webkit used to show last three searches on a search field. Alternatively, the Mojarra HTML5 'results' passthrough attribute may also be used with this component. Default = '3'. |
rows | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
secret | no | true | boolean | If true, when the user types a string into this field, a row of asterisks will be displayed instead of the text the user typed. Default = 'false'. |
size | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
step | no | true | int | The HTML5 step attributeto increase/decrease the value of the number input. Requires min and max atribute. Applicable only to type "number". Alternatively, the Mojarra HTML5 'step' passthrough attribute may also be used with this component. Default = 'Integer.MIN_VALUE'. |
style | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
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 | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
title | no | true | java.lang.String | Renders the provided value as an HTML attribute with the same name on the root element of the component. |
type | no | true | java.lang.String | The HTML5 type attribute for the input element. Currently supports text, phone, url, email, number, date, time, datetime. Depending on browser and/or device capability, a type-specific keyboard may be displayed and various other attributes may apply for the html5 input element. It is up to the developer to ensure that the browsers and devices they are targetting are supported properly. Alternatively, the Mojarra HTML5 'type' passthrough attribute may also be used with this component. Default = 'text'. |
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". |