[opencms-dev] generating absolute path (with http://) using cms:link

Paul-Inge Flakstad flakstad at npolar.no
Mon Nov 24 13:54:35 CET 2014


Hi Tom,

This is probably what you're looking for:

org.opencms.main.OpenCms.getLinkManager().getOnlineLink(myCmsObject, myResourcePath);

(I'm sure there's an EL equivalent, but can't help you there.)

Also, see the link manager's other methods: http://files.opencms.org/javadoc/core/org/opencms/staticexport/CmsLinkManager.html

Cheers,
Paul

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tom Wolf
Sent: 24. november 2014 13:13
To: opencms-dev at opencms.org
Subject: [opencms-dev] generating absolute path (with http://) using cms:link

Hi all,

Is this possible? or should I create my own
CmsJspTagLink<http://files.opencms.org/javadoc/core/org/opencms/jsp/CmsJspTagLink.html> extension?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20141124/c1f282f1/attachment.htm>


More information about the opencms-dev mailing list