WebMacro Standard Macro Library

Goal: The goal of macros/ is to provide some standardized manner for everyday tasks like merging common html text with common objects, formatting html form control tags, and managing common page elements.

See http://www.webmacro.org/MacroDirective for the complete docs on how to create a macro.

If macros/ is in your classpath, the following statement:

#include as macro "allmacros.wmm"

will include all standard macros in the macros/ folder. Edit this file if you want to make some of your own macros a standard.


macros are used in 1.1. Release 1.2 will allow for automatic inclusion at the configuration level.