Hi folks,
I have a jsp page with a struts html:checkbox looking as follows: <html:checkbox name="backupform" property="enable" styleClass="input"/> The backupform is defined in struts-config.xml as: <form-bean name="backupForm" type="org.contineo.forms.BackupForm"/> If I enter the page, the state of the checkbox is correctly set. However, when I leave the page, the value of the checkbox is not preserved. I debugged this a little bit and noticed that in the BackupForm class first the reset(...) function is called and later the isEnable() function, but not the setEnable(boolean e) function. This is very strange, because in the same form I have another input defined as follows: <html:text name="backupform" property="path" size="60" styleClass="input"/> Here the correct value is set during page load as well as after forwarding to the next page. While leaving the page first the reset(...) function of the BackupForm class is called, afterwards the setPath(String p) function and later several times the getPath() function. So where is the difference between a html:checkbox and a html:text? By the way, I'm using Struts 1.1. Sebastian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]