Hello,

I am creating a new set of pages that are a part of an old project but
have a different home page. It's kind of like a sub-site within a
site. The user is required to log in on the sub-site's home page to be
able to access any of those pages. If the user tries to access any of
these pages directly he should be redirected to the sub-site's home
page.

What's the best way to implement/configure the home page for this sub-site?
What kind of exception should each sub-site page throw to trigger
redirection to home page?
How can I verify that an exception was thrown in my test? (Currently I
have a test which calls startPanel(..) which logs an exception if the
user is not logged in, but returns with no errors. So, I have to
verify that the rendered page is what it should be.)

I am basically looking for best practices here.

Thanks,

Alec

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to