5.5 Macro Processing

Tags in this section provide a simple macro processing environment for template files.

The main purpose of Albatross macros is to provide a mechanism to divide your HTML into presentation structure and presentation appearance. By defining appearance presentation tricks inside macros you can make global changes to your web application appearance by changing one macro.

The <al-macro> (5.5.1) and <al-usearg> (5.5.2) tags are used to define macros, while <al-expand> (5.5.4) and <al-setarg> (5.5.5) are used to invoke and expand previously defined macros.

The ResourceMixin (7.1) and ExecuteMixin (7.2) classes provide the Albatross macro definition and execution facilities respectively.



Subsections