cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: OutputModule question/suggestion
Date Fri, 02 Aug 2002 15:48:44 GMT
On 02.Aug.2002 -- 10:42 AM, Andrew Sterling Hanenkamp wrote:
> I'm doing some experimentation/research with the
> input/output/autoincrement modules and I've noted that the output
> modules prefix all attributes set with either the setting in
> "key-prefix" or the string
> "org.apache.cocoon.components.modules.output.OutputModule" and a colon.
> The JavaDoc states the reason as:
> Configuration option &lt;key-prefix&gt; defaults to
>  * "org.apache.cocoon.components.modules.output.OutputModule"+":"

> My question is, why is the key-prefix used? 

The reason is to avoid clashes. Ideally, you should prefix all the
request attributes &c. with a fully qualified classname. That's what
the javadoc to request attributes say.

> My suggestion is, can we have the option to turn it off altogether?

Sure. Patch welcome.

C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

View raw message