You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Programozás <pr...@hotmail.com> on 2004/01/25 21:06:36 UTC
directlink
Hello,
I'd like to include a link in a generated e-mail which includes a DirectLink component.
How can I do this?
(The mail is used at registration, the user can click on the link to confirm the registration.)
Thanks,
Norbi
Re: directlink
Posted by Marilen Corciovei <le...@nemesisit.rdsnet.ro>.
ExternalService service =
(ExternalService)getPage().getEngine().getService("external");
ILink link = service.getLink(getPage().getRequestCycle(),this,new
Object[]{"destpage",getPage().getPageName()});
return link.getURL();
Marilen Aretius Corciovei
mobile: +40-721253015
web presence
Re: directlink
Posted by Programozás <pr...@hotmail.com>.
Thanks for this tip!
How can I get the URL from the service in a listener method?
Can someone provide some code? (even pseudo)
Thank you,
Norbi
----- Original Message -----
From: "Darren Foltinek" <da...@frontrange.ca>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Sunday, January 25, 2004 9:34 PM
Subject: Re: directlink
> I would suggest making the email include a link to an ExternalService.
>
> Your registration confirmation page then needs to implement
> org.apache.tapestry.IExternalPage.
>
> As far as I know, that is the way for external sources to reference
> Tapestry pages.
>
> -- Darren
>
>
> >I'd like to include a link in a generated e-mail which includes a
> >DirectLink component.
> >How can I do this?
> >(The mail is used at registration, the user can click on the link to
> >confirm the registration.)
> >
> >Thanks,
> >Norbi
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: directlink
Posted by Darren Foltinek <da...@frontrange.ca>.
I would suggest making the email include a link to an ExternalService.
Your registration confirmation page then needs to implement
org.apache.tapestry.IExternalPage.
As far as I know, that is the way for external sources to reference
Tapestry pages.
-- Darren
>I'd like to include a link in a generated e-mail which includes a
>DirectLink component.
>How can I do this?
>(The mail is used at registration, the user can click on the link to
>confirm the registration.)
>
>Thanks,
>Norbi
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org