O'Reilly logo

PrimeFaces Cookbook by Mert Çalışkan, Oleg Varaksin

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

The power of the PrimeFaces selectors

PrimeFaces integrates jQuery Selector API (http://api.jquery.com/category/selectors) with the JSF component referencing model. Partial processing and updating of the JSF components can be done by using the jQuery Selector API instead of a regular server-side approach with findComponent(). This feature is called PFS (PrimeFaces Selector API) . PFS provides an alternative, flexible approach to reference components to be processed or updated partially. In comparison to regular referencing, there is less CPU server load because the JSF component tree is not traversed on the server side in order to find client IDs. PFS is implemented on the client side by looking at the DOM tree. Another advantage is avoiding ...

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