inputText - Edit Box

Displays an input field for entering one line of data.

Category

Core Controls

Syntax

<xp:inputText attributes>content</xp:inputText>
Table 1. Essential properties
Property Description
id Defaults to inputText1, inputText2, and so on.
value Binds the edit box to a data element or other value.

Usage

At run time, an edit box appears on the page. The user can enter a line of text in the box.

Examples

This Edit Box control is bound to a field on a Domino® form.
<xp:inputText id="inputText1" value="#{document1.subject}"></xp:inputText>
This Edit Box control is bound to a scoped variable.
<xp:inputText id="inputText2" value="#{requestScope.subject}"></xp:inputText>