Re: Custom validation interceptor

2009-06-20 Thread Peter Bliznak
Preciously!..what you said about changing form is exactly what I was thinking. From: Dave Newton To: Struts Users Mailing List Sent: Saturday, June 20, 2009 8:35:50 PM Subject: Re: Custom validation interceptor Peter Bliznak wrote: > It is across entire

Re: Custom validation interceptor

2009-06-20 Thread Dave Newton
Peter Bliznak wrote: It is across entire app (there are many dozen of actions) - every single action has to have same behavior - 3 crosses go and try again. It's app for changing personal info on government issued documents - sorta wizard like thing. I can see how I can do it by keeping eye of p

Re: Custom validation interceptor

2009-06-20 Thread Peter Bliznak
t: Re: Custom validation interceptor Peter Bliznak wrote: > I have following requirement: If validation of the page fails 3 times > in row - invalidate session and redirect to index page. Should I > replace default validation interceptor in default stack with my own > to achieve what I am a

Re: Custom validation interceptor

2009-06-20 Thread Dave Newton
Peter Bliznak wrote: I have following requirement: If validation of the page fails 3 times in row - invalidate session and redirect to index page. Should I replace default validation interceptor in default stack with my own to achieve what I am after? I there any other way? Is this across the e

Re: Custom validation interceptor

2009-06-20 Thread Wes Wannemacher
I don't think a custom interceptor is required. You could probably get this done through hidden parameters or by storing attempts in the session or something. Do you have this req for one action or all actions in the app? On 6/20/09, Peter Bliznak wrote: > Hi, > I have following requirement: > If

Custom validation interceptor

2009-06-20 Thread Peter Bliznak
Hi,I have following requirement:If validation of the page fails 3 times in row - invalidate session and redirect to index page.Should I replace default validation interceptor in default stack with my own to achieve what I am after?I there any other way?Any hint would be greatly appreciatedPeter.