Try this: <bean:size id="size" name="document" property="attachmentsList"/> <logic:equal name="size" value="0"> ... </logic:equal>
Best regads Patrice ----- Original Message ----- From: "Hirschmann, Bernhard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 6:04 PM Subject: checking a empty list > > Hi group! > > I wonder if it's possible with a logic tag, to check if a List in a form is > empty. > > This doesn't work, it just checks if the attachmentsList is null: > <logic:present name="document" property="attachmentsList"> > > Regards, > Bernhard > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>