Hello everybody,
 
I hope that someone can help me on this.
 
 I have a page that displays information about a particular item. On that page 
there is also an ajax tab panel (from wicket.extensions).
 For every item, the url looks like this: http://mysite?itemId=xxxx-xxxxx. 
After the page expires I want the current page to be refreshed.
 
 After the page expires, and the user clicks on one of the tabs, a page expired 
exception is thrown. I have a custom request cycle, witch extends 
WebRequestCycle, that caches that exception,
 but the problem is that I can not redirect the user to the same page because 
there in my request cycle I am not able to see the parameter
 "itemId". Inside RequstCycle, if I try request.getUrl, I get something like 
this: mypage?wicket:interface=:5:10:::0:&random=0.8618006417527795.
 
 My question is: can I somehow send a parameter(itemId) to the request cycle 
when a page expired exception is thrown?
Or how can I refresh the current page(witch has the itemId as parameter) when 
the user clicks on an ajax link(in this case a tab) 
after the page expired?

Any sugestion will be apreciated.


      

Reply via email to