You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Rob Dennett <ro...@tmit1.org> on 2005/09/10 00:18:10 UTC

Newbie:What is ExternalLink for?

I am trying to understand the difference between the various services, but I am unclear on what ExternalLink is for.  PageLink (and correct me if I am wrong) is for creating a simple hyperlink between pages that performs no additional processing.  DirectLink is used for processing forms.  I would guess that ExternalLink is for creating a hyperlink to an external website, but that doesn’t seem to be the case.  I see that there exists a custom JSP tag that allows pages that are not Tapestry pages but exist within your website to link to Tapestry pages and use the IExternalService to generate the URLs (I think), but why would you need an ExternalLink component?

 

Thanks for your help,

Rob


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.19/92 - Release Date: 9/7/2005
 

Re: Newbie:What is ExternalLink for?

Posted by Robert Zeigler <ro...@scazdl.org>.
DirectLinks are generally for application-internal links. For instance,
a "Remove" link to remove a given item from a list... that's not a link
you would want bookmarked, for example.
External links are basically to support bookmarkable links.
External is referring "links which can be exposed to external places
and still work correctly", such as linking from an e-mail, separate
website, etc. I wrote another message some weeks ago detailing the
various differences between direct link and external link.

Robert

Rob Dennett wrote:
> I am trying to understand the difference between the various services, but I am unclear on what ExternalLink is for.  PageLink (and correct me if I am wrong) is for creating a simple hyperlink between pages that performs no additional processing.  DirectLink is used for processing forms.  I would guess that ExternalLink is for creating a hyperlink to an external website, but that doesn’t seem to be the case.  I see that there exists a custom JSP tag that allows pages that are not Tapestry pages but exist within your website to link to Tapestry pages and use the IExternalService to generate the URLs (I think), but why would you need an ExternalLink component?
> 
>  
> 
> Thanks for your help,
> 
> Rob
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org