external link component

2008-09-19 Thread Luther Baker
I want to create an external link ... and using the low level html anchor
tag *a href=http://...;X/a* works just fine.

Before doing that though, is there a tapestry component I should use
instead? I'm not sure what the convention is here.

It seems that pageLink is strictly for internal or application specific
links and I'm not sure actionLlink would be appropriate either. I didn't
come across any other component that looked appropriate in this case so just
looking for a suggestion or push in the correct direction.

Thanks in advance,

-Luther


Re: external link component

2008-09-19 Thread Ulrich Stärk
Indeed ActionLink and PageLink are for use within your application only. The rest depends on your 
use case. If you want to link to another web page with a static URL I'd just put that in static 
html. If you want to compute the URL using some field values or such, try the Any component. For 
example a t:type=any t:id=someId href=http://foo.bar.org/${someField};foo/a.


Cheers,

Uli

Luther Baker schrieb:

I want to create an external link ... and using the low level html anchor
tag *a href=http://...;X/a* works just fine.

Before doing that though, is there a tapestry component I should use
instead? I'm not sure what the convention is here.

It seems that pageLink is strictly for internal or application specific
links and I'm not sure actionLlink would be appropriate either. I didn't
come across any other component that looked appropriate in this case so just
looking for a suggestion or push in the correct direction.

Thanks in advance,

-Luther




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]