Hi,
--- David Sean Taylor <[EMAIL PROTECTED]> wrote:
> > 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.
OK. I was alright with 1.3a1, we had both velocity and JSP based
portlets - and the core Jetspeed framework seemed to be all JSP back
then.
Its the core framework I am having a problem with - it is using JSP
initially - but then switching to velocity after clicking the "Create
New User" button - as if some of that code is specifying a velocity
template, overriding the default JSP behaviour.
>
> > 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 have the same setting.
> 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
>
Both of these are on too.
> If you don't specify an extension, the templating service has a
> default
> extension:
>
> services.TemplateService.default.extension=jsp
Got this setting.
>
> Thus
>
> template.homepage=/Home
>
> will use the JSP version of Home
>
Got this too.
I just upgraded to the latest CVS (Monday midday-ish) and I am
getting pretty much the same problem - except that the secret key
stuff is now turned off by default.
Oh well, back to trying to get VAJ to load the code... to track down
jetspeeds confusion over JSP and velocity...
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]