In this video, learn how to gain control of web page components from within your Java code.
- [Instructor] All the Facelets components we've seen so far…have an honest to goodness java equivalent.…That is, for the input text area component for example,…there is a class that you can instantiate…that will be as good as the Facelets tag…that we've defined on our Facelets page.…What does that even look like?…And why would you want to do that?…Let's revisit our input component page.…In the backing bean let's define our password field like so,…so we have the html input secret…password field being the variable name…let's fix the import, and then we encapsulate.…
Refactor, encapsulate fields,…we want both the getter and the setter…and there.…The HTML input secret class is the java equivalent…to the HHTML input secret tag,…and so it goes for the vast majority…of the available JSF components.…You can instantiate a java equivalent…of most JSF components.…To complete the wiring, we need to define a binding…on the Facelets page.…So we go to our input secret tag on line 13…and the binding attribute, we enter an el expression,…
- Why use JSF?
- How JSF works
- Using managed beans in JSF
- Building a JSF page using Facelets
- Using Ajax support in JSF
- Processing complex data with JSF converters
- Security in JSF
- JSF and third-party component libraries
Skill Level Beginner
1. Web Application Development in JavaEE
2. Build Your First JSF Page
3. Use Managed Beans in JSF
4. Build a JSF Page Using Facelets
5. Use Ajax Support in JSF
6. Process Complex Data with JSF Converters
7. Protect Your Application with JSF Validation
8. Security in JSF
9. Combine JSF with Other Frameworks
- 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.