From: "Jeremy Quinn" <[EMAIL PROTECTED]> > On Thursday, Dec 19, 2002, at 11:48 Europe/London, Christian Haul wrote:
<snip-to-save-space-and-time /> > > > > which would result is {chain:other-var} being looked up as > > {myxml:/root/section/other-var} and {request-param:other-var} but of > > course {chain:my-var} would turn into {myxml:/root/section/my-var} > > which is not desired here. SimpleMappingMetaModule supports some more > > mapping options if you need it. > > > > Chris. > > > WOW! This stuff is amazing! > And very complicated! Agree. The mapping seems a little complicated to me. Can't we implement it a little different, something like that was proposed by Jeff Turner: <component-instance class="org.apache.cocoon.components.modules.input.ChainMetaModule" logger="core.modules.input" name="chain"> <input-module name="request-param" /> <input-module name="myxml" map-to="/root/section/{0}"/> </component-instance> But of course, there's no much problems to use request parameters like 'root/section/name'. This can cause a little troubles with JavaScript if used as input element names. > Thank you very much for this explanation, I would not have groked that! Yes, we need a more detailed documentation on modules, especially for input modules and their usage in the sitemap. Regards, Konstantin > > regards Jeremy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]