On Thu, 27 Jul 2000, fanyun wrote:
> Hi,
>
> My application want to have such a feature
>
> 1. I write several *.wm file and the related java class.I call this function unit.
> 2. In some way, I config another *.wm page that will integrade some of the function
>unit into that page
>
1. Add your package to TurbineResources.properties
module.packages=com.domain.modules
2. Create the corresponding directory structure
for your class files.
${TOMCAT_HOME}/webapps/app/WEB-INF/classes/com/domain/modules/screens
3. In your screens directory make a Default.{java,class}. All
your WM templates will map to this class. If you want
specific behaviour for a WM templates then make a class
that matches the template name (HomePage.wm -> HomePage.class)
jvz.
--
Jason van Zyl
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]