As mentioned, the screen HelloWorld class package should be
org.syntricity.modules.screens

<hint>
After you get it working with a screen class, read about the PullModel (
http://jakarta.apache.org/turbine/pullmodel.html ) on the turbine site
before implementing your apps with screen classes.
</hint>

-----------------------------------------------------------------
    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 1:24 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Problem: cannot load screen
> 
> 
> I do in fact have a template located in the templates 
> directory. Turbine is 
> locating the template correctly, but does not seem to be locating the 
> corresponding class (there is nothing in the Velocity 
> context). I've already 
> modified the
> modules.packages var in the tr.props file. I can't seem to 
> figure out why 
> it's not loading the class file. The URL I'm using is simply 
> servlet/<servlet name/template/HelloWorld.vm.
> 
> 
> 
> >From: "Brekke, Jeff" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: "'[EMAIL PROTECTED]'" 
> <[EMAIL PROTECTED]>
> >Subject: RE: Problem: cannot load screen
> >Date: Tue, 19 Jun 2001 13:12:03 -0500
> >
> >The screen template should go in templates/app/screens/HellowWorld.vm
> >
> >Have you used the TDK to generate the application?
> >
> >-----------------------------------------------------------------
> >     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 1:07 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Problem: cannot load screen
> > >
> > >
> > > 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(ScreenLoad
> > > er.java:197)
> > >   at
> > > org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPa
> > > ge.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]
> > >
> >
> >---------------------------------------------------------------------
> >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