Re: Repopulate form in execute() method - Struts 1

2007-10-12 Thread debussy007
Thank you d. :-) newton.dave wrote: > > If the forward isn't a redirect you shouldn't need to > repopulate the form. This use-case, btw, is what > "mapping.getInputForward()" is for (along with the > "input" attribute of the action configuration > element). > > d. > > --- debussy007 <[EMAIL

Re: Repopulate form in execute() method - Struts 1

2007-10-12 Thread Dave Newton
If the forward isn't a redirect you shouldn't need to repopulate the form. This use-case, btw, is what "mapping.getInputForward()" is for (along with the "input" attribute of the action configuration element). d. --- debussy007 <[EMAIL PROTECTED]> wrote: > > Hello, > > When the user submits my

Repopulate form in execute() method - Struts 1

2007-10-12 Thread debussy007
Hello, When the user submits my form, I retrieve it as a DynaActionForm, do some checks in execute() method, and if the form submitted is not valid, I want to forward to the form again and repopulate the form with the inserted values. How can I achieve this ? [...] if( ! valid ) { // Instruc