On 10/16/01 6:53 PM, "Patrick E. Whitesell" <[EMAIL PROTECTED]> wrote:
> Jon Stevens wrote: > >> 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 >> > > BTW: Jon knows your IP address... so don't even TRY choosing colors > using VTL. And if you so much as THINK of mentioning floats on this > list again he'll turn you in to the Thought Police for being the > anti-business logic terrorist that you are. Exactly right. Your IP address is 208.184.224.84, by the way... I checked his database. -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin
