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]