RE: Struts 2 - Repopulate controls when validation fails

2008-06-30 Thread bob fuller
is inside that causes MyAction.setFoo1() to be invoked 'again' after s:action is finished with its execution? > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: RE: Struts 2 - Repopulate controls when validation fails > Date: Thu, 26 Jun 2008 19:52:51 + &g

Re: Struts 2 - Repopulate controls when validation fails

2008-06-26 Thread Lukasz Lenart
Hi, 2008/6/26 bob fuller <[EMAIL PROTECTED]>: > > The approach I am taking is from the Struts 2 FAQ... > > http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html > > Why should it be avoided? I don't remmeber exactly why, someone on this group mentioned that. I

RE: Struts 2 - Repopulate controls when validation fails

2008-06-26 Thread bob fuller
> > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > From: [EMAIL PROTECTED] > To: u

Re: Struts 2 - Repopulate controls when validation fails

2008-06-25 Thread Lukasz Lenart
Hi, As I know, use of s:action tag should be avoided, the better option is to use Preparable interface, you can use prepare() method also. http://struts.apache.org/2.x/docs/prepare-interceptor.html Regards -- Lukasz http://www.lenart.org.pl/

RE: Struts 2 - Repopulate controls when validation fails

2008-06-25 Thread bob fuller
Trying again to give out my pseudo JSP... s:form name="myAction" s:textfield name="foo0"/ s:action name="languages" executeResult="true"/ s:textfield name="foo1"/ s:submit/ /s:form > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Struts 2 - Repopulate controls when validation fa