Premature optimization. Don't try to do this type of stuff unless it is actually a problem. Why not make sure you have applications first and then see if it is actually a problem?
Martijn On Sat, Mar 14, 2009 at 2:40 AM, subbu_tce <subramanian.mur...@gmail.com> wrote: > > I mean two different wicket applications running in the same JVM.. > > And i launch the first wicket application in a window.. i navigate among > different pages in the first wicket application. now since i have navigated > through different pages, i understand that multiple versions of the pages > would have been maintained in page maps. > > Now i navigate to the second wicket application from the first wicket > application. From the second wicket application, i might never navigate back > to the first wicket application. so i would need to clean up everything that > would be maintained in session with respect to the first wicket application > when i navigate to the second application. thatz y i was wondering whether > any hooks are there for the same. > > > Johan Compagner wrote: >> >> do you mean multiply wicket applications on the same host? >> (just like our example?) >> >> then yes you have a pagemap set per wicket app in your session (prefixed >> with the wicket app name) >> >> There are no such hooks because a wicket app 1 is independent on wicket >> app >> 2, they should be isolated. >> (they could be in 1 context like exampels but also could be under >> different >> contexts) >> >> Why do you want to clean up pagemaps.. A pagemap only holds they active >> page >> and nothing more. >> What you can do is destroy the session on a logout button, but i guess you >> cant invalidate the http session if it is shared over multiply apps... >> >> johan >> >> >> >> On Fri, Mar 13, 2009 at 00:58, subbu_tce >> <subramanian.mur...@gmail.com>wrote: >> >>> >>> I understand that wicket maintains page maps by windows / tabs opened. >>> >>> If the user navigates to pages in multiple wicket applications in the >>> same >>> window, how are the page maps maintained? >>> >>> Will a new page map be created / maintained for every wicket application >>> navigated in the same window? >>> >>> And does wicket provide any hook points to clean up page maps when a user >>> navigates to different applications with in the same window? >>> >>> Thanks, >>> Subbu. >>> -- >>> View this message in context: >>> http://www.nabble.com/Managing-Pagemaps-tp22487669p22487669.html >>> Sent from the Wicket - User 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 >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Managing-Pagemaps-tp22487669p22508300.html > Sent from the Wicket - User 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 > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org