*/
private Template findTemplate( String name )
{
for (int i = 0; i < paths.length; i++)
{
Template template;
File file = new File(paths[i], name);
//Log.debug("Looking for WebMacro template: path=" + paths[i] +
// ", name=" + name);
if (file.canRead())
{
try
{
template = new FileTemplate
(broker, file,
TurbineWebMacroService.DEFAULT_ENCODING);
template.parse();
return template;
}
catch(Exception e)
{
Log.error