Yes
The form is in session.I am resetting the form value in reset but then when
the use goes to next page where I have to show the USER entered values,I
need to show the selected  check box and the corresponsding sections values.
But even though the reset method is not called when I unselect the checkbox
so the values are going as selected only.



On 8/10/06, Vishal Seth <[EMAIL PROTECTED]> wrote:

In web application the value of checkbox is submitted only when it is
selected otherwise it is not submitted. Your form/form-property would be
in session scope hence it is still remembering the old value.

-----Original Message-----
From: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 6:54 PM
To: Struts Users Mailing List
Subject: Issue with Struts check box

Hi
I have a String form field which is used as a check box.
And I do some validation based on this check box if selected.
I am having a problem,when the user selects a check box and submit.
I am getting the errors properly.
But when If I uncheck the check box and submit,the value i am getting in
form is still as "on".
So the I am still getting error saying plz enter the below details if
you
selects the check box.
Any clue why It does not reset the value


--
Thanks and Regards
Hanmayya Udgiri



MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that
of Mastek Limited, unless specifically indicated to that effect. Mastek
Limited does not accept any responsibility or liability for it. This e-mail
and attachments (if any) transmitted with it are confidential and/or
privileged and solely for the use of the intended person or entity to which
it is addressed. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. This e-mail and
its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and
attachments before opening them. If you have received this e-mail in error,
kindly delete this e-mail from all computers.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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




--
Thanks and Regards
Hanmayya Udgiri

Reply via email to