|
JeeWiz Architect's Guide
|
|
|
|
Contents
|
|
|
Chapter 10. JeeWiz Controls
This chapter describes how to create JeeWiz controls, which help you build patterns and templates cleanly by encapsulating
detailed rendering logic.
Controls only occasionally create whole output files.
Normally, they are used to create words, phrases or lines as part of an output file.
JeeWiz controls have similarities to JSP tag libraries or ASP.NET controls
in that they are objects that send text into an output stream - which is then interpreted by another processing agent.
However, those controls operate at run time and send their output to the HTML browser.
JeeWiz controls operate at generate time - when JeeWiz is being run -
and the text they produce becomes part of the output file.
More motivation for, and examples of, using JeeWiz controls is given in the next section.
Where there is no ambiguity, we refer to JeeWiz controls as 'controls' (without the 'JeeWiz' qualifier).
10.1 Overview
10.2 Structure of JeeWiz Controls
10.3 Using Controls