John, something else:
I readded the two lines:
> if (templateName == null)
> templateName = "/default.wm";
and now I can hit my servlet. But as soon as I
try to access a page other than the default start
page, I get this error:
[Wed Sep 13 17:55:15 GMT-04:00 2000] -- ERROR -- Turbine.handleException:
The screen template: 3.1.1.0.wm does not exist.
So the TemplateService could not determine associated templates.
[Wed Sep 13 17:55:15 GMT-04:00 2000] -- ERROR --
Exception: java.lang.Exception: The screen template: 3.1.1.0.wm
does not exist.
So the TemplateService could not determine associated templates.
Stack Trace follows:
java.lang.Exception: The screen template: 3.1.1.0.wm does not exist.
So the TemplateService could not determine associated templates.
at
org.apache.turbine.services.template.TurbineTemplateService.parseScreenTempl
ate(TurbineTemplateService.java:329)
This worked fine yesterday. The template is there, it hasn't changed.
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
> -----Original Message-----
> From: John McNally [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 13, 2000 3:16 PM
> To: Turbine
> Subject: Re: Where is template for "layoutsnull"
>
>
> The // is one problem.
>
> The other is that no layout template was found.
> Can I see your properties file?
>
> ----- Original Message -----
> From: Diethelm Guallar, Gonzalo <[EMAIL PROTECTED]>
> To: 'Turbine' <[EMAIL PROTECTED]>
> Sent: Wednesday, September 13, 2000 10:58 AM
> Subject: Where is template for "layoutsnull"
>
>
> > I'm getting the following error:
> >
> > [Wed Sep 13 13:52:23 GMT-04:00 2000] -- NOTICE --
> Retrieving template for
> > |screens//index.wm|
> > [Wed Sep 13 13:52:24 GMT-04:00 2000] -- NOTICE --
> Retrieving template for
> > |layoutsnull|
> > [Wed Sep 13 13:52:24 GMT-04:00 2000] -- ERROR -- an error
> occurred while
> > rendering template layoutsnull:
> > Resource[template, layoutsnull] not found: Unable to
> resolve requested
> > resource
> > [Wed Sep 13 13:52:24 GMT-04:00 2000] -- ERROR --
> > Exception: org.webmacro.NotFoundException: Resource[template,
> > layoutsnull] not found: Unable to resolve requested resource
> >
> > The two NOTICEs were added by me on TurbineWebMacroService.java:250.
> >
> > What is this layoutsnull? I couldn't find any file with
> > "null" in its name, nor a file that references "layoutsnul".
> >
> > John McNally, could this be related to your latest changes?
> >
> > Thanks,
> >
> >
> > --
> > Gonzalo A. Diethelm
> > [EMAIL PROTECTED]
> >
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search:
> <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?: [EMAIL PROTECTED]
> >
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]