Oops. Please ignore previous mail.
It was in relation to Portlets... not in plain JSP.
Mea Culpa.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------


On 4/26/05, Gaurav Vaish <[EMAIL PROTECTED]> wrote:
Hi,

I have a page with DisplayTag Table and Tag Html of Autorefresh. When I
select a particular page of the table (example 3/20), after the start of
the autorefresh, the view return on the first page (1/20). How can I
restore the previous page and restore it ?

  How do you refresh? Just... location.refresh() / location.load() ?

  I'd rather avoid auto-refresh. Since you may not know how the page-URL is being manipulated by the portlet container, I'd avoid refresh - even through meta-tags.

  You may like to, however, do the following:

  1. Have a form with all fields hidden - fields include the page number, data-details etc
  2. After a specified interval, submit the form using _javascript_.

  This is what I prefer over autorefresh.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

Reply via email to