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

Reply via email to