usually the tr.props points to [some package]/modules and the view elements
are under there, just as in the turbine source tree.

[some package]/modules/actions
[some package]/modules/navigations
[some package]/modules/screens
[some package]/modules/layouts
[some package]/modules/pages

-----------------------------------------------------------------
    Throw away my code, but never, never throw away my tests.
-----------------------------------------------------------------
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com
-----------------------------------------------------------------



> -----Original Message-----
> From: michael young [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 2:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem: cannot load screen
> 
> 
> Okay,
> 
> Once I located the java class in sub-package "screens", 
> everything works. 
> Why is this? Are there other package requirements like these?
> 
> Michael
> 
> 
> >From: Ian Wallace <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: Problem: cannot load screen
> >Date: Tue, 19 Jun 2001 14:35:04 -0500
> >
> >michael - The screen java class should actually be located in ... 
> >org.syntricity.modules.screens, you need to add a directory 
> for 'screens' 
> >in the
> >package heirarchy, and you would need to do the same under 
> the 'templates' 
> >directory (I think ...)
> >
> >ian
> >
> >michael young wrote:
> > >
> > > I've been having problems loading a very simple screen located at
> > > org.syntricity.modules.HelloWorld. I've place the 
> corresponding class 
> >file
> > > in WEB-INF/classes/org/syntricity/modules/HelloWorld.vm 
> and also have 
> >this
> > > line in my TurbineResources.properties file:
> > > module.packages=org.syntricity.modules,org.apache.turbine.modules
> > >
> > > Is there something else I'm doing wrong?
> > >
> > > Requested Screen not found: HelloWorld
> > >         Turbine looked in the following modules.packages path:
> > >         [org.syntricity.modules, org.apache.turbine.modules]
> > >
> > >         at
> > > 
> >org.apache.turbine.modules.ScreenLoader.getInstance(ScreenLoa
> der.java:197)
> > >         at
> > > 
> >org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultP
> age.java:159
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >
> >--
> >+----------------------------------+
> >  [EMAIL PROTECTED]
> >+----------------------------------+
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to