Hi guys, I need consultation.
I have written simple page eviction strategy, which holds *just one page*per
browser tab (with JS help). It works fine until I add wicket ajax timer
behaviour to all our pages and user redirect to another page(by code or
click) in the same moment when timer ajax is about to be processed at
server...In that moment I need to hold at least two pages at
server...Current page A with ajax timer and redirected B also with ajax
timer, because ajax timer needs to have page at server...
Problem:
1) In the IDataStoreEvictionStrategy implementation, do I have any chance of
getting the information that oldest page from PageTable is currently
referenced by queued ajax request at server? Because I need to leave that
page in the session...
2) For now it seems that If all pages in application have ajax timer
behaviour then I need to keep at least last two pages in session...I don't
see any other way, or is it?
thanks in advance
Tomas
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Howto-have-just-currently-viewed-page-in-session-tp4671631.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org