: Validation does not work on redirect result
But then look at
http://struts.apache.org/2.1.6/docs/convention-plugin.html#ConventionPlugin-Resultannotation
I am using location successfuly.
C
-Original Message-
From: Martin Gainty
To: Struts Users Mailing List
Sent: Thu, Aug
e. Étant donné que les email peuvent
facilement20
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> To: user@struts.apache.org
> Subject: Re: Validation does not work on redirect result
> Date: Thu, 13 Aug 2009 08:18:56 -0400
>
nt facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> To: user@struts.apache.org
> Subject: Re: Validation does not work on redirect result
> Date: Thu, 13 Aug 2009 08:18:56 -0400
> From: musom...@aol.com
>
12:47 am
Subject: RE: Validation does not work on redirect result
FindUserAction extends UserAction which in turn extends from ActionSupport so
why add another import for ActionSupport so I directly used
return SUCCESS;
//
Following does not work --
@ParentPackage("base-package"
effet légalement obligatoire. Étant donné que
> les email peuvent facilement être sujets à la manipulation, nous ne
> pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>> Date: Wed, 12 Aug 2009 12:22:24 -0700
>> From: spsarol...@gmail.com
>>
le contenu fourni.
> Date: Wed, 12 Aug 2009 12:22:24 -0700
> From: spsarol...@gmail.com
> To: user@struts.apache.org
> Subject: Re: Validation does not work on redirect result
>
>
> Yep its working wonderfully,
> I shouldn't have made use of ServletRedirectAction
l) request.getSession().setAttribute("user",user);
>>return SUCCESS;
>> }
>> }
>>
>>
>>
>> Greg Lindholm-2 wrote:
>> >
>> > No result defined for action org.xinus.actions.user.FindUserA
>
> Can you please help me understand what is workflow
> interceptor doing here. I know about workflow interceptor as it is
> responsible for calling validate method on action if action implements
> ValidationAware interface and collecting errors if any
>
>
First thing you do is take a look at the
on org.xinus.actions.user.FindUserAction and
> >> result input at
> >>
> >
> > From the write up at:
> >
> http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/
> >
> > The one thing you need to be aware of is:
need to configure a result with name=”input” as the added
> messages will trigger the ‘workflow’ interceptor to return a result of
> “input”.
>
> You need to configure a result of 'input' for action FindUserAction.
>
> If you don't know what this means then post your
No result defined for action org.xinus.actions.user.FindUserAction and
> result input at
>
>From the write up at:
http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/
The one thing you need to be aware of is: The action you are redirecting
towards will need
gt;> redirect result.
>> I want it with redirect result because it will allow bookmarking of page
>> even when validation fails.
>> --
>> View this message in context:
>> http://www.nabble.com/Validation-does-not-work
e it will allow bookmarking of page
> even when validation fails.
> --
> View this message in context:
> http://www.nabble.com/Validation-does-not-work-on-redirect-result-tp24939128p24939128.html
> Sent from the Struts - User mail
://www.nabble.com/Validation-does-not-work-on-redirect-result-tp24939128p24939128.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail
14 matches
Mail list logo