Oops, sorry about that ... I was thinking of the wrong tag! Yes, I use notEmpty, and use both name and property attributes.
Susan Bradeen On 03/31/2003 09:19:18 AM "Susan Bradeen" wrote: > I have used this tag, but I usually reference the name (formbean) and > property together. At the very least, you *must* include the value > attribute to make the logic comparison with your property value. Even if > the tag picked up your property, what it is supposed to be comparing it to > see if it is "notEqual"? > > Hope this helps, > > Susan Bradeen > > On 03/31/2003 09:01:50 AM "Sloan Seaman" wrote: > > > I want to use the logic:notEmpty tag to test if a collection I have is > empty or > > not. > > > > The Collection is in the pageContext under the variable name > barcodeList. > > > > The Docs for notEmpty say that name, property, and scope are not > required but > > if I use the property attribute it complains that I need the name. If I > use > > name, it compains that I need property. > > > > I would think I should just be able to do: > > <logic:notEmpty property="barcodeList"> > > stuff > > </logic:notEmpty> > > > > but this doesn't seem to work. > > > > What is the correct way? > > > > Thanks! > > > > -- > > Sloan > > > > > > ________________________________________________________________________ > > This email has been scanned for all viruses by the MessageLabs SkyScan > > service. For more information on a proactive anti-virus service working > > around the clock, around the globe, visit > http://www.messagelabs.com______________________________________________________ > __________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]