cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht" <felix.kne...@payserv.ch>
Subject AW: C2: Java class as transformer
Date Mon, 11 Jun 2001 11:32:34 GMT
Hi Axel

> -----Urspr√ľngliche Nachricht-----
> Von: mail@guicking.de [mailto:mail@guicking.de]
> Gesendet: Montag, 11. Juni 2001 13:26
> An: cocoon-users@xml.apache.org
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message