#setprops directive committed
Keats Kirsch <[email protected]> Mon, 17 Oct 2005 01:14:51 -0400
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
I have (finally) committed the SetpropsDirective (fka PropertiesDirective). Documentation can be found at http://www.webmacro.org/SetpropsDirective. Unit tests can be found in org.webmacro.template.TestSetpropsDirective.java. As part of this effort, I also refactored the BeanDirective, allowing both classes to share a class loading mechanism that supports the AllowedPackages and ImpliedPackages configuration properties. (Other directive can also use this feature by invoking the org.webmacro.util.Instantiator class.) I have deprecated the BeanDirective prefix for these properties, so you should now just specify them like: AllowedPackages=java.util,org.webmacro.util ImpliedPackages=java.util,org.webmacro,org.webmacro.util Please try this out and give me feedback. Keats ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl