cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <ghow...@crosswalk.com>
Subject RE: Steps to add a new transformer
Date Thu, 22 Aug 2002 15:30:32 GMT
- do they sit in WEB-INF/classes or
WEB-INF/classes/org/cast/cocoon/transformation ?
- is the endquote missing in <map:transform type="dyntrax/> also missing in
your sitemap?
- what do the logs in WEB-INF/logs say?

Geoff Howard

-----Original Message-----
From: Chris Wilder-Smith [mailto:chris@Wilder-Smith.org]
Sent: Thursday, August 22, 2002 11:26 AM
To: cocoon-users@xml.apache.org
Subject: Steps to add a new transformer


Hi,

I'm attempting to add a new transformer to cocoon - using 2.0.3.
Unfortunately, I end up with this error when I try to access the pipeline
that uses the new transformer:

UnnamedSelector: ComponentSelector could not find the component for hint:
dyntrax

This seems to be a problem for at least several folks, judging from the
archives, but I haven't seen and explanation or solution.  Interestingly, I
can add a new generator successfully.

The sitemap entries I've been using look like this:

First the transformer

<map:transformer logger="sitemap.transformer.dyntrax" name="dyntrax"
    pool-grow="2" pool-max="32" pool-min="8"
    src="org.cast.cocoon.transformation.DynamicTraxTransformer">
    <use-request-parameters>false</use-request-parameters>
    <use-browser-capabilities-db>false</use-browser-capabilities-db>
    <use-deli>false</use-deli>
</map:transformer>


Then the pipeline, hardcoded for testing


<map:match pattern="cast-d">
    <map:generate src="cast/chapter5_4.xml"/>
    <map:transform type="dyntrax/>
    <map:serialize/>
</map:match>

The classfiles all sit in the WEB-INF/classes directory.

Any advice as to what step I'm missing?  It seems as though there ought to
be some registration step so the component selector can see this new
transformer, but I can't find any reference.  Any help will be appreciated.

Regards,

Chris
--------------------------------------------------------------------- Please
check that your question has not already been answered in the FAQ before
posting. To unsubscribe, e-mail: For additional commands, e-mail: 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message