We do the same thing Holger does. Some code, below. By the way, I heard a rumor that if you implement SSO via CAS, there's no logout function. Has anyone had any experience with that?
@InjectObject("engine-service:restart") public abstract IEngineService getRestartService(); /** * Perform logout tasks. * @return the tasks. */ public ILink logout() { LOG.debug("User " + getUser() + " is logging out."); return getRestartService().getLink(false, null); } -----Original Message----- From: Holger Stolzenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 4:13 AM To: Tapestry users Subject: AW: handling logout My logout button is calling a listener method. The listener is returning ILink. In this listener method I am doing logout specific actions and after that I am returning the link to the restart service. -----Ursprüngliche Nachricht----- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 8. Februar 2007 09:41 An: Tapestry users Betreff: handling logout hi there what is the default way in tapestry 4 to lougout a user? is it enough to destroy servlet-session or should one use the reset-service to do that? kind regards, peter -----Ursprüngliche Nachricht----- Von: Stony Zhang [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 8. Februar 2007 07:13 An: 'Tapestry users' Betreff: RE: How to link to another website Thanks a lot. I have done that with @Any... -----Original Message----- From: Daniel Tabuenca [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 1:11 PM To: Tapestry users Subject: Re: How to link to another website Like I said, if you need to generate the url use @GenericLink. Also, keep in mind that you can add dynamic content to any tag using the @Any component. For example: <a jwcid="@Any" href="ognl:weburl">CLiCK ME</a> On 2/7/07, Stony Zhang <[EMAIL PROTECTED]> wrote: > Thanks Daniel, > But "WEBSITE_URL" need be got in server side. > and I can't use ognl:weburl to do that. > > Best wishes, > Stony > > -----Original Message----- > From: Daniel Tabuenca [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 08, 2007 11:53 AM > To: Tapestry users > Subject: Re: How to link to another website > > You mean to another non-tapestry website? You just do <a > href="WEBSITE_URL"> </a> > > If you don't want to use a static URL in your template then you could > also use the @GenericLink component. > On 2/7/07, Stony Zhang <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I want to a link to another website. Anyone can tell me how > > to do > > it? > > > > Thanks you in advance! > > > > > > > > Yours Stony > > > > > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]