i have a problem with setting internal links with the FCKEditor. When i try to
add a link to, for example the dms, i get following mutated link expression in
html:
<a
href="${link:{uuid:{8606dd0b-94fb-4d00-abea-6cb5e22a4323},repository:{dms},handle:{/Technical-information/FA-Stabilis_engl},nodeData:{},extension:{pdf}}}">Datenblatt</a>
How can i fix this to get well formed links out of it? Has anyone an idea?
You need to use the link transformer utility to convert these to the
appropriate links
String value = <from your node or content>
final AbsolutePathTransformer transformer =
LinkTransformerManager.getInstance().getAbsolute();
value = LinkUtil.convertLinksFromUUIDPattern( value, transformer );
Rakesh
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------