Better you use ${cmsfn.link(cmsfn.page(content))} this integrates contextPath.

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Jean-Francois Nadeau (via Magnolia Forums)
Gesendet: Mittwoch, 25. Juli 2012 15:32
An: Magnolia User List
Betreff: [magnolia-user] Re: page object in 4.5.3

[Solved] Now I can make a link to the current page when inside a component with:

<a href="${ctx.contextPath}${model.root.content.@handle}">current page</a>

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=b7869b2d-1a56-40e1-b5c3-d98f74f43ab8


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



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

Reply via email to