From: Sebastian K. <seb...@mu...> - 2004-07-22 08:17:56
|
Hi, I added a facility to include global macros into every template. Just put a space separated list of files you'd like to load macros from into a "Macros.Include" configuration setting. See my description on the MacroDirective Wiki page. The whole thing is done, by parsing the templates at initialization time of the broker, store their macros into a map and put the contents of this map into every template's BuildContext in WMTemplate.java. Any concerns about this? A unit-test is included. Sebastian -- Sebastian Kanthak PGP/GnuPG: http://www.muehlheim.de/~skanthak/pgp.html |