You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Schröder <Pe...@freenet-ag.de> on 2007/02/08 09:40:37 UTC
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:zhangyongfa@cyberobject.com]
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:dtabuenc@gmail.com]
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 <zh...@cyberobject.com> 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:dtabuenc@gmail.com]
> 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 <zh...@cyberobject.com> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
AW: handling logout
Posted by Holger Stolzenberg <h....@ewerk.com>.
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:Peter.Schroeder@freenet-ag.de]
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:zhangyongfa@cyberobject.com]
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:dtabuenc@gmail.com]
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 <zh...@cyberobject.com> 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:dtabuenc@gmail.com]
> 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 <zh...@cyberobject.com> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org