if your home page is similar for different roles, you might even make one home page and hide/show different panels/components depending on who is signed in. you can /even/ do that automatically using a security strategy because in wicket you can create panels that are only visible to users having certain roles. the advantage there is that you can stick such panels anywhere and not be concerned that the wrong class of use might ever see them.
igor.vaynberg wrote: > > a couple of ways > > like you said have a dummy homepage, but use restartresponse exception to > redirect to another page > > or override gethomepageclass in application and return a different one > based > on the loggedin user <-- not sure if that will work very well, but worth a > try > > -igor > > > On 2/8/07, Carfield Yim <[EMAIL PROTECTED]> wrote: >> >> I would like to direct difference user to difference homepage, one way >> I can think of is having a dummy homepage and use >> redirectToInterceptPage(arg0) to suitable page in the constructor of >> that dummy homepage. >> >> However wicket fail, can anyone recommend a better solution? >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Wicket-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/-Wicket-user--How-can-I-have-difference-HomePage-for-difference-role--tf3191903.html#a8878758 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
