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 <key-prefix> 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.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]