$data no longer needs to be passed to the renderer. TDK app must be out
of date.
-- jt
On Thu, 2002-03-21 at 11:19, Gonzalo A. Diethelm wrote:
> Never mind the database files, I got them already.
>
> I'm having the following problem with the newapp application.
> When I visit /newapp/servlet/newapp, I'm seeing this on the
> browser screen:
>
> $renderer.render("navigations", $data, "/DefaultTop.vm")
> $renderer.render("navigations", $data, "/Menu.vm")
> $renderer.render("screens", $data, $template)
> $renderer.render("navigations", $data, "/DefaultBottom.vm")
>
> and I'm getting these errors on velocity.log (newlines added):
>
> 2002-03-21 12:12:14,506 -
> org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = layouts/Default.vm [line 6,column 10] :
> $page.Title is not a valid reference.
> 2002-03-21 12:12:14,516 -
> org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = layouts/Default.vm [line 13,column 7] :
> $renderer.render("navigations", $data, "/DefaultTop.vm")
> is not a valid reference.
> 2002-03-21 12:12:14,516 -
> org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = layouts/Default.vm [line 18,column 7] :
> $renderer.render("navigations", $data, "/Menu.vm")
> is not a valid reference.
> 2002-03-21 12:12:14,516 -
> org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = layouts/Default.vm [line 21,column 7] :
> $renderer.render("screens", $data, $template)
> is not a valid reference.
> 2002-03-21 12:12:14,516 -
> org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = layouts/Default.vm [line 26,column 7] :
> $renderer.render("navigations", $data, "/DefaultBottom.vm")
> is not a valid reference.
>
> The same log file shows velocity is being properly initialized.
> Any hints?
>
>
> --
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
>
>
> > -----Original Message-----
> > From: Gonzalo A. Diethelm [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 21, 2002 09:12 AM
> > To: Turbine Developers List
> > Subject: RE: T3 app
> >
> >
> > Jason, I believe things are looking Ok. I need one more
> > thing, on the lazy side: could you tar your mysql\data\<turbineDB>
> > directory and send it to me on e-mail, or put it in your
> > web page? Thanks,
> >
> >
> > --
> > Gonzalo A. Diethelm
> > [EMAIL PROTECTED]
> >
> >
> > > -----Original Message-----
> > > From: Gonzalo A. Diethelm [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, March 21, 2002 08:26 AM
> > > To: Turbine Developers List
> > > Subject: RE: T3 app
> > >
> > >
> > > > You can take a deep breath now .... :-)
> > > >
> > > > http://www.apache.org/~jvanzyl/t3-gonzo.tgz
> > > >
> > > > I generated the sample app so you can see the generated files, but I
> > > > removed the jars from the WEB-INF/lib directory to save space.
> > >
> > > Thanks a lot, downloading right now.
> > >
> > >
> > > --
> > > Gonzalo A. Diethelm
> > > [EMAIL PROTECTED]
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[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]>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[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]>