Hi Guys,
 
Don't reinvent the wheel.
I am sure this AND and OR functionality is already done by Niall pemberton.
I am unable to get the link for the download though.
 
Regards,
Janarthan S

Neil Erdwien <[EMAIL PROTECTED]> wrote:
I agree that if the "..." is long, or if there are lots of them, then 
simply repeating the code is less than ideal.

On the other hand, if there are only, say, three conditions, and the 
code is three lines, then duplication isn't horrendous. We've all done 
uglier things in the push to get the job done.

Assuming JSTL is available, it provides a better solution.


Guillaume Cottenceau wrote:
> Neil Erdwien writes:
> 
> 
>>How about:
>>
>> 
>> ...
>> 
>> 
>> ...
>> 
> 
> 
> Are you serious? When "..." is longer than say 1 or 2 lines, this
> leads to duplicated source-code, one of the thing I think
> programmers should avoid with the most energy.
> 

-- 
Neil Erdwien, [EMAIL PROTECTED], Web Technologies Manager
Computing and Network Services, Kansas State University

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.

Reply via email to