I would like to check if a collection is empty and if
not, print some messages. Is there a tag to check if a
collection is empty in my JSPs?
Right now, this one works
webwork:if test=errorMessages
There are Errors like
.
/webwork:if
is there a better way or another tag to do this?
Thanks
thats the only way iv'e seen it done, but you could use also
test=errorMessages.isEmpty(),
i believe test=errorMessages will just just if the property is null.
Rajagopal. V wrote:
I would like to check if a collection is empty and if
not, print some messages. Is there a tag to check if a
Or errorMessages/empty == true
On Dec 6, 2003, at 6:46 PM, Francisco Hernandez wrote:
thats the only way iv'e seen it done, but you could use also
test=errorMessages.isEmpty(),
i believe test=errorMessages will just just if the property is null.
Rajagopal. V wrote:
I would like to check if a