cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: [C2] How to specify own taglib / logic-sheet?
Date Mon, 15 Jan 2001 19:50:47 GMT
On 15.Jan.2001 -- 01:40 PM, Berin Loritsch wrote:
> Torsten Curdt wrote:
> 
> >> alternatively I tried
> > 
> >> 	  <parameter name="href" value="resource:/ch/blah.xsl"/>
> >> 	  <parameter name="href" value="resource://ch/blah.xsl"/>
> >> 	  <parameter name="href" 
> > 
> >> value="resource:/$TOMCAT_HOME/webapps/cocoon/ch/blah.xsl"/>
> >> 	  <parameter name="href" value="file:/ch/blah.xsl"/>
> >> 	  <parameter name="href" value="file://ch/blah.xsl"/>
> > 
> > 
> > try file:///ch/blah.xsl
> 
> C2 has the facility to use relative files.  It is relative to the
> context root.  So you can use the following:
> 
> <parameter name="href" value="ch/blah.xsl"/>
> 
> If there is no protocol selected Cocoon already tried to use the
> file:// protocol.  There was a bug in the implementation that made
> the relative URLs unpredictable.  I have since fixed that bug, so
> you can specify the relative URL and have it portable between
> contexts.

Thanks.

I think my problem was that I didn't have a close enough look at the 
included logicsheet so that I didn't match prefix+tag but only the tag.

OK, now I'll set sail writing logicsheets :-)

		Chris.

Mime
View raw message