addErrors() is a new method in 1.2.7.  addErrors() and addMessages()
are both valid, and both accept ActionMessages as arguments.  For more
on the difference between ActionErrors and ActionMessages, see
http://wiki.apache.org/struts/ActionErrorsAndActionMessages.  Also,
please get rid of the 'Re: {Spam?}' in your subject lines.  It's
annoying in general, but also causes GMail to think you are starting a
new "Conversation".  I imagine that other mail readers have similar
issues.

-- Jeff

On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Gareth Evans <[EMAIL PROTECTED]> wrote on 08/10/2005 10:28:31 AM:
> 
> > You could manually set the errors in the page within your action
> > with the method
> >
> > addErrors( request , form.update(mapping,request) );
> >
> > the addErrors method is already defined in the class Action.
> 
> It is saveErrors(request,..etc. isn't it?
> Also, I think you're supposed to ActionMessages instead of ActionErrors..
> 
> Geeta
> 
>

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

Reply via email to