You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/13 17:11:19 UTC

[jira] [Closed] (TAP5-286) Add the possibility (as an option) for all generated URL to include the domain and context

     [ https://issues.apache.org/jira/browse/TAP5-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade closed TAP5-286.
-------------------------------

    Resolution: Not a Problem

Another year has passed since the last comment. Therefore, we assume this issue has either been resolved in the meantime or it is no longer relevant to you.
If recent versions of Tapestry (i.e. 5.4 betas and 5.3.7) are still affected, please reopen the issue and adjust the "Affected Version/s" property.

> Add the possibility (as an option) for all generated URL to include the domain and context
> ------------------------------------------------------------------------------------------
>
>                 Key: TAP5-286
>                 URL: https://issues.apache.org/jira/browse/TAP5-286
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.16
>            Reporter: Martin Papy
>              Labels: bulk-close-candidate
>
> Now that we have the possibility to access the Dom and manipulate it easily, we can use Tapestry to generate email based on Page Rendering... But Tapestry generate only absolute URL ( without http://mydomain.com/context/ ).
> For the moment I do this in the cleanupRender phase :
> String mailBody  = writer.getDocument().getRootElement.toString();
> And I send the result by mail.
> It would be very useful if we could tell Tapestry -maybe with a special Annotation- that we want for a particular Page/Component all URL / Link to pages / Link to Assets (and so on) to be fully qualified ( ie not /assets/xxxx/yyy.jpg but http(s)://domain.com/context/assets/xxxx/yyy.jpg )



--
This message was sent by Atlassian JIRA
(v6.2#6252)