[
https://issues.apache.org/jira/browse/TAPESTRY-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536127
]
Massimo Lusetti commented on TAPESTRY-1671:
-------------------------------------------
Yes, using an ActionResponseGenerator as a return object type (or supertype)
for redirecting the user to external link/resource.
It's not even an internal API so i guess contributing an
ExternalLinkActionResponseGenerator it's even better then to use LinkImpl.
All this till some sort of "external link" is implemented or added on top of
current Link API.
I'm using this tecnique toghether with activation page context inside a
distributed web application where every node comnicate with each other trhough
http service calls.
Why you conside this more dangerous then implementing an internal class?
Regards
Massimo
> Need a way to redirect to external URLs.
> ----------------------------------------
>
> Key: TAPESTRY-1671
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1671
> Project: Tapestry
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.0.5
> Reporter: Nick Westgate
>
> The ability to create an ExternalLink to return from event methods for
> redirection is needed.
> ComponentResourcesCommon provides for creation of ActionLink or PageLink
> Links, but not external (non-Tapestry) links.
> The current ways around this are using LinkImpl (which is internal) or
> writing a custom implementation of Link.
> Cheers,
> Nick.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]