Hi Dave,
Thanks for the reply.
My Desired Scenario:
a)
When the user submits the form with more than one fields left blank (or
with incorrect values), I want to show a
general (GLOBAL) message on top of the form saying
Following shown mandatory fields were provided with incorrect values
b)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
When the user submits the form with more than one fields left blank (or
with incorrect values), I want to show a
general (GLOBAL) message on top of the form saying
Following shown mandatory fields were provided with incorrect values
How
You can also do the same kind of thing that Chris suggests with Struts tags:
For your global message, uses the messagesPresent tag to detect if
there are errors and then output the appropriate message:
logic:messagesPresent
bean:message key=error.title.some-fields-are-bad /
3 matches
Mail list logo