tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-tapestry Wiki] Update of "FrequentlyAskedQuestions/LogoutLink" by Xrm0
Date Tue, 06 Sep 2005 20:12:55 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change
notification.

The following page has been changed by Xrm0:
http://wiki.apache.org/jakarta-tapestry/FrequentlyAskedQuestions/LogoutLink

The comment on the change is:
the code for the logout listerner does not compute with tapestry 3.0.3

------------------------------------------------------------------------------
  public void logout(IRequestCycle cycle)
  {
      IEngineServiceView engine = (IEngineServiceView)getEngine();
+     try {
-     engine.restart();
+         engine.restart(cycle);
+     } catch (IOException e) {
+         // do something
+     }
  }
  }}}
   ''Thanks to Markus Wiederkehr for pointing out that IEngineServiceView (not IEngine) has
the restart method ''

---------------------------------------------------------------------
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