The intake.xml file should be located in your WEB-INF/conf directory.

For the action, the name of the calls should match the action name.  It
should be located in your modules.actions package.  Make sure that your
setting for module.packages includes the name of your applications,
modules as well as those for turbine.  For exmaple, if your actions are
under com.mycompany.sampleapp.modules.actions, the entry in
TurbineResource.properties should read:

module.packages=com.mycompany.sampleapp.modules,org.apache.turbine.modul
es

For all of the details on how actions work, look at the Velocity Site
how-to and the Action Events how-to.


> -----Original Message-----
> From: Eigen Technology Pty Ltd [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, December 23, 2002 4:42 AM
> To: [EMAIL PROTECTED]
> Subject: Intake Example
> 
> 
> I am learning how to use Intake. I am a bit confused by a 
> couple of things.
> 
> 1. The intake.xml file, I checked in the archive about its 
> location in the file system. Britta Ladwig-Attinger on 28th 
> June 2001 has posted this exact question, but it does not 
> seem to be conclusive. So, where should this file be located? 
> I have uncommented the three fields for Intake in 
> TurbineResrouces.properties, tried adding a intake.xml file 
> under app/WBE-INF/conf and "ant init" again. Don't know what 
> to expect at this stage.
> 
> 2. The Action file used in the Intake howto, where should 
> this file be located? and What should the .java file be 
> named? Should I put it under 
> ./src/java/org/mycompany/medici/modules/actions/  and call it 
> myAction.java ...
> 
> thanks
> michael
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:turbine-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to