You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Simon Hürlimann (IMSEC)" <si...@imsec.ch> on 2003/07/22 19:27:06 UTC

Where to put custom actions?

Hi

[Please CC me, I'm not on the list]

I want to use a custom action written by me. Where do I have to put the class 
file, so that it gets found by cocoon?
The class is in a package called adron and the class name is AdronNextAction.
Here's an excert from my sitemap:

    <map:actions>
      <map:action name="formNext" src="adron.AdronNextAction"/>
    </map:actions>

Thanx
Simon


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


Re: Where to put custom actions?

Posted by David Kavanagh <da...@dotech.com>.
You can put that in the WEB-INF/classes directory where cocoon is 
running or package it in a jar and drop it in WEB-INF/lib where cocoon 
is running.

David

Simon Hürlimann (IMSEC) wrote:

>Hi
>
>[Please CC me, I'm not on the list]
>
>I want to use a custom action written by me. Where do I have to put the class 
>file, so that it gets found by cocoon?
>The class is in a package called adron and the class name is AdronNextAction.
>Here's an excert from my sitemap:
>
>    <map:actions>
>      <map:action name="formNext" src="adron.AdronNextAction"/>
>    </map:actions>
>
>Thanx
>Simon
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>  
>



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