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
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
anguages" 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 fails
> > Date: Thu, 26 Jun 2008 02
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/
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
&
I'm following the "How do we repopulate controls when validation fails" FAQ
located at...
http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html
Of the two methods it suggests I am trying to use the 'action tag' method.
Using the simple example from the FAQ
6 matches
Mail list logo