But the prepare method will be called if a validation error happens or not.
If a validation error happens I want to load the combo data, but if not I
don't need to load that data.

Regards,

Néstor Boscán

On Wed, Oct 15, 2008 at 2:09 AM, Lukasz Lenart <[EMAIL PROTECTED]
> wrote:

> 2008/10/14 Néstor Boscán <[EMAIL PROTECTED]>:
> > I'm using the validator frame in Struts 2.0.11.2. When the validator
> > framework fails I need to call the input method to load some combo data.
> But
> > the validator framework automatically calls the input result. If I chain
> > that input result with the input method I loose the fieldErrors and
> > actionErrors information because the Action gets instantiated from start.
>
> Read about Prepare [1] interceptor
>
> [1] http://struts.apache.org/2.0.11.2/docs/prepare-interceptor.html
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>

Reply via email to