Re: [s2] problem with action chaining returning "input" result

2007-05-07 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > So, now all I really need to know is if there is a > way that I can just flat out disable all of struts2's > validation stuff but still have my actions extend > ActionSupport? Create an interceptor stack without the validation stuff. > I would a

Re: [s2] problem with action chaining returning "input" result

2007-05-07 Thread Allen Gilliland
Thanks Laurie, that was what I needed to do. Turns out that my action was setting an action error before doing its chaining and so when validation was triggered on the chained action it was thinking an error had occurred and forcing the "input" result. So, now all I really need to know is if

Re: [s2] problem with action chaining returning "input" result

2007-05-04 Thread Laurie Harper
As well as validation errors, there could still be conversion errors. You said you don't have any conversions configured but remember that Struts will apply default converters if you have any setters on the action that take non-String arguments (assuming the request includes an attribute that m

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: I can't see any reason why validation would be doing anything at all unless somehow the validation interceptor wants to use one of the methods in my action class for validation when i didn't intend that. So you have no *-va

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Daniel Ruan
Or maybe the @SkipValidation annotation? On 5/3/07, Martin Gainty <[EMAIL PROTECTED]> wrote: struts-default.xml has the ability to exclude methods as in this example which excludes methods (method1, method2) from validation method1,method2 Martin--

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Martin Gainty
;Struts Users Mailing List" Sent: Thursday, May 03, 2007 9:38 PM Subject: Re: [s2] problem with action chaining returning "input" result --- Allen Gilliland <[EMAIL PROTECTED]> wrote: I can't see any reason why validation would be doing anything at all unless somehow the

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > I can't see any reason why validation would be doing > anything at all unless somehow the validation > interceptor wants to use one of the methods in my > action class for validation when i didn't intend > that. So you have no *-validation.xml fi

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: public abstract class UIAction extends ActionSupport Okay, so now the question is why it thinks there's a validation error on your subclass-we know *why* it's trying to validate (ActionSupport implements the validation interfa

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > public abstract class UIAction extends ActionSupport Okay, so now the question is why it thinks there's a validation error on your subclass-we know *why* it's trying to validate (ActionSupport implements the validation interfaces). Are there *any*

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: [...] i removed all my old validation() methods so i know it's not that. public class Members extends UIAction What does UIAction look like (specifically with regards to interfaces implements and superclasses)? UIAction

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > [...] i removed all my old validation() methods so i > know it's not that. > > public class Members extends UIAction What does UIAction look like (specifically with regards to interfaces implements and superclasses)? There must be *some* reason

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Allen Gilliland
Laurie Harper wrote: Allen Gilliland wrote: when chaining from one action to another, why is struts2 trying to lookup the "input" result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... .Members .MembersInvite

Re: [s2] problem with action chaining returning "input" result

2007-05-03 Thread Laurie Harper
Allen Gilliland wrote: when chaining from one action to another, why is struts2 trying to lookup the "input" result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... .Members .MembersInvite .disabled membe