Can you show us page code?
mjovanov wrote:
Thanks for the tip Jeff, I did set AUTO_SCROLL to true but unfortunately it
still doesn't work; it works for a simple examples with hrefs but not in my
case with multiple data tables and sorting.
No error message either; any clues?
Jeff Bischoff wrote:
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)?