Here's how: you need to implement reset() method on your form. In that method you need to set the field that is backing the checkbox to "false" or "off". When Struts processes the request, it will call reset, then repopulate based on request....effectively giving the _appearance_ that the browser sent "off".
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx
----- Original Message ----- From: "Janice" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Thursday, February 03, 2005 6:32 PM
Subject: wizard form and checkboxes that won't turn off
Could somebody please refer me to a solution to this?
I have a form bean (session-scoped) that is displayed over 3 pages. There are "back" and "next" buttons. Once a checkbox is selected and the user has moved to another page, it can't be cleared again. I have read that this is because the checkbox item is now in the session and simply unchecking it does not remove it from the session. What I haven't found is a solution or workaround.
I am using struts 1.1.
Thanks very much in advance, J
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]