It's a feature. You should use reset() to prepare the ActionForm to get the
HTML form values. If the form has multiple steps you don't have to erase the
contents of the bean in the reset() function. You can use an <input
type=hidden ... > to know in wich step are you, and actuate in concordance.



-----Mensaje original-----
De: Eelco Klaver [mailto:[EMAIL PROTECTED]]
Enviado el: mi�rcoles, 28 de agosto de 2002 12:59
Para: 'Struts Users Mailing List'
Asunto: Session form resetted after each post (struts 1.0.2)

Hi,

I have a session scope action form to enable filling in the form in multiple
steps. I noticed that the reset method is called everytime the html form is
posted, while I would expect that this method is only called the first time.
I this a bug or a feature?

Regards, Eelco


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to