Dankeschön for this quick help!
I handled it now like this in jsp:

[code]<c:set var="node" value="${cmsfn:asJCRNode(content)}"/>
<%
javax.jcr.Node node = (javax.jcr.Node)pageContext.findAttribute("node");
pageContext.setAttribute("id",node.getIdentifier());
%>
<a href="#${id}"></a>[/code]

In the end an UUID is not too good-looking, but hey it works. I'd be interested 
in the freemarker solution for this as well.
Thanks!

Greetings from Germany.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=a0aceeda-7045-4cdd-8292-f112ec9b4faa


----------------------------------------------------------------
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