February 2014
Beginner
1248 pages
62h 25m
English
As we mentioned earlier in this section, when the app receives the initial request, it returns the page shown in Fig. 30.15(a). When a request does not contain any request values, such as those the user enters in a form, the JSF framework simply creates the view and returns it as the response.
The user submits the form to the server by pressing the Submit h:commandButton (defined at line 46). Since we did not specify an action attribute for this h:command-Button, the action is configured by default to perform a postback—the browser re-requests the page index.xhtml and sends the values of the form’s fields to the server for processing. Next, the JSF framework performs the validations of all ...
Read now
Unlock full access