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.
- wmm is the convention for identifying a file containing macros.
- You do not have to use this library and you can copy it to another
location and hack it as you please.
- You can add your own folder, eg local/, and then include the macros
in this folder by editing allmacros.wmm.
macros are used in 1.1. Release 1.2 will allow for automatic inclusion at
the configuration level.