--- 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
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
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
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
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--
;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
--- 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
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
--- 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*
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
--- 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
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
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
13 matches
Mail list logo