cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: Setting up Selectors...
Date Wed, 06 Oct 2004 14:22:12 GMT
On Wednesday 06 October 2004 19:56, Vadim Gritsenko wrote:

> IIRC, roles file entries are just a convinience, you can do without them
> completely; components are declared in the cocoon.xconf file:
>
>    <image-operation>
>      <scale/>
>      <convolve/>
>    </image-operation>
>
> Or without roles file:
>
>    <component
> role="org.apache.cocoon.reading.imageop.ImageOperationSelector"
> class="org.apache.cocoon.components.ExtendedComponentSelector"
> <component-instance name="scale"
>        class="org.apache.cocoon.reading.imageop.ScaleOperation"/>
>      etc
>    </component>

Thanks, so in the Block scenario I declare the above in a imageop.xconf file? 
Or is that for something else?

Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


Mime
View raw message