cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <>
Subject Re: current status of global input module / variables
Date Thu, 19 Dec 2002 11:21:33 GMT

On Thursday, Dec 19, 2002, at 10:55 Europe/London, Konstantin Piroumian 

> From: "Jeremy Quinn" <>
>> On Thursday, Dec 19, 2002, at 09:14 Europe/London, Konstantin 
>> Piroumian
>>> From: "Geoff Howard" <>


>> Is it possible to use the XMLModule in such a way that values from the
>> XML conf file can be overridden by request parameters?
> Yes, that was the intention for creating the ChainMetaModule. See how 
> it is
> configured in cocoon.xconf and add a similar configuration for your 
> case.

Something like this in cocoon.xconf? :

	logger="core.modules.xml" name="myxml">
         <file src="context://my-conf.xml"/>

	logger="core.modules.input" name="chain">
	     <input-module name="request-param"/>
	     <input-module name="myxml"/>

Then how do you access the variables in the sitemap?
Like this?:

	{chain:/*/my-var} if I want it overridden by request params


	{myxml:/*/myvar} if I do not want an override?

Thanks for your help.

regards Jeremy

To unsubscribe, e-mail:
For additional commands, email:

View raw message