Re: TemplateLocation
Keats Kirsch <[email protected]> Fri, 22 Jul 2005 18:19:44 -0400
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
Lars George wrote: > Hi, > > Quick question, this page http://webmacro.org/TemplateProvider says > you can use > > "if you set > > Servlet22Broker.TemplateLocation > > to a value in your WebMacro.properties it will look in this directory > in your web-app instead of step 1." > > I check the source and cannot find TemplateLocation being used > anywhere. I assume this is replaced by the delegating template > provider and its TemplateLoaderPath mechanism. Is that correct? Could > someone update the docs then please? Actually it still is in the Servlet22Broker.init() method. (http://cvs.sourceforge.net/viewcvs.py/webmacro/webmacro/src/org/webmacro/servlet/Servlet22Broker.java?rev=1.13&view=markup) > Will the delegating template provider be promoted to default provider > sometime? Good question. I wish I had an answer. Are folks using the DelegatingTemplateProvider? I sure seems like a big improvement to me. Keats > Thanks, > Lars > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click