Nathan Bubna <[EMAIL PROTECTED]> wrote:
> Marinó A. Jónsson said:
> > I've been testing the struts examples with the new Struts version and 
some
> > things caught my attention ...
> >
> > StrutsUtils.getActionErrors(HttpServletRequest) should really be 
deprecated
> > in veltools v1.1 and a new method introduced that returns ActionMessages
> > instead of ActionErrors (see Struts App 2).
> 
> hmm.  that's a tough deprecation/migration to make.  it would mean giving 
up
> the method name since we can't have to methods with the same name and
> signature, but different return types.
> 
> and since ActionErrors isn't deprecated (even in struts HEAD), i'm not 
sure i
> see reason to do this.

I seem to recall that ActionErrors have been defacto-ly (sic) deprecated 
from postings I've seen to the struts dev mailing list.  I think struts is 
facing the same technical limitation that you see above in deprecating them. 
  However, those who ask are being told to use ActionMessages instead of 
ActionErrors.

I haven't seen the code in question, but couldn't you use 
getActionMessages(HttpServletRequest)?

-Mike

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

Reply via email to