Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
About the Author
About the Reviewers

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:

  1. First, we need to create a page to host the components as shown in the following...