This is a MyFaces feature called AUTO_SCROLL. You can set it in your web.xml

<context-param>
  <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
  <param-value>true</param-value>
</context-param>

mjovanov wrote:
Hi, we have several Data Table components stacked on the same page; if a user
scrolls down to view one of the Data Tables towards the bottom of the page
and then clicks on its column to perform a sort, the page is refreshed and
he/she is taken back to the top of the page.  I was just wondering if there
is a way to automatically scroll to a component on the page on which the
sort was performed (perhaps using anchors)?


Reply via email to