Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread Niall Pemberton
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: For your field specific messages, you can use either the or tags to position m

Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread Christopher Schultz
-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

Re: how to generate GLOBAL errors using Struts validation framework

2006-11-01 Thread robin bajaj
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