You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by tom tom <j_...@yahoo.com> on 2007/06/13 06:55:53 UTC

What is the equivalant for reset in S2

Hi,

In struts 1.x. we had reset method in the action forms
to do the final cleanup before the form data get
populated.

It helped quite well with occasions like check boxes.

Please let us know what is the same equivalent in
struts 2. How can we achieve the same.

Thanks,



       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: What is the equivalant for reset in S2

Posted by tom tom <j_...@yahoo.com>.
I can't see any clean() method in the ActionSupport,

I am using struts 2.0.6.

Is there any other way to do this.

Thanks,

--- Rikard <ri...@gmail.com> wrote:

> 
> Hi well in webwork i use the clean(); method of the
> class ActionSupport i
> think its the same in S2. Just make a reset() method
> in your action and call
> the clean method..
> 
> /R
> 
> Tracy12 wrote:
> > 
> > Hi,
> > 
> > In struts 1.x. we had reset method in the action
> forms
> > to do the final cleanup before the form data get
> > populated.
> > 
> > It helped quite well with occasions like check
> boxes.
> > 
> > Please let us know what is the same equivalent in
> > struts 2. How can we achieve the same.
> > 
> > Thanks,
> > 
> > 
> > 
> >        
> >
>
____________________________________________________________________________________
> > Pinpoint customers who are looking for what you
> sell. 
> > http://searchmarketing.yahoo.com/
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/What-is-the-equivalant-for-reset-in-S2-tf3912573.html#a11093394
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: What is the equivalant for reset in S2

Posted by Rikard <ri...@gmail.com>.
Hi well in webwork i use the clean(); method of the class ActionSupport i
think its the same in S2. Just make a reset() method in your action and call
the clean method..

/R

Tracy12 wrote:
> 
> Hi,
> 
> In struts 1.x. we had reset method in the action forms
> to do the final cleanup before the form data get
> populated.
> 
> It helped quite well with occasions like check boxes.
> 
> Please let us know what is the same equivalent in
> struts 2. How can we achieve the same.
> 
> Thanks,
> 
> 
> 
>        
> ____________________________________________________________________________________
> Pinpoint customers who are looking for what you sell. 
> http://searchmarketing.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/What-is-the-equivalant-for-reset-in-S2-tf3912573.html#a11093394
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org