[opencms-dev] JSP template and static export link problem

Alexander Kandzior alex at opencms.org
Tue Jun 10 13:22:01 CEST 2003


Hi "TIA blue bluey",

please try the following:

* Create a JSP in your folder that uses the template.
* Place a link on that JSP (not in the template).
* Check if the link on the JSP is expanded correctly, 
  while the link in the JSP Template is not.

Let me know what your results are.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com


> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of blue bluey
> Sent: Tuesday, June 10, 2003 12:52 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] JSP template and static export link problem
> 
> 
> Hi All,
> 
> I'm converting my XML templates to JSP templates as 
> recommended but encounter a problem during publishing static 
> HTML pages or doing a static export with the link tag.
> 
> opencms.properties has been configured to use relative links 
> in export. For a html file /folder1/folder2/file.html XML 
> template uses <LINK>/folder1/folder3/file.b</LINK>
> produces
> "../folder3/file.b" CORRECT
> My JSP template uses:
> 
> "<cms:link>/folder1/folder3/file.b</cms:link>"
> produces
> "../../../../folder1/folder3/file.b" WRONG
> 
> Is this a known bug with the new link tag and if so is there 
> a fix or workaround?
> 
> Should I stick with XML templates and abandon the more 
> flexible JSP templates?
> 
> TIA
> 
> 
> 
> -- 
> _______________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com 
http://www.mail.com/?sr=signup

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list