Re: Best way to evaluate several expressions at once?

2002-08-25 Thread Shawn Bayern
No, that's basically the way to do it. You could always write a slightly higher-level function to take advantage of the similarity in structure between your calls, but I don't believe there's any mechanism that will yield greater runtime efficiency. Shawn On 25 Aug 2002, David M. Karr wrote: >

Best way to evaluate several expressions at once?

2002-08-25 Thread David M. Karr
In my derived Struts-EL tags, I evaluate all of the attributes of a tag in the same way, all at the same time. Following this are some examples: --- try { setAltKey((String)ExpressionUtil. evalNotNull("checkbox", "altKey", getAltKey(),