You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stony Zhang <zh...@cyberobject.com> on 2007/02/08 04:48:42 UTC

How to link to another website

Hello,

         I want to a link to another website. Anyone can tell me how to do
it?

Thanks you in advance!

 

Yours Stony


RE: How to link to another website

Posted by Stony Zhang <zh...@cyberobject.com>.
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


Re: How to link to another website

Posted by Daniel Tabuenca <dt...@gmail.com>.
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


RE: How to link to another website

Posted by Stony Zhang <zh...@cyberobject.com>.
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


Re: How to link to another website

Posted by Daniel Tabuenca <dt...@gmail.com>.
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