Niclas Hedhman wrote:
Sorry for being so dense, and thanks for your patience.

On Wednesday 06 October 2004 19:56, Vadim Gritsenko wrote:


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>


After the above, it doesn't find the Selector either (which was the case earlier).
The Exception occurs in the lookup() of ImageOpReader.compose();


public void compose( ComponentManager man )
throws ComponentException
{
m_OperationSelector = (ComponentSelector) man.lookup( "org.apache.cocoon.reading.imageop.ImageOperationSelector" );
}


and says
Could not find component (key [org.apache.cocoon.reading.imageop.ImageOperationSelector])



The cocoon.xconf now contains;
<!--..... Start configuration from 'imageop' -->
<!-- =============== Image Operations ==================== -->
<image-operations>
<component class="org.apache.cocoon.components.ExtendedComponentSelector" role="org.apache.cocoon.reading.imageop.ImageOperationSelector">

I don't think ecm supports nested selectors. image-operations is a selector, right? And you are nesting another one? Are you sure you need this?


Vadim


<component-instance class="org.apache.cocoon.reading.imageop.ScaleOperation" name="scale"/>

<component-instance class="org.apache.cocoon.reading.imageop.ConvolveOperation" name="convolve"/>
</component>
</image-operations>
<!--..... End configuration from 'imageop' -->
...
Wish I can get this done and out of the door into the Cocoon repo. :o)
Perhaps I should send along the entire block?

Well, meanwhile I guess I add some more funky operations.

Cheers
Niclas

Reply via email to