Either I misinterpreted the comment with instructions on how to use template search path or the comment needs to be more explicit (probably the first one). This directory structure will NOT work:
/WEB-INF/templates/jsp /WEB-INF/templates/jsp2 This WILL work: /WEB-INF/templates/jsp /WEB-INF/mytemplates/jsp It seems that each directory must be in its own root. So I got this to work, but all the customization features quit working (i.e. portlet/profile customization). For now, rather than having multiple template roots I'll just replace the necessary templates. Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.com -----Original Message----- From: Mark Orciuch [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 11:19 AM To: Jetspeed Users List Subject: Template Locator Service search path One of the recent enhacements to template locator service was support for template search path. There was also JSP specific fix relating to this feature. I have created an application specific template directory (WEB-INF/templates/jsp2) containing my custom layouts, navigations, and screens and configured it as follows: TR.props: # This parameter supports a comma separated list of directories # Each directory is searched in order to find a template. # This is useful for example, in defining application specific templates in a separate structure from the jetspeed core templates # Note this needs to be set in 3 places - for the jsp loader and vm loader in TR.p and for the template locator in JR.p services.JspService.templates =/WEB-INF/templates/jsp2,/WEB-INF/templates/jsp JR.props: # This parameter supports a comma separated list of directories # Each directory is searched in order to find a template. # This is useful for example, in defining application specific templates in a separate structure from the jetspeed core templates # Note this needs to be set in 3 places - for the jsp loader and vm loader in TR.p and for the template locator in JR.p services.TemplateLocator.templateRoot=/WEB-INF/templates Jetspeed finds my layouts and navigations but cannot find my screen templates. I have a template HelloWorld.jsp in WEB-INF/templates/jsp2/screens/html and WEB-INF/templates/jsp2/screens/html/en but reference such as http://localhost/jetspeed/portal/template/HelloWorld.jsp produces the following entries in the log: [Fri Jul 26 11:01:26 CDT 2002] -- INFO -- Returning locator string: User:turbine$Page:default.psml$MediaType:html$Language:en [Fri Jul 26 11:01:26 CDT 2002] -- INFO -- Returning locator string: User:turbine$Page:default.psml$MediaType:html [Fri Jul 26 11:01:26 CDT 2002] -- DEBUG -- JetspeedTemplatePage: requested template = HelloWorld.jsp [Fri Jul 26 11:01:26 CDT 2002] -- DEBUG -- JetspeedTemplatePage: calculated template = null I am using CVS head and my default template engine is JSP. Is there anything missing in my configuration or am I misunderstanding the concept. Thank you in advance for any replies. Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.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]>
