New Mini Remote Control Cars Boats.
Follow Us For Fun...
Turbo Twister Mini RC stunt cars are the newest RC stunt cars in
the world! These 2 1/2 inch stunt cars rotate, flip, and tumble everywhere!
Follow Us For Fun...
Honda S2000 (yellow) - fully functional wireless remote control
Academic Qualifications available from prestigious NON–ACCREDITTED universities.
Do you have the knowledge and the experience but lack the qualifications?
Are you getting turned down time and time again for the job of your dreams because you
just don't have the right letters after your name?
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
for example if I use:
message key=user.name.errors.required/message
and the key doesnt exist ill just get blank error, I know i could put a message in there myself to display if the key is
not valid but can we change it so that if the message is blank like it is now it just displays
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