Re: A WM brain bender

Alex Twisleton-Wykeham-Fiennes <[email protected]>
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.