RE: display error messages for errors found in an Action

2001-09-07 Thread Brian Grant - SilverStream
Title: RE: display error messages for errors found in an Action -Original Message- From: Bill Clinton [mailto:[EMAIL PROTECTED]] Sent: 4. september 2001 22:27 To: [EMAIL PROTECTED] Subject: Re: display error messages for errors found in an Action Hi Brian, yes, you can do

Re: display error messages for errors found in an Action

2001-09-04 Thread Brian K. Buckley
yes, you can do this. If you have a message in your ApplicationResources file called my.test.error, you can add an error like this: errors.add(myTestField, new ActionError(my.test.error)); where the string myTestField is the field that caused the error. Look at the constructor for