With an input form, users can read and write data from the input
form to the existing data source to which it is connected. The easiest way
to add an input form is to drag a data record to the page. If you haven't
defined your data source yet, you can drag a data record from the Data drawer
of the palette to the input form on the page. If you have defined your data
source, you can drag from the Page Data View.
Follow these steps to create an input form on the Faces JSP page:
- Open the appropriate Faces JSP.
- Open the Data drawer on the palette.
- Drag a data source onto the Faces JSP when you want to place an
input form. A wizard opens and will guide you through the
process of connecting to a data source.
- To add validation to this input field:
- Select the input field.
- In the Properties view for the input component, click the Validation tab.
- Check Value is required to require the
user to enter a value.
- Configure the validation options.