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

blue bluey bluey70 at email.com
Tue Jun 10 14:21:00 CEST 2003


Alex,

followed your steps and results were repeatable for
export.

Note: when previewing offline everything is okay.

Bluey


----- Original Message -----
From: "Alexander Kandzior" <alex at opencms.org>
Date: Tue, 10 Jun 2003 13:11:13 +0200 
To: <opencms-dev at opencms.org>
Subject: RE: [opencms-dev] JSP template and static export link problem

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

-- 
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup




More information about the opencms-dev mailing list