probably easier to factor out those two pages into panels and have a
single homepage that shows the right panel.

-igor


On Dec 15, 2007 8:44 PM, Cristina <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm working on an app where users and admins will perform mutually exclusive
> use cases. That's quite a common situation. It looks like the simpler
> approach here would be to return one home page with the user menu and
> another one with the admin menu. The choice would be placed in the Login
> page and executed according to the profile of the username that's trying to
> access the app.
>
> At 1st sight, it would demand the inclusion of a method like
> getAdminHomePage() in the class implementing WebApplication. So if
> getHomePage() returns the user home, getAdminHomePage() would return the
> admin home.
>
> Is this approach feasible? Even if it is, would it be a best practice? Are
> there better options available?
>
> Thanks so much,
>
> Cristina
>
> --
> View this message in context: 
> http://www.nabble.com/Two-home-pages--tp14358509p14358509.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to