[Wicket-user] sub contexts in wicket
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 /main/buyer /main/media /main/vendor Each sub context had its own space. In wicket is it possible to have multiple sub WebApplications under a primary WebApplication? So when someone logs in they are redirected to a particular WebApplication and WebSession. Thank You, Kurt - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] sub contexts in wicket
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 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 /main/buyer /main/media /main/vendor Each sub context had its own space. In wicket is it possible to have multiple sub WebApplications under a primary WebApplication? So when someone logs in they are redirected to a particular WebApplication and WebSession. Thank You, Kurt - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] sub contexts in wicket
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 manually try a URL they are not supposed to work on. On top of that (if you care for the urls) you can mount packages, and put all the pages for a certain case in their own packages. My 2c, Eelco On 5/9/07, Kurt R. Hoehn [EMAIL PROTECTED] wrote: 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 /main/buyer /main/media /main/vendor Each sub context had its own space. In wicket is it possible to have multiple sub WebApplications under a primary WebApplication? So when someone logs in they are redirected to a particular WebApplication and WebSession. Thank You, Kurt - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user