From: Alex Twisleton-Wykeham-F. <al...@fi...> - 2005-03-11 15:52:08
|
On Friday 11 March 2005 15:43, Marc Palmer wrote: > Alex Twisleton-Wykeham-Fiennes wrote: > > Last message (promise) :-) > > > > Here is a more efficient implementation:- > > Thanks for this. I'm trying it out now but not having any luck, I get: > > 15:38:43 resource WARNING BrokerTemplateProvider: Template not found: > string: > My webmacro.properties has: > > TemplateLoader.string=org.webmacro.resource.StringTemplateLoader > > Providers.template=org.webmacro.resource.DelegatingTemplateProvider > > TemplateLoaderPath.1=string: > TemplateLoaderPath.2=broker: > > Is this correct? I've used your code verbatim apart from I called it > StringTemplateLoader and made the protocol "string:" > > Cheers for the help! Two questions:- 1. what package did you put your StringTemplateLoader class into? 2. what was in the WebMacro template that threw the error? Alex |