Erando wrote:

> I actually need absolute links as well for my images out of the dms repo. 
> Here's what I've got so far:
> 
> [code]<% String imageDmsUUID = myProperty.getValue().getString(); %>
> <%=  LinkUtil.createAbsoluteLink("dms",imageDmsUUID) %>[/code]
> 
> But I get an URL like this:
> /magnoliaAuthor/dms/myfolder/anotherfolder/windows_8.png
> 
> As you can see this is no absolute path because the server is missing (should 
> be 
> http://myserver.de:8080/magnoliaAuthor/dms/myfolder/anotherfolder/windows_8.png)
> 
> Can you figure out what could be wrong here? Thank you.

As far as I can see nothing is wrong here. What you got is an absolute link. 
Relative links do not start with a slash, absolute ones do. If you need the 
protocol and or server/port bits as well, you'll have to add them yourself.

Nils.

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