Re: [Struts 2] If exists tag?

2007-07-19 Thread Dale Newfield
Musachy Barroso wrote: ... //more elegant :) ... http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/specialCollectionsProperties.html isEmpty is a "pseudo-property" of every collection, so there's no reason to call it as a method(). -Dale -

Re: [Struts 2] If exists tag?

2007-07-18 Thread Musachy Barroso
... //more elegant :) On 7/18/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: ... musachy On 7/18/07, Neil Aggarwal < [EMAIL PROTECTED]> wrote: > > Hello: > > Is there a struts tag to check if a collection is not null > and has at least one element? > > I want to check a collection before

Re: [Struts 2] If exists tag?

2007-07-18 Thread Musachy Barroso
... musachy On 7/18/07, Neil Aggarwal <[EMAIL PROTECTED]> wrote: Hello: Is there a struts tag to check if a collection is not null and has at least one element? I want to check a collection before printing the table containing the elements using an tag. Thanks, Neil -- Neil Agg

[Struts 2] If exists tag?

2007-07-18 Thread Neil Aggarwal
Hello: Is there a struts tag to check if a collection is not null and has at least one element? I want to check a collection before printing the table containing the elements using an tag. Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com FREE! Eliminate junk email