The answer for my qustion is:
[code]
<c:set var="query">SELECT * FROM mgnl:page WHERE jcr:path LIKE 
'${content.link}/%/'</c:set>
<c:set var="results" value="${cmsfn:search('website',query, 'sql', 
'mgnl:page')}"/>
<c:forEach var="resultNode" items="${results}">
<c:set var="resultContent" value="${cmsfn:asContentMap(resultNode)}"/>
<a href="${cmsfn:link(resultContent)}">${resultContent.title}</a>
</c:forEach>
[/code]

Where ${content.link} contains the external link, which was selected in the 
dialog.

This solution is worked an good for me.
Advices are welcome!

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=7c99f758-2719-40c1-8995-8f1f187d2107


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