tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tapestry-...@jakarta.apache.org
Subject [Jakarta Tapestry Wiki] Updated: FrequentlyAskedQuestions/LogoutLink
Date Tue, 08 Jun 2004 14:15:02 GMT
   Date: 2004-06-08T07:15:02
   Editor: 216.120.167.2 <>
   Wiki: Jakarta Tapestry Wiki
   Page: FrequentlyAskedQuestions/LogoutLink
   URL: http://wiki.apache.org/jakarta-tapestry/FrequentlyAskedQuestions/LogoutLink

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -10,6 +10,7 @@
     1. Add listener method public void logout(IRequestCycle cycle) 
     You can use any method name, just keep the signature the same. IRequestCycle is org.apache.tapestry.IRequestCycle
     1. Change page definition (.page) so that your page-specification has class set to your
new class. 
+''NB: IEngine is org.apache.tapestry.IEngine ''
 ----
 
 Inside the listener method, 
@@ -20,6 +21,7 @@
     engine.restart();
 }
 }}}
+
 
 If you look at the source for AbstractEngine, you will see that it invalidates the HttpSession
and redirects the user to the default URL of the servlet. I personally would put any extra
logic required here as it keeps it all in one place.
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message