RE: CheckBox problem in struts..

2002-04-06 Thread Alex Paransky

The reset(...) method in your form needs to reset the checkbox to "false",
every time.

-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/view.do?profileId=127

-Original Message-
From: Sachin [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 7:35 AM
To: [EMAIL PROTECTED]
Subject: CheckBox problem in struts..


Hi
Could anyone explain about the checkbox problem in struts
if i have a checkbox in a jsp and if i set the value of the bean to yes,
true or on, the checkbox will be checked. But if i try to set the value of
the checkbox in the bean it is not getting set. if i submit data from
checkbox it is not getting reflected when i revisit the page.

Thanks & Regards
Sachin


--
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]>




RE: CheckBox problem in struts..

2002-04-06 Thread srinivas

reset the check box values in the struts form reset method.


-Original Message-
From: Sachin [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 6:35 PM
To: [EMAIL PROTECTED]
Subject: CheckBox problem in struts..


Hi
Could anyone explain about the checkbox problem in struts
if i have a checkbox in a jsp and if i set the value of the bean to yes,
true or on, the checkbox will be checked. But if i try to set the value of
the checkbox in the bean it is not getting set. if i submit data from
checkbox it is not getting reflected when i revisit the page.

Thanks & Regards
Sachin


--
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]>




CheckBox problem in struts..

2002-04-06 Thread Sachin

Hi
Could anyone explain about the checkbox problem in struts
if i have a checkbox in a jsp and if i set the value of the bean to yes,
true or on, the checkbox will be checked. But if i try to set the value of
the checkbox in the bean it is not getting set. if i submit data from
checkbox it is not getting reflected when i revisit the page.

Thanks & Regards
Sachin


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