Thanks everyone. In T4, you can throw redirect-exception, don't think there
is one in T5.

Peter Schröder-2 wrote:
> 
> dont know exactly, but i think you have to throw a redirect-exception
> while you are not using some listener method.
> but that might be T4 way to do it. 
> 
> i like this statement:
>               if (!_user.isLogin()== true)
> 
> very creative!
> 
> -----Ursprüngliche Nachricht-----
> Von: Weisu [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 11. April 2007 08:42
> An: users@tapestry.apache.org
> Betreff: T5:Page navigation
> 
> 
> Hi,
> I have a login page, when user logins, it navigates to next page. How can
> I
> hide the login page when I click the back button from IE. I am using
> onActive() in Login page likes:
> String onActivate()
>       {
>               if (!_user.isLogin()== true) {
>                       return null;
>               }else{
>                       return "Start";
>               }       
>       }
> But it still shows the login page.
> Thanks.
> -- 
> View this message in context:
> http://www.nabble.com/T5%3APage-navigation-tf3557597.html#a9934010
> Sent from the Tapestry - 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3APage-navigation-tf3557597.html#a9950669
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to