Carsten Ziegeler wrote:
Vadim Gritsenko wrote:
Sure, it could, but I didn't want to break compatibility. With the scoped module you have to define somehow the scope (global or request).[EMAIL PROTECTED] wrote:
[There are no sample ;-) so] Can it be extension to the RequestAttributeModule, instead of whole additional module (with long name ;-) )?cziegeler 2004/07/22 23:56:37
Modified: src/java/org/apache/cocoon/components/modules/input RequestAttributeModule.java src/webapp/WEB-INF cocoon.xconf Added: src/java/org/apache/cocoon/components/modules/input RequestScopedAttributeModule.java Log: Module to get scoped attributes
We could check for the prefix 'global:' or 'request:' (or something
similar), but this works only unless you have attribute names
that start with this prefix.
Don't you have default scope, if no scope specified? This should make it backward compatible. If syntax allows (there are no samples - so I'm just speculating :-)
Vadim
