You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Steven D. Majewski" <sd...@virginia.edu> on 2009/09/26 20:06:57 UTC
Where are {defaults:} set in cocoon 2.2
Where are defaults set for the {defaults:} input module, now
that there is no cocoon.xconf ?
-- Steve Majewski / UVA Alderman Library
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Where are {defaults:} set in cocoon 2.2
Posted by Dominic Mitchell <do...@happygiraffe.net>.
On Sat, Sep 26, 2009 at 7:06 PM, Steven D. Majewski <sd...@virginia.edu>wrote:
> Where are defaults set for the {defaults:} input module, now
> that there is no cocoon.xconf ?
>
Looking through the source code, I'd guess that you need to stuff something
like this into src/main/resources/META-INF/cocoon/avalon/defaults.xml:
<components>
<input-modules>
<component-instance
name="defaults"
class="org.apache.cocoon.components.modules.input.DefaultsModule">
<values>
<skin>defaultSkin</skin>
<base-url>http://localhost:8080/cocoon</base-url>
</values>
</component-instance>
</input-modules>
</components>
-Dom