Hello,
Is there a way to retain the Scroll Position in JSF? I have a page that uses both standard JSF and Tomahawk tags. Everytime the page reloads it jumps to the top.
I used JavaScript as a work around. However, I am wondering if there is a better solution.
Thanks,
Yasmin
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
Not without using a client side language such as Javascript. It is as far the only language which can tell you something about the current scroll position and is able to change it.
JSF runs entirely at the server side and just produces a bunch of HTML. It can't to anything for you here.