Where are {defaults:} set in cocoon 2.2

2009-09-26 Thread Steven D. Majewski


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-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Where are {defaults:} set in cocoon 2.2

2009-09-26 Thread Dominic Mitchell
On Sat, Sep 26, 2009 at 7:06 PM, Steven D. Majewski sd...@virginia.eduwrote:

 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
skindefaultSkin/skin
base-urlhttp://localhost:8080/cocoon/base-url
  /values
/component-instance
  /input-modules
/components


-Dom