This is a known bug. The developers gotta be tired of
this discussion by now, but alas no fix in the
distribution.
Check out this thread
http://www.mail-archive.com/[email protected]/msg04491.html
They say there is a fix in the archives, but I haven't
found it - haven't looked too hard either.
--- Conway Tse <[EMAIL PROTECTED]> wrote:
> Dear Marco,
> Actually, I have not made any changes to the java
> code yet as java is new to
> me. I was using php before and have no experience in
> java. I have basically
> keep the orginal newapp intact. Are there any way to
> achieve this by
> changing the settings in Turbineresource.properties
> ? Or if you can help me
> by giving more details of your way of handling it.
> Best regards,
> Conway Tse
> ----- Original Message -----
> From: "Marco Schoolenberg"
> <[EMAIL PROTECTED]>
> To: "Turbine Users List"
> <[EMAIL PROTECTED]>
> Sent: Wednesday, November 28, 2001 6:04 PM
> Subject: Re: Layout - Login.vm How to use it ?
>
>
> > I have extended the VelocityNavigation
> > Turbineresource.properties looks like this
> > <snip>
> > # MyNavigations.class extends Velocity navigation
> and rezides in the
> > package
> > # com.********.******.modules.navigations
> >
>
services.VelocityService.default.navigation=MyNavigations
> > services.VelocityService.default.error.screen =
> VelocityErrorScreen
> > services.VelocityService.default.layout.template =
> /My_layout.vm
> > </snip>
> > I have a My_Layout.vm in the templates\Navigations
> dir
> >
> > In your classes you should check in all classes
> you wrote or extend to
> see
> > if somewhere you are using the method setLayout
> and setLayoutTemplate you
> > can and you can check all your .vm's to see if
> anywhere you are setting
> the
> > layout to default.vm again.
> >
> > Gl Marco Schoolenberg
> >
> > ----- Original Message -----
> > From: "Conway Tse" <[EMAIL PROTECTED]>
> > To: "Turbine Users List"
> <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 28, 2001 10:31 AM
> > Subject: Layout - Login.vm How to use it ?
> >
> >
> > > Dear All,
> > > I am trying to start working on Turbine by using
> newapp. Following an
> > > unsuccessful login, the page shows with screen
> which carry the menu.
> > > Apparently, it is using the Layout Default.vm. I
> have been looking at
> > > TurbineResource.properties to see if there is a
> way to change it to use
> > > Layout Login.vm. After a number of attempts, I
> still cannot make it. Can
> > > anybody help ?
> > > Best regards,
> > > Conway Tse
> > >
> > >
> > >
>
_________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at
> http://mail.yahoo.com
> > >
> > >
> > > --
> > > 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]>
>
>
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
=====
"I'm concerned about a better world. I'm concerned about justice; I'm concerned about
brotherhood; I'm concerned about truth. And when one is concerned about that, he can
never advocate violence. For through violence you may murder a murderer, but you can't
murder murder. Through violence you may murder a liar, but you can't establish truth.
Through violence you may murder a hater, but you can't murder hate through violence.
Darkness cannot put out darkness; only light can do that."
-M. L. King, Jr., 16 August 1967
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>