hi its code from
1.2-dev 
there is saveErrors with ActionErrors deprecated

and a "new" saveErrors with ActionMessages
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.htm
l

in 1.1 there is only
saveErrors() with ActionErros
(This will be removed after Struts 1.2)
and saveMassages with ActionMessages

btw. a new saveMessages() is also there
for saving in session

greetings
matthias

-----Original Message-----
From: Axel Groß [mailto:[EMAIL PROTECTED] On Behalf Of Axel Groß
Sent: Tuesday, February 17, 2004 1:28 PM
To: Struts Users Mailing List
Subject: Re: ActionErrors deprecated?


Hi Wendy!

On 2004-02-09 at 13:04:36 -0700, Wendy Smoak wrote:
>...
> I was trying to get it straight recently, and made this note to
myself:
> 
> In the Action:
> 
>    ActionMessages am = new ActionMessages();
>    am.add( ActionMessages.GLOBAL_MESSAGE, 
>            new ActionMessage( "not.authorized.for.account" ) );
>    saveErrors( request, am );

where does this come from? 
can't find it in struts 1.1

> 
>...

thx,
Axel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to