Re: prepare action for input after validation errors

2008-09-08 Thread jnizet
I don't have any input method. I have a displayForm method, and a submitForm method. The displayForm method returns an input *result*, which is a default result pointing to a JSP. This JSP has to display some data coming from the database. I'd like this same JSP to be displayed when the input

Re: prepare action for input after validation errors

2008-09-08 Thread jnizet
I know that. But this does not solve the problem I described. prepareXxx will be invoked if I the action method is xxx. I validation fails, it'll work: the input page will have the prepared data ready in the action instance. If validation succeeds, however, the prepareXxx method will have prepar

Re: prepare action for input after validation errors

2008-09-08 Thread jnizet
Hi. Thanks for your answer. But as I said in my original post, the prepare interceptor would prepare the action regardless of the validation result. If the validation succeeds, I don't want the data for the input page to be prepared, as the flow will go to the submit method which will redirect