Hi,

> -----Original Message-----
> From: Mark Orciuch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 12:28 PM
> To: Jetspeed Users List
> Subject: RE: velocity template files path problems
> 
> 
> I am also having problems with this particular feature. I added
> another
> template root located in /jsp folder containing template
> Simple.jsp:
> 
> 1. Modified jr.props:
> services.TemplateLocator.templateRoot=/WEB-INF/templates,/
> 2. Modified tr.props: services.JspService.templates
> =/WEB-INF/templates/jsp,/jsp
> 3. According to debug statements the screen template is found
> (although
> screenJSP is set to /WEB-INF/templates/jsp/screens/Simple.jsp?).
> 4. Got FileNotFoundException: JSP file not found on
> /layouts/html/default.jsp'
> 

I don't know what screenJSP is - I don't normally use JSP.

Is default.jsp your overridden file?

I just made the following config changes:



Index: webapp/WEB-INF/conf/JetspeedResources.properties
===================================================================
< services.TemplateLocator.templateRoot=/WEB-INF/templates
---
>
services.TemplateLocator.templateRoot=/WEB-INF/mytemplates,/WEB-INF/templates

Index: webapp/WEB-INF/conf/TurbineResources.properties
===================================================================
< services.JspService.templates =/WEB-INF/templates/jsp
---
> services.JspService.templates
=/WEB-INF/mytemplates/jsp,/WEB-INF/templates/jsp



and added a custom version of hello.jsp in 

webapp/WEB-INF/mytemplates/jsp/portlets/html/hello.jsp

and it found it ok.


The jetspeed log said it found it in mytemplates directory too.

I think this is working...

Regards,
Chris

=====
------------------------------------------
http://www.soccer2002.org.uk - The Game is On!

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to