- [Instructor] JSF provides two very important tags…for displaying messages to the screen.…You can use either the h:message tag or the h:messages tag…to display, usually, error messages to the screen.…So let's go ahead and create a login page…to show how messages are used.…I'm gonna go ahead and copy one of these files.…I'll just copy the edit file,…and we will change that to a login page.…So just do a right-click on that copy,…and then paste it right back into the same location,…and we'll change that to login, and open that file.…
I'm gonna go into the middle section here…and remove the content inside of form,…so from lines 40 all the way down to…line 75.…Actually, line 71 will remove all of those.…We'll keep the rest.…So in here, I'm gonna go ahead and create two fields…for the username and password.…I'll have here as the outputText…has the value of Username,…and then we'll put the inputText to read the username.…
Id is gonna be called just username,…and the value, I'm gonna leave that blank for now.…Usually, we'll bind this to a bean,…
- 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.