- [ Narrator] Form validation is a crucial…and necessary step to ensure…that any data entered into a form…are maintained and they are correct.…But most importantly it's one of the first lines of defense…to prevent any malicious code being entered…in to your application.…And there are a couple of ways to do that,…so there are front end and a back end process.…And this application, we're gonna do,…just do a really simple form validation…using a front end.…So let's open the ad form…and provide some validation into the form itself.…
Some of these fields are gonna be required,…for example, the first name last name…and perhaps the title,…they're all required.…So let's just do that first.…Let me turn on the word wrap first.…Okay, so for this line 46,…I'm going to issue the required attribute.…We'll set that with true…to make sure that this field is required.…We're also wanted to supply a custom message…to just say…first name is required.…
Then right, the next line,…I'm gonna add another tag called the message tag…for the first name…
- Setting up JSF
- JSF class creation
- Preparing lists of data
- Configuring source files
- Building UI components
- Building interface menus
- Displaying data-bound table components
- Adding, viewing, updating, and deleting data
- Displaying messages and message tags
- Validating data in a form
- Setting session attributions
- Authenticating permissions across JSF pages
Skill Level Intermediate
Java EE: Servlets and JavaServer Pages (JSP)with Ketkee Aryamane6h 14m Intermediate
Java Persistence API (JPA): 1 The Basicswith Kesha Williams1h 31m Intermediate
1. Setting Up the JSF Application
2. Configuring the Front End
3. Performing CRUD Operations
4. Localized Messages and Form Validation
5. Session Management and Authentication
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.