From: Tim P. <tpp...@pa...> - 2004-11-23 11:03:47
|
Hi Keats, Lane, Thanks for bearing with me. Keats Kirsch wrote: > > My guess is that it has to do with which Broker you are > using, which depends on how you instantiate WM. If you pass > in a Servlet instance (JSDK 2.2+) it will instantiate the > Servlet22Broker which should find the templates anywhere the > Servlet class loader can find them. > WM is instantiated with wm = new WM () see http://www.melati.org/xref/org/melati/template/webmacro/WebmacroTemplateEngi ne.html I am not using a WebMacro.properties file. In wiki the WebMacro.properties file does not change the defaults. I have checked out webmacro and wiki from cvs. I see that I am not expected to be constructing a WM without passing in a servlet, but Melati is able to work outside of a servlet environment. Servlet22Broker is only mentioned once in WebMacro.defaults.classic How do I check what Broker I have got and change it if necessary? yours tim |