Re: Struts 2 Validation issue

2008-02-10 Thread dfaulcon
Thank you. Jeromy Evans - Blue Sky Minds wrote: > > If if failing to show any data this can only mean the data > is blank (unlikely) or the object is not available on the Value Stack. > If we look at your two use cases: > Case 1.data is posted to your application, the params are set in your

Re: Struts 2 Validation issue

2008-02-09 Thread Jeromy Evans
If if failing to show any data this can only mean the data is blank (unlikely) or the object is not available on the Value Stack. If we look at your two use cases: Case 1.data is posted to your application, the params are set in your action and your action is invoked. Your code in the action

Re: Struts 2. Validation Issue

2008-02-03 Thread Martin Castellanos
Thanks, I extended DefaultActionSupport and now it's working On Feb 3, 2008 12:47 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Martin Castellanos <[EMAIL PROTECTED]> wrote: > > Oh, it's just a regular bean, doesn't implements or extends anything > > That'll be an issue. > > The workflow inter

Re: Struts 2. Validation Issue

2008-02-03 Thread Dave Newton
--- Martin Castellanos <[EMAIL PROTECTED]> wrote: > Oh, it's just a regular bean, doesn't implements or extends anything That'll be an issue. The workflow interceptor depends on the ValidationAware interface to decide if it should modify the result. Dave > On Feb 3, 2008 12:32 PM, Dave Newton <

Re: Struts 2. Validation Issue

2008-02-03 Thread Martin Castellanos
Oh, it's just a regular bean, doesn't implements or extends anything On Feb 3, 2008 12:32 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Martin Castellanos <[EMAIL PROTECTED]> wrote: > > Action Class is: com.maca.web.BookAction > > Validation file is placed next to the class: > BookAction-save-

Re: Struts 2. Validation Issue

2008-02-03 Thread Dave Newton
--- Martin Castellanos <[EMAIL PROTECTED]> wrote: > Action Class is: com.maca.web.BookAction > Validation file is placed next to the class: BookAction-save-validation.xml > Validation file for the book entity is: Book-validation.xml and it's placed > next to the Book class "Signature" means "How i

Re: Struts 2. Validation Issue

2008-02-03 Thread Martin Castellanos
Action Class is: com.maca.web.BookAction Validation file is placed next to the class: BookAction-save-validation.xml Validation file for the book entity is: Book-validation.xml and it's placed next to the Book class On Feb 3, 2008 12:20 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Martin Cas

Re: Struts 2. Validation Issue

2008-02-03 Thread Dave Newton
--- Martin Castellanos <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to use the xml validation, the validation is executing and > detecting errors, but after the validation the method save gets called > instead of invoking the input action it's executing the 'success' action. > I've tried several thi