From the course: Java EE 8: JavaServer Faces JSF 2.3

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Facelets enhancements

Facelets enhancements

From the course: Java EE 8: JavaServer Faces JSF 2.3

Start my 1-month free trial

Facelets enhancements

- [ Instructor] A whole goodie bag of features, fixes and enhancements have been blasted onto the facelets toolkit. In this video, I'll give you a high level overview of both major and minor features that have been introduced with JSF 2.3. Let's start with the big ones, you can now execute backing bean code from the facelets page using JavaScript. You heard me, now you can execute Java code from JavaScript in your facelets page. So what that means is everything from event handlers, like on click and an error to raw custom JavaScript that you can drop onto a facelets page are now fair game, it gets even better, you can now reverse that and execute JavaScript from within your backing bean code. That means that after defining some custom scripting on your facelets page you can have it triggered as a result of some server side event. Pretty neat. New on the facelets front. We have a component expression framework. Remember…

Contents