Inspired by PrimeFaces, BootsFaces implements a couple of powerful search. With the update and process attributes of the AJAX-enabled BootsFaces components. This sample demonstrates the power of PrimeFaces Ajax extensions over JSF implementation client side ajax impl. When PrimeFaces button is used, styles and behaviors are preserved after ajax update however standard JSF update with f:ajax corrupts the page look and feel.
![]() ![]()
Ajax Updates in PrimeFaces Mobile When working on PrimeFaces Mobile, I’ve figured a couple of showstopper mismatch points between jQuery Mobile and JSF in general. One of them is the progressive enhancement jQuery Mobile applies to standard JSF components to optimize them for mobile screens.
This enhancement happens only once during page load and any style/behavior is lost if the component is updated with ajax. PrimeFaces Mobile provides extensions to jQuery Mobile to solve issues like this.
Here is an example. This sample demonstrates the power of PrimeFaces Ajax extensions over JSF implementation client side ajax impl. When PrimeFaces button is used, styles and behaviors are preserved after ajax update however standard JSF update with f:ajax corrupts the page look and feel. You can try this example online. Click the Ajax Updates link.
In summary, this is just one of the things PrimeFaces Mobile handles for you automatically behind the scenes, if plain jQuery Mobile is used with JSF, sure it will work but it will be harder as you will hit annoying issues. PrimeFaces Mobile solves these out of the box!
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |