cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Chaining order (Re: [VOTE] Input module chaining)
Date Tue, 08 Oct 2002 09:01:51 GMT
On Tue, Oct 08, 2002 at 10:26:42AM +0200, Carsten Ziegeler wrote:
[snip defaulting example]
> >
> Ok, thanks for your help - sorry, I'm jumping into this a little bit
> late, but I have to question this concept.
> As far as I understand this, the chaining is configured in the cocoon.xconf.
> Each Input Module is configured with a "default" input module in the
> case it doesn't know the value for a key, right?

That's how I think it should work, but currently it's a bit different..

Right now, the 'default' module is configured so that when a request
is made to it, it will preferentially use some other module, only
falling back to it's own default values. Here's the definition:

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

So the user would say {default:skin}, and get the 'skin' request
parameter, or if not present, 'defaultSkin'.

IMO this is backwards. The user should use {request:skin}, not

What do people think? Chris?


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

View raw message