Re: [Struts 2] If exists tag?
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Struts 2] If exists tag?
... //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 printing the table > containing the elements using an tag. > > Thanks, > Neil > > > -- > Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com > FREE! Eliminate junk email and reclaim your inbox. > Visit http://www.spammilter.com for details. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd -- "Hey you! Would you help me to carry the stone?" Pink Floyd
Re: [Struts 2] If exists tag?
... 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 Aggarwal, (832)245-7314, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "Hey you! Would you help me to carry the stone?" Pink Floyd
[Struts 2] If exists tag?
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 and reclaim your inbox. Visit http://www.spammilter.com for details. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]