Displays an input field for entering one line of data.
<xp:inputText attributes>content</xp:inputText>
| Property | Description |
|---|---|
| id | Defaults to inputText1, inputText2, and so on. |
| value | Binds the edit box to a data element or other value. |
| Category | Properties |
|---|---|
| accessibility | accesskey, role, tabindex, title |
| basics | attrs, autocomplete, binding, dir, disabled, htmlFilter, htmlFilterIn, id, immediate, lang, loaded, maxlength, multipleSeparator, multipleTrim, password, readonly, redisplay, rendered, rendererType, required, size, type |
| data | converter, defaultValue, disableClientSideValidation, disableModifiedFlag, disableValidators, showReadonlyAsDisabled, validator, validators, value, valueChangeListener, valueChangeListeners |
| dojo | dojoAttributes, dojoType |
| events | onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect |
| styling | disableTheme, style, styleClass, themeId |
<xp:inputText id="inputText1" value="#{document1.subject}"></xp:inputText>
<xp:inputText id="inputText2" value="#{requestScope.subject}"></xp:inputText>