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
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
2 matches
Mail list logo