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 ...

Get PrimeFaces Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.