struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muralidhar Yaragalla <java.yaraga...@gmail.com>
Subject Re: when to use Action Errors and ActionMessages
Date Thu, 21 Mar 2013 21:19:07 GMT
Thank you so much.


On Fri, Mar 22, 2013 at 1:47 AM, Chris Pratt <thechrispratt@gmail.com>wrote:

> If it has action messages, everything proceeds as usual.  If it has action
> errors, the validation system exits with the return code "input".
>   (*Chris*)
>
>
> On Thu, Mar 21, 2013 at 1:06 PM, Muralidhar Yaragalla <
> java.yaragalla@gmail.com> wrote:
>
> > So even if it has action errors or action messages the execute method of
> > action class will not be called is it?
> >
> >
> > On Fri, Mar 22, 2013 at 12:50 AM, Chris Pratt <thechrispratt@gmail.com
> > >wrote:
> >
> > > Same time, during validation.  They are just non-field specific.  So If
> > you
> > > have an error (or informational message) to deliver to the user you
> would
> > > use these methods.
> > >   (*Chris*)
> > >
> > >
> > > On Thu, Mar 21, 2013 at 12:16 PM, Muralidhar Yaragalla <
> > > java.yaragalla@gmail.com> wrote:
> > >
> > > > Hi when should we add an action error or action message. I understood
> > > field
> > > > error. It as to be added in validate method when there is any field
> > error
> > > > in the form( I mean validation error) but when to use other?
> > > >
> > > > --
> > > > Thanks And Regards,
> > > > *Muralidhar Yaragalla.
> > > > *
> > > >
> > >
> >
> >
> >
> > --
> > Thanks And Regards,
> > *Muralidhar Yaragalla.
> > *
> >
>



-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message