cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: using global variables in subsitemaps
Date Fri, 05 Sep 2003 11:55:03 GMT
Hi Roman,

this might be a bug in 2.1M1 - I tested it with 2.1.1 and it
worked (it should also work with 2.1 final I guess).

HTH
Carsten

Roman Fleischer wrote
>
> hi,
> I´m using cocoon 2.1M1 with Win2000.
> I defined some global Variables in my root-sitemap like:
>
> <map:component-configurations>
>   <global-variables>
>     <conductor-serverdomain>141.222.121.13</conductor-serverdomain>
>   </global-variables>
> </map:component-configurations>
>
> When I try to access this variable in my subsitemap, I can do it
> only when I
> call it in a matcher directly like:
> <map:match pattern="catalogList">
>   <map:generate
> src="http://{global:conductor-serverdomain}/test?cmd=catalogList&a
> mp;output=
> xml" type="file"/>
>   <map:serialize type="xml"/>
> </map:match>
>
> Using the variables in matchers which use cocoon:/ seems not to
> be possible.
> <map:match pattern="smallCatalog">
>   <map:generate src="cocoon:/catalogList" type="file"/>
>   <map:transform type="xslt" src="smallCatalog.xsl"/>
>   <map:serialize type="xml"/>
> </map:match>
>
> This matcher does not work - why?
> Can anybody help?
> thanks,
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message