[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21353#action_21353
 ] 

Jan Haderka commented on MAGNOLIA-2626:
---------------------------------------

Yes, that's how i'm solving the issue for now - since i have only UUID of the 
content to construct link i'm using LinkUtil to get relative link to "/" and 
then prefix that with defaultBaseUrl. Point is AbsoluteLinkTransformer should 
be able to do that for you.

> Extend AbsoluteLinkTransformer to allow generating links with arbitrary 
> context path
> ------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2626
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2626
>             Project: Magnolia
>          Issue Type: Improvement
>    Affects Versions: 4.0 RC3
>            Reporter: Jan Haderka
>            Assignee: Boris Kraft
>             Fix For: 4.1
>
>
> To generate mail with link back to content one need to create absolute link, 
> but since I'm executing template from within mail command there is no web 
> context defined so AbsoluteLinkTransformer fails. We need a way to allow 
> setting of the context path for the transformer directly and use WebContext 
> to retrieve it only when not set.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to