Thanks Gregory. I found the convertLinksFromUUIDPattern method that seems to be what I want. I shall use the cms:out in the JSP pages, but I also have some Page implementations in the admin interface where I will probably need to use the LinkUtil method. I assume that there is no way to get the tag libs into a Page html representation.
Rakesh On 18/12/2009 10:36, "Grégory Joseph" <[email protected]> wrote: Hi Rakesh, From an API standpoint, you should have a look at info.magnolia.link.LinkUtil [1]; if you're in a JSP template, the cms:out tag [2] should do that for you. Cheers, -g [1] http://dev.magnolia-cms.com/ref/latest/apidocs/info/magnolia/link/LinkUtil.html [2] http://dev.magnolia-cms.com/ref/latest//magnolia-taglib-cms/tagreference.html#cms :out On Dec 18, 2009, at 4:46 PM, Rakesh Vidyadharan wrote: > How do you scan for the encoded links within content and replace as > appropriate? I did not see anything in the API docs, but then I > probably missed something obvious. I tried looking into the > FCKEditor module, but did not see anything there either. I want to > make the encoded links (as saved via FCK Editor) appear as their > proper URL (eg. <contentPath>/ucp/books/book/A/bo12345.html) in our > custom JSP templates. > > Thanks > Rakesh > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
