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. -- Patrick E. Whitesell [EMAIL PROTECTED] *************************************** This e-mail message may contain confidential and/or legally privileged information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this e-mail message is strictly prohibited.If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. DO NOT FORWARD THIS E-MAIL MESSAGE WITHOUT THE PERMISSION OF THE SENDER.
