After entering a value on the text field and submitting the form, the second page will
be displayed in the browser.
Since we bound the static text component to the same managed bean property
as the text field on the first page, it displayed the user-entered value from the
Adding Additional Components to Our
Now that we have a fully functional, but very basic application, it is time to add
some additional components to it.
Adding Additional Text Fields
We will now add two more text fields for our application, in addition; to capturing
the user's first name, we will now capture his/her middle name and last name
After adding two more text fields for middle name and last name to our application,
setting their label and required attributes as appropriate, we can align the
components by clicking Ctrl on them then right-clicking on one of the components
and selecting Align | Left .