[opencms-dev] Xtags Taglib cant/wont use uri inside OpenCms

Alex ! kingofkingston at hotmail.com
Wed Feb 25 15:16:01 CET 2004


Thans for the reply.

Couple of questions though:

1) Are there any alternative (taglibs or other methods) I could (or should) 
use?
2) Is your suggestion aimed at resolving the uri issue?
3) Is there any documentation where I can look up how to perform the changes 
you suggested?

Many Thanks

Alex


>From: "Alexander Kandzior" <alex at opencms.org>
>Reply-To: opencms-dev at opencms.org
>To: <opencms-dev at opencms.org>
>Subject: RE: [opencms-dev] Xtags Taglib cant/wont use uri inside OpenCms
>Date: Wed, 25 Feb 2004 11:08:27 +0100
>
>This might be an issue with the FlexCache and the <xtags> taglib.
>
>Try the following:
>
>1. Create a property definition for JSP called "stream"
>2. On you JSP in question, attach "stream" with the value "bypass"
>
>This should bypass the FlexCache. However, I not sure if it works if you 
>use
><cms:include> tags on such a page.
>
>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 Alex !
> > Sent: Wednesday, February 25, 2004 4:36 AM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Xtags Taglib cant/wont use uri inside OpenCms
> >
> >
> > I am trying to use Xtags Taglibs from jakarta.apache.org.
> >
> > It works fine outside of OpenCms, but it wont work if I
> > specify the uri for
> > an xml file, but works fine is I specifiy the complete url e.g.
> >
> > <xtags:parse uri="/test/test_xml.xml" /> (wont work)
> > <xtags:parse
> > url="http://localhost/opencms/opencms/test/test_xml.xml" />
> > (does work)
> >
> > also I cant use:
> >
> > <xtags:parse>
> >   <cms:include file="/test/test_xml.xml />
> > </xtags:parse>
> >
> > It generates a "Premature End Of File Error" CmsException.
> > Instead I have to
> > manually include the xml content (i.e. hardcoded)?
> >
> > The main thing is the uri issue though. What is going wrong?
> >
> > (Here is some debug about the uri/context obtained using <cms:info> ):
> > uri: /opencms/opencms/test/test_xml.xml
> > req.uri: /test/test_xml.xml
> > req.element.uri: /test/test_xml.xml
> > req.folder: /test/
> >
> > I've spent hour on this and am baffled???
> >
> >
> > Alex
> >
> > _________________________________________________________________
> > Express yourself with cool new emoticons
> > http://www.msn.co.uk/specials/myemo
> >
> >
> > _______________________________________________
> > 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

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




More information about the opencms-dev mailing list