cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Module Sample
Date Thu, 13 Mar 2003 14:26:55 GMT
On Thu, Mar 13, 2003 at 01:44:37PM +0100, Christian Haul wrote:
> On 13.Mar.2003 -- 11:45 AM, Jeremy Quinn wrote:
> > Hi All
> > 
> > The Modules sample is broken.
> > 
> > It relies on two (missing) input-modules in cocoon.xconf (I believe).
> > 
> > One named 'defaults' the other named 'myxml'.
> 
> the defaults module is superceeded by the xmlfile module.

Is it?  Forrest uses this:

 <component-instance name="defaults"
       class="org.apache.cocoon.components.modules.input.DefaultsMetaModule">
  <values>
    <skin>forrest-site</skin>
    <base-url>/forrest</base-url>
  </values>
 </component-instance>

Can't see how XMLFileModule replaces it. 

> hence i wouldn't add it back. myxml -- don't know.

'myxml' was defined purely for the samples.  It was an XMLFileModule instance,
using some dreamed-up XML:

<forrestconf version="1.0">
  <skin>avalon-tigris</skin>
  <base-url>/mysite</base-url>
</forrestconf>

> > These appear to have been removed from cocoon.xconf a while ago, before 
> > CVS re-factoring (?).
> > 
> > Are these supposed to be set up in a different way now, or shall I put 
> > them back into cocoon.xconf?

I don't know of any other mechanism, so I'd guess their removal was a mistake.

--Jeff


> 
> 	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

Mime
View raw message