portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Setera, Craig" <Craig.Set...@Kingland.com>
Subject Patch to JetspeedTemplateLocatorService to allow path list
Date Wed, 08 May 2002 17:44:07 GMT
I'm attaching the promised patch to the JetspeedTemplateLocatorService to
allow a comma-separated list of paths to be specified rather than just the
single one.  I'd appreciate a committer taking a look and then committing
(with any necessary changes).  

In order for this to work, the configuration needs to be updated in two
places:
JR.p
services.TemplateLocator.templateRoot=/WEB-INF/kingland-templates,/WEB-INF/t
emplates
TR.p
services.JspService.templates
=/WEB-INF/kingland-templates/jsp,/WEB-INF/templates/jsp

If you want to "override" a definition, place that directory first in the
list.  Both lists should look the same for this to actually work as
expected, otherwise the template locator may find one file and the JSP
service may find a different file.

Thanks,
Craig
 <<JetspeedTemplateLocatorService_patch.txt>> 
Craig Setera
Sun Certified Java Programmer/Developer/Web Component Developer
Senior Software Architect, Kingland Systems Corporation


Mime
View raw message