cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominic Mitchell <...@happygiraffe.net>
Subject Re: Where are {defaults:} set in cocoon 2.2
Date Sun, 27 Sep 2009 05:37:21 GMT
On Sat, Sep 26, 2009 at 7:06 PM, Steven D. Majewski <sdm7g@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

Mime
View raw message