Mobile Components
Tag inputText

The inputText component renders an input element with HTML5 and Ajax support. This component supports various input types, when supported on the client platform, such as "date", "number" and "email".
Client Events
NameDescriptionSupported classes for argument
blurFired when the inputText component has lost focus.javax.faces.event.AjaxBehaviorEvent
changeFired when the inputText component detects value is changed.javax.faces.event.AjaxBehaviorEvent
Client events can be used with Client Behaviors and the ace:ajax tag.

Tag Information
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

autocapitalizenotruejava.lang.StringCapitalize the first character of the field. Default = 'on'.
autocompletenotruebooleanIf 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. Default = 'false'.
autocorrectnotruejava.lang.StringCorrect spelling errors in the field. Default = 'on'.
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
converternotruejavax.faces.convert.ConverterConverter 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.
converterMessagenotruejava.lang.StringIf present, will be used as the text of the converter message, replacing any message that comes from the converter.
disablednotruebooleanDisables this component, so it does not receive focus or get submitted. Default = 'false'.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
immediatenotruebooleanFlag 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. Default = 'false'.
labelnotruejava.lang.StringThe rendered label for the input field.
maxnotrueintMaximum value, only applicable to type number. Default = 'Integer.MIN_VALUE'.
maxlengthnotrueintThe maximum number of characters that may be entered in this field. Default = 'Integer.MIN_VALUE'.
minnotrueintMinimum value, only applicable to type number. Default = 'Integer.MIN_VALUE'.
patternnotruejava.lang.StringThe 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.
placeholdernotruejava.lang.StringThe 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.
readonlynotruebooleanSets this component to read only, so value cannot be changed. Default = 'false'.
renderednotruebooleanReturn true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
requirednotruebooleanUse and integrate required with jsf. Default = 'false'.
requiredMessagenotruejava.lang.StringIf present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used.
resultsnotrueintMagnifying glass for webkit used to show last three searches on a search field. Default = '3'.
singleSubmitnotruebooleanWhen singleSubmit is "true", triggering an action on this component will submit and execute only this component only (equivalent to ). When singleSubmit is "false", triggering an action on this component will submit and execute the full form that this component is contained within. Default = 'false'.
sizenotrueintThe number of characters used to determine the width of this field. Default = 'Integer.MIN_VALUE'.
stepnotruefloatThe step to increase/decrease the value of the number input. Applicable only to type "number". Default = '1f'.
stylenotruejava.lang.StringSets the CSS style definition to be applied to this component.
styleClassnotruejava.lang.StringSets the CSS class to apply to this component.
tabindexnotruejava.lang.IntegerThe tabindex of this component.
titlenotruejava.lang.StringCan have a title which is like tooltip.
typenotruejava.lang.StringThe type attribute for the input element. Currently supports text, textarea, phone, url, email, number, date, time, datetime. Depending on device capability, a type-specific keyboard may be displayed. Default = 'text'.
validatornotruejavax.el.MethodExpressionMethodExpression 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.
validatorMessagenotruejava.lang.StringIf present, will be used as the text of the validator message, replacing any message that comes from the validator.
valuenotruejava.lang.ObjectValue of the component.
valueChangeListenernotruejavax.el.MethodExpressionMethodExpression 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".

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.