n instead of redirectaction and use same properties in
Action1 and Action2.
Regards,
Raghuveer Vellanki
-Original Message-
From: Siddiq Syed [mailto:siddiq...@yahoo.com]
Sent: Friday, October 30, 2009 1:43 AM
To: user@struts.apache.org
Subject: Re: Preserving Messages and Garb
;> The
>> >> > action you redirect to will return a result of 'input' because the
>> >> > workflow
>> >> > interceptor sees that there are errors. (Maybe this is why you though
>> >> > chain
>> >> > wasn't
Input${considTypeCode}
Thanks
Siddiq.
From: Greg Lindholm
To: Struts Users Mailing List
Sent: Mon, November 2, 2009 2:10:57 PM
Subject: Re: Preserving Messages and Garbage values Across a Redirect in Struts
2
Here is the link [1] for "Parameters in con
ss.com/category/struts-2/)
> >> >> and I specified that in the strust.xml,
> >> >> This interceptor is to preserve the error messages.
> >> >>
> >> >>
> >> >> >> >> class="com.interceptor.RedirectMe
>> >>
>> >>
>> >> > >> class="com.interceptor.RedirectMessageInterceptor" />
>> >>
>> >>> />
>> >>
ession in the JSP and displaying the error
> messages..
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> <%
> >>
> session.removeAttribute("RedirectMessageIn
iddiq.
>>
>>
>> DNewfield wrote:
>> >
>> > Greg Lindholm wrote:
>> >> The only other thing is your interceptor stack 'redirectInput' you
>> >> haven't
>> >> shown what it is.
>> >
any interceptor(s) in the action causes the
> > specified interceptor(s) to be the only ones used.
> >
> > -Dale
> >
> > ---------
> > To unsubscribe, e-mail:
e
> specified interceptor(s) to be the only ones used.
>
> -Dale
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://old.nab
Greg Lindholm wrote:
The only other thing is your interceptor stack 'redirectInput' you haven't
shown what it is.
And note--specifying any interceptor(s) in the action causes the
specified interceptor(s) to be the only ones used.
-Dale
---
doing a redirect on the input is that system needs to
> >>> >> determine what will be the page to display next along with the error
> >>> >> messages and the garbage values.
> >>> >>
> >>> >> As a temporary solution i am using the getter and
>> session
>>> >> and retriving it in the redirect method of action. and setting back
>>> in
>>> >> the
>>> >> request. -:) which i Guess in not a good approach.
>>> >>
>>> >> But i Guess th
>> >> >
>> >> > For results of "input" you should not be doing a redirect or you get
>> >> the
>> >> > problem you described.
>> >> >
>> >> > On Thu, Oct 29, 2009 at 11:13 AM, Siddiq Syed
>> >
sageInterceptor to perserve
> >> the
> >> >> validations/error messages and is working absoulty fine.
> >> >>
> >> >> But the problem is the values in the fields are not st
> pass
>> >> validation), Intercerptor displays the error message but doesnot shows
>> >> the
>> >> values in the fields of the form.
>> >>
>> >> I hope you guys got the problem. I don't want the user to enter all
>> the
>&g
ope you guys got the problem. I don't want the user to enter all the
> >> values every time even if the validation fails for 1 or 2 field.
> >>
> >> Please let me know if you have occured this problem and have the
> solution
> >> for the same.
> >>
on fails for 1 or 2 field.
>>
>> Please let me know if you have occured this problem and have the solution
>> for the same.
>>
>> Thanks in advance.
>>
>> http://glindholm.wordpress.com/
>>
>>
>> Thanks
>> Siddiq.
>> --
>&g
lem and have the solution
> for the same.
>
> Thanks in advance.
>
> http://glindholm.wordpress.com/
>
>
> Thanks
> Siddiq.
> --
> View this message in context:
> http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-R
e solution
for the same.
Thanks in advance.
http://glindholm.wordpress.com/
Thanks
Siddiq.
--
View this message in context:
http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redirect-in-Struts-2-tp26114968p26114968.html
Sent from the Struts - User mailing list archive at
19 matches
Mail list logo