struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <ge...@regens.hu>
Subject Re: reset method calls
Date Thu, 05 Dec 2002 13:43:28 GMT
2002. december 5. 14:34 dátummal ROSSEL Olivier ezt írtad:
> Suppose I have something like:
> a Form is session
> i fill one field with a JSP+action
> that action redirects to an action
> that action forwards to a JSP (a tile)
> that tile calls several actions
> on of those forwards to another action
> that action wants to fill another field

I guess the action on the last line which fills an other field is reusing your 
form. 

Do you use dynaforms? 
If so extend org.apache.struts.action.DynaActionForm, override its reset() 
(eg. not resetting at all or conditinally resetting each property depending 
on an additional attribute you specify for your form-property with the 
<set-property> tag. )

Hth,

Tib

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


Mime
View raw message