For long pages that scroll, ajax updates might be confusing to the users as the updated part may not be visible in viewport. To get the user’s attention, it would be nice to scroll to the updated component. PrimeFaces 3.2 provides a handy utility to implement this;
RequestContext.getCurrentInstance().scrollTo('form:panel');
When the panel component is updated, PrimeFaces will scroll to the component with a smooth animation.
Check out the live demo at PrimeFaces Labs!
Wow, another great additon. PrimeFaces comes to be the perfect framework step by step.
Actually this is a feature with which I have been struggling since the early primefaces 1 (in paginator). Even youtube has this problem when I navigate through the comments.
Personally, I am very grateful for having this included by default =).
Thanks!!!!!