[opencms-dev] generating the external links

Hossfeld, Felix Felix.Hossfeld at bonprix.net
Tue Nov 22 11:15:19 CET 2005

You don't need to use CmsLink. CmsLink is used for internal links because the url to an internal ressource is depending on the project you are in, whether you are using the export functions etc. If you are refereing to an external the location is static. Therefore simply put it on the page as a String.
Felix Hoßfeld

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Manoj Kumar Konakalla
Sent: Tuesday, November 22, 2005 11:08 AM
To: The OpenCms mailing list
Subject: [opencms-dev] generating the external links

I need to generate the external links through my java/jsp program. Anybody is having an example to do so? 
In CmsLink constructor, can you tell me the valid values for type?
public CmsLink(java.lang.String name,
               java.lang.String type,
               java.lang.String uri,
               boolean internal)
if you pass "false" for internal, will it create the external link in system/galleries/externallinks?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051122/6bea8b42/attachment.html>

More information about the opencms-dev mailing list