- [Presenter] In this video…we're gonna implement the saveEdit function…to actually save the data to the data list.…As you can see, when we make changes, this form here,…and then when we click the update button on the bottom,…it should save the data to the list.…So let's go back to the IDE and implement this function.…I'm gonna go and open the HPlusSportTeam Java class.…Inside this class,…if you scroll down to right about line 55,…and we're gonna go ahead…and create a function right in here…called saveEdit.…
It's gonna the type of String, saveEdit.…It doesn't take any parameters.…So the nice things about JavaServer Faces is that…because it uses the MVC framework,…so when you bind data directly from the bean to view,…everything just connects automatically…so you don't have to do anything…more than just basically saving that to the object itself.…The saveEdit is very similar to the add.…All the fields are very similar.…The only difference,…or the only thing you wanna check,…is the photo.…
You wanna make sure that the photo…
- 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.