webtier@glassfish.java.net

Want to Jump to the Bottom of very large page of JSF while clicking a link

From: <webtier_at_javadesktop.org>
Date: Mon, 25 May 2009 06:16:01 PDT

Hi all,

I am developing a JSF application. Sometimes it happens that the page is too long, and if the user presses the link, located at the bottom of the page, then the page refreshes and control goes to the top of the page. So the user can't get that what happened in the last click.

for example, if the user clicks on the link, which opens panel below that link, to fill some information, then after clicking the link, the control goes to the top of the same page rather than at the bottom. In that case the user can't get that what happened in last click. And if he/she wants to know, then they should scroll down again to the bottom.

So, if I want to move the control to the bottom, or at any desired place, of the same page, then how can I do this?

I know that, in simple HTML if we give #idOfComponent after the src in a link, then it works fine. Even I tried it in my JSF application, but didn't get success.

Any suggestions will be appreciated.

Thanks in advance,
JSF GEEKS
[Message sent by forum member 'jsfgeeks' (jsfgeeks)]

http://forums.java.net/jive/thread.jspa?messageID=347548