Using the inputText component
In this recipe and the next seven recipes, we will describe how to create different input components that allow end users to enter data (such as inputText
), select values and components (such as inputNumber
, inputRange
, inputColor
, and inputDate
), edit text (such as richTextEditor
), and load files (such as inputFile
).
In these eight recipes, a model has been created for you; you can see it by cloning the ADFFacesInputComponents
project from the Git repository.
In this recipe, we will talk about the inputText
component, which is one of the basic input components for entering values; in spite of this, it's so powerful that it can display multiple forms of look and feel based on its attributes. Also, in this simple recipe, we will create a page; inside the page, we will have an ADF form with three inputText
components.
How to do it...
To add the inputText
components, follow the ensuing steps:
First, we need to create a page to host the components as shown in the following...