on 10/14/01 3:34 PM, "Bojan Smojver" <[EMAIL PROTECTED]> wrote:
> Although I can see > cases where there is a Float returned by Java and the View part of the > application has to decide how it's going to be displayed. For instance, > a balance of some sort can be displayed in red or black, depending on it > sign (typical accounting scenario). This can be dealt with with a context object which analyzes the information passed into it (ie: the float) and a #macro which handles the setting of the color information. The analysis of the type of data in order to set the color is business logic and does not belong in your templates. -jon
