Hi Axel
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 11. Juni 2001 13:26
> An: [EMAIL PROTECTED]
> Betreff: C2: Java class as transformer
>
>
> Hi,
> I am using version 2.0a7 and want to add my own transformer
> which is a java
> class (extending AbstractTransformer). The problems arising are:
>
> 1) Where do I have to add the transformer name and class
> name? Only in the
> sitemap file or also in the cocoon.xconf (and how would it
> look like in
> cocoon.xconf)?
Just add it in the sitemap.map under <map:transformers>.
Felix
>
> 2) When I put the class in the package
> org.apache.cocoon.transformation and
> add the appropriate <map:transformer>...line in the sitemap
> all works well
> but in my own package the IllegalAccessException "object ... is not a
> Component" is thrown. Why that?
>
> Any help will be appreciated!
>
> Thanks,
> Axel Guicking
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>