O'Reilly logo

JSF 2.0 Cookbook by Anghel Leonard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding AJAX support to JSF custom components

In this recipe, we get to the next level and we will create a much complex custom component. Step by step, we will build an image slide viewer with AJAX functionality.

Remember that we will consider the ideas from the previous two recipes to be already known, therefore it is mandatory to read them first!

Getting ready

We have developed this recipe with NetBeans 6.8, JSF 2.0, and GlassFish v3. The JSF 2.0 classes were obtained from the NetBeans JSF 2.0 bundled library. In addition, we have used the Dynamic Faces project, which provides support for JSF 2.0 and extends the JSF lifecycle to work on AJAX requests. You can download this distribution from https://jsf-extensions.dev.java.net/. The Dynamic Faces ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required