Re: when to use Action Errors and ActionMessages

2013-03-21 Thread Muralidhar Yaragalla
Thank you so much.


On Fri, Mar 22, 2013 at 1:47 AM, Chris Pratt 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.yaraga...@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  > >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.yaraga...@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.
*


Re: when to use Action Errors and ActionMessages

2013-03-21 Thread Chris Pratt
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.yaraga...@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  >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.yaraga...@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.
> *
>


Re: when to use Action Errors and ActionMessages

2013-03-21 Thread Muralidhar Yaragalla
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 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.yaraga...@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.
*


Re: when to use Action Errors and ActionMessages

2013-03-21 Thread Chris Pratt
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.yaraga...@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.
> *
>


when to use Action Errors and ActionMessages

2013-03-21 Thread Muralidhar Yaragalla
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.
*