cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: Input/Output Modules without key-prefix
Date Wed, 12 Mar 2003 13:30:05 GMT
On 12.Mar.2003 -- 03:21 PM, Markus Wolf wrote:
> I'm trying to use the request attribute output module
> without the prefix "org.apache.cocoon.acting.AbstractDatabaseAction:".
> As I read in the ApiDocs there is a setup option key-prefix which
> could be set. I've found a likewise configuration value in the
> modular db sample.
> It isn't in the cocoon.xconf by default, because if is is not listed
> there the default (as mentioned above) is taken.
> Here is a short example of my xconf setting:
> <output-modules>
>   <component-instance
> class="org.apache.cocoon.components.modules.output.RequestAttributeOutputModule"
> logger="core.modules.output" name="request-attr">
>     <key-prefix />
>   </component-instance>
> </output-modules>
> 
> This result in the exception I stated above. When I insert e.g. test as
> key-prefix value everythink seems to work right and I'll get "test:" as
> prefix for my request attributes.
> 
> So what I exactly want is no prefix and this isn't possible because of the
> avalon configuration used here.
> Any idea?

you could try to write <key-prefix></key-prefix>
or update to latest CVS version. Just checked in a fix.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message