public void pageBeginRender(PageEvent event) {
super.pageBeginRender(event); if(getVisit()==null || !getVisit().isLoggedIn()) {
LoginPage loginPage = (LoginPage) getRequestCycle().getPage("Login");
throw new PageRedirectException(loginPage);
} }
The problem is that when I do have a session timeout I get the standard Tapestry exception page indicating an exception has occured instead of going to my login page. What exactly am I do wrong????
thank, scott. --
Scott F. Walter Scott F. Walter Principal Consultant Vivare, Inc.
E: [EMAIL PROTECTED] E: [EMAIL PROTECTED] Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
