Exercises
30.3 (Registration Form Modification) Modify the WebComponents application to add functionality to the Register button. When the user clicks Register, validate all input fields to make sure the user has filled out the form completely and entered a valid email address and phone number. Then, display a message indicating successful registration and show the user’s registration information at the bottom of the page. (This is similar to the example in Section 30.7.) You’ll need to create an appropriate bean class to store the user’s registration information.
30.4 (Shopping Cart Application) Using the techniques you learned in Section 30.8.2, create a simple shopping cart application. Display a list of books as an h:selectOneRadio element. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access