I am assuming you are using this form in a session scope then.. check back through the archives on the reset function of the form there have been numerous posts within the last few weeks on this topic.. Essentially what happens is that if you deselect a checkbox and then submit the form, nothing is submitted for that checkbox, the only values that are submitted are when the checkbox is clicked and it submits true or on or whatever you tell it to submit. If the form is request scope its already gone and the values are initialized to blank anyway so its no problem. But in Session youll typically have to work with the reset function of the form.. I haven't worked with it though so check the archives. -David
----- Original Message ----- From: "Raghu.Ramakrishnan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 22, 2003 11:35 AM Subject: Problem with Checkboxes using <logic:iterate> Hi, I have one issue, that is I have some checkboxes within my <logic:iterate>, and 1) When the user clicks on the checkbox, the property corresponding to the checkbox is set to 'on'. 2) When the user de-clicks the checkbox(removes the check), the checkbox is still set to 'on', how do we reset the checkbox... My code is as follows: <logic:iterate name="WorkQueueForm" property="workQueueArrList" indexId="clmIdx" id="indexBean" type="com.tgt.dist.icl.formbeans.WorkQueueBean"> <html:select name="indexBean" property="updtClaimStatus" indexed="true" > <html:option value=""> </html:option> <html:option value="P">P</html:option> <html:option value="W">W</html:option> <html:option value="A">A</html:option> <html:option value="M">M</html:option> <html:option value="C">C</html:option> </html:select> <html:checkbox name="indexBean" property="updtClaimPriority" indexed="true"></html:checkbox> </logic:iterate> WorkQueueForm is the Form Bean workQueueArrList is a property of the WorkQueue Form Bean which contains WorkQueue Beans. I would be obliged if you could let us know how to reset the checkbox, when the user Deselects the checkbox, the checkbox property in the WorkQeue Bean should be reset to null. Thanks, Raghu -----Original Message----- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 10:45 AM To: Struts Users Mailing List Subject: Re: struts test info http://strutstestcase.sourceforge.net/ -Dan ----- Original Message ----- From: "ronanoc" <[EMAIL PROTECTED]> To: "Struts List" <[EMAIL PROTECTED]> Sent: Friday, August 22, 2003 6:13 AM Subject: struts test info > Can anyone point me in the direction of good examples and info about > using/writing Struts tests.... other than the documentation that comes > with Struts test it self...? > > Thanks in advance. > > Ron. > Always ready to Discotogogo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -----Original Message----- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 5:56 PM To: Struts Users Mailing List Subject: [OT] Tree Stucture in STRUTS hi all, excuse me if this sounds off topic! can somebody please point to some references on how to incorporate a dynamically built tree-like structure in a struts app? can struts-menu be used for this purpose? any other suggestions? thanks. ATTA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]