> Which seems to use jsp pages for things like layouts, navigation,
> Login, EditAccount and NewAccount, but uses vm page for
> ConfirmRegistration.
For your templates, your don't have to write them twice.
Turbine has a pluggable template engine, supporting Velocity, JSP, and
Webmacro.
Choose whatever templating engine you prefer and stick with it.
> I am trying to track down what is causing this change of layout, but
> not having much luck so far - so any clues?
The TRP has settings for your template search path.
services.VelocityService.file.resource.loader.path = /WEB-INF/templates/vm
I haven't tried this, there may be some hard-coded dependencies on a
specific templating service, but in theory you can turn off a templating
service by commenting it out:
# Turn on the appropriate template service.
services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspServ
ice
services.VelocityService.classname=org.apache.turbine.services.velocity.Turb
ineVelocityService
If you don't specify an extension, the templating service has a default
extension:
services.TemplateService.default.extension=jsp
Thus
template.homepage=/Home
will use the JSP version of Home
-------------------------------------
David Sean Taylor
[EMAIL PROTECTED]
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------
> -----Original Message-----
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 7:46 AM
> To: [EMAIL PROTECTED]
> Subject: JSP - Velocity - is Jetspeed having an identity crisis?
>
>
> Hi,
>
> I am using the latest jetspeed from CVS (well, yesterday) and working
> with the user stuff.
>
> I am using the default settings (if it aint broke dont meddle...)
>
> Which seems to use jsp pages for things like layouts, navigation,
> Login, EditAccount and NewAccount, but uses vm page for
> ConfirmRegistration.
>
> Ok - not ideal - use one or another and stick to it would be my
> preference - but its working...
>
> ..except that when the confirmation registration screen comes up,
> Jetspeed has switched to using the velocity layouts...
>
> Even less ideal - I don't really want to do my layouts/navigations
> twice - in jsp and velocity...
>
> I am trying to track down what is causing this change of layout, but
> not having much luck so far - so any clues?
>
> Thanks in advance,
> Chris
>
> =====
> Need somewhere to Live in London - http://freeflats.com
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.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]