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]>

Reply via email to