Chris, There are few differences between our scenarios. First, my new template path is not inside WEB-INF but in /jsp off the webapp root. Second, I am not overriding anything - I have a .jsp which only exists in my new template path. Also, you're using a portlet and I'm using a screen. I will try your settings exactly. Thanks!
BTW: I have posted this as a bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9123 -----Original Message----- From: Chris Kimpton [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 2:34 AM To: Jetspeed Users List; [EMAIL PROTECTED] Subject: RE: velocity template files path problems 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/template s 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
