<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2>Hello!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2>Felix Hoßfeld</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=109371110-22112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>On
Behalf Of </B>Manoj Kumar Konakalla<BR><B>Sent:</B> Tuesday, November 22, 2005
11:08 AM<BR><B>To:</B> The OpenCms mailing list<BR><B>Subject:</B> [opencms-dev]
generating the external links<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi, </DIV>
<DIV> </DIV>
<DIV>I need to generate the external links through my java/jsp program. Anybody
is having an example to do so? </DIV>
<DIV> </DIV>
<DIV>In CmsLink constructor, can you tell me the valid values for type?<PRE>public <B>CmsLink</B>(java.lang.String name,
java.lang.String type,
java.lang.String uri,
boolean internal)</PRE><PRE>if you pass "false" for internal, will it create the external link in system/galleries/externallinks?</PRE><PRE>Thanks<BR>Manoj</PRE><PRE> </PRE><PRE> </PRE></DIV></BODY></HTML>