In the Action there are two convenience methods:
saveErrors(request, ActionMessages)
saveMessages(request, ActionMessages)
You cn use the saveMessages() method to store under the messages key.
Niall
- Original Message -
From: "David Johnson" <[EMAIL PROTECTED]>
Sent:
Niall
Related to this, I found your article
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html VERY
helpful ant informative. I've refactored my application (yes it's midnight
in NY) to REMOVE all ActionError references (leavinf the ActionErrors in the
validate() as you recom
tyvm :>
On 5/26/05, Niall Pemberton <[EMAIL PROTECTED]> wrote:
>
> It was deprecated in Struts 1.2.4 - theres info about this in the wiki:
>
> http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
> http://wiki.apache.org/struts/StrutsDeprecatedActionErrors
>
> Niall
>
> - Original Mess
It was deprecated in Struts 1.2.4 - theres info about this in the wiki:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
http://wiki.apache.org/struts/StrutsDeprecatedActionErrors
Niall
- Original Message -
From: "David Johnson" <[EMAIL PROTECTED]>
Sent: Friday, May 27, 2005 2:48
Hi all
I notice that ActionError is deprecated in this version.. is there some
document describing what we should now be doing?
[javac]
C:\Builds\riskGrid\src\com\company\struts\form\QueryResultsForm.java:101:
warning: org.apache.struts.action.ActionError in
org.apache.struts.actionhas been d
5 matches
Mail list logo