Tag - inputText
component-type | be.novelfaces.component.InputText |
renderer-type | be.novelfaces.component.InputTextRenderer |
Name | Type | Description |
---|---|---|
accesskey | java.lang.String | Specifies a keyboard shortcut to access an element |
autocomplete | java.lang.String | The autocomplete attribute specifies whether or not the the input field should have autocomplete enabled. Autocomplete allows the browser to predict the input for a field. When the user starts to type in a field, the browser should display options to fill in the field, based on earlier typed values. Possible values are:
|
autofocus | boolean | The autofocus attribute specifies that the input element should automatically get focus when a page is loaded. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as autofocus="autofocus". |
binding | javax.faces.component.UIComponent | The value binding expression used to wire up this component to a component property of a JavaBean class |
contenteditable | java.lang.String | Specifies if the user is allowed to edit the content or not. Possible values are:
|
contextmenu | java.lang.String | Specifies the context menu for an element. |
converter | javax.faces.convert.Converter | Converter instance registered with this component. |
converterMessage | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter. |
dir | java.lang.String | Specifies the text direction for the content in an element. Possible values are:
|
disabled | boolean | The disabled attribute specifies that an input element should be disabled. A disabled input element is unusable and un-clickable. The disabled attribute can be set to keep a user from using an input element until some other condition has been met (like selecting a checkbox, etc.). Then, a JavaScript is required to remove the disabled value, and make the input element usable. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled". Tip: Disabled form elements will not be submitted. |
draggable | java.lang.String | Specifies whether or not a user is allowed to drag an element (true, false or auto). |
dropzone | java.lang.String | Specifies what happens when dragged items/data is dropped in the element (copy, move, link) |
form | java.lang.String | The form attribute specifies one or more forms the input element belongs to. The value of the form attribute must be the id of the form it belongs to. To refer to more than one form, use a space-separated list. |
hidden | boolean | Specifies that the element is not relevant. Hidden elements are not displayed. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as hidden="hidden". |
id | 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 | boolean | Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
label | java.lang.String | A localized user presentable name for this component. |
lang | java.lang.String | Specifies a language code for the content in an element |
list | java.lang.String | The list attribute refers to a datalist containing predefined options for the input field (see http://www.w3schools.com/html5/tag_datalist.asp for more details). |
maxlength | int | The maximum number of characters that may be entered in this field. |
onblur | java.lang.String | Script to be run when an element loses focus. |
onchange | java.lang.String | Script to be run when an element changes. |
onclick | java.lang.String | Script to be run on a mouse click. |
oncontextmenu | java.lang.String | Script to be run when a context menu is triggered. |
ondblclick | java.lang.String | Script to be run on a mouse double-click. |
ondrag | java.lang.String | Script to be run when an element is dragged. |
ondragend | java.lang.String | Script to be run at the end of a drag operation. |
ondragenter | java.lang.String | Script to be run when an element has been dragged to a valid drop target. |
ondragleave | java.lang.String | Script to be run when an element leaves a valid drop target. |
ondragover | java.lang.String | Script to be run when an element is being dragged over a valid drop target. |
ondragstart | java.lang.String | Script to be run at the start of a drag operation. |
ondrop | java.lang.String | Script to be run when dragged element is being dropped. |
onfocus | java.lang.String | Script to be run when an element gets focus. |
onformchange | java.lang.String | Script to be run when a form changes. |
onforminput | java.lang.String | Script to be run when a form gets user input. |
oninput | java.lang.String | Script to be run when an element gets user input. |
oninvalid | java.lang.String | Script to be run when an element is invalid. |
onkeydown | java.lang.String | Script to be run when a key is pressed. |
onkeypress | java.lang.String | Script to be run when a key is pressed and released. |
onkeyup | java.lang.String | Script to be run when a key is released. |
onmousedown | java.lang.String | Script to be run when a mouse button is pressed. |
onmousemove | java.lang.String | Script to be run when the mouse pointer moves. |
onmouseout | java.lang.String | Script to be run when the mouse pointer moves out of an element. |
onmouseover | java.lang.String | Script to be run when the mouse pointer moves over an element. |
onmouseup | java.lang.String | Script to be run when the mouse pointer moves. |
onmousewheel | java.lang.String | Script to be run when the mouse wheel is being rotated. |
onscroll | java.lang.String | Script to be run when an element's scrollbar is being scrolled. |
onselect | java.lang.String | Script to be run when an element is selected. |
onsubmit | java.lang.String | Script to be run when a form is submitted. |
pattern | java.lang.String | The pattern attribute specifies a pattern used to validate an input field. The pattern is a regular expression. |
placeholder | java.lang.String | Specifies a hint to help users fill out the input field. |
readonly | boolean | The readonly attribute specifies that an input field should be read-only. A read-only field cannot be modified. However, a user can tab to it, highlight it, and copy the text from it. If this attribute is present the field will be read-only. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly". Note: Read-only input fields will not be validated. |
rendered | boolean | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true. |
required | boolean | The required attribute specifies that an input field must be filled out before submitting. If this attribute is present the field will required. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as required="required". |
requiredMessage | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used. |
size | int | The number of characters used to determine the width of this field. |
spellcheck | java.lang.String | Specifies if the element must have its spelling and grammar checked (true or false). |
style | java.lang.String | Specifies an inline style for an element. |
styleClass | 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 | java.lang.String | Specifies the tab order of an element. This value must be an integer between 0 and 32767. |
title | java.lang.String | Specifies extra information about an element |
validator | javax.faces.el.MethodBinding | 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 | java.lang.String | A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator. |
value | java.lang.Object | The current value of this component. |
valueChangeListener | javax.faces.el.MethodBinding | 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 |