[Wicket-user] sub contexts in wicket

2007-05-09 Thread Kurt R. Hoehn
Hello, In Struts I had an application that had sub contexts under the main context. How it worked was I had a login action that then retrieved the user. The user was associated to a sub context and the application redirected the user to there particular sub context. /main redirect to

Re: [Wicket-user] sub contexts in wicket

2007-05-09 Thread Johan Compagner
there is no such a thing as a sub application But you can have 3 applications (3 wicket filters) one is attached to main and the other 2 to the other paths. johan On 5/9/07, Kurt R. Hoehn [EMAIL PROTECTED] wrote: Hello, In Struts I had an application that had sub contexts under the main

Re: [Wicket-user] sub contexts in wicket

2007-05-09 Thread Eelco Hillenius
That would be thinking in the wrong direction for Wicket. Much better is e.g. to create base pages for the various uses, and implement an authorization strategy accordingly. And by using RestartResponseExceptions in that strategy, you can redirect users to their 'subapp home pages' in case they