The problem with checkboxes doesn't rest with struts but with the http
protocol.  See, when a checkbox is checked, data is sent to the
application.  When the checkbox is unchecked, nothing is sent to the
app... but the original value is retained (since it was checked earlier).

A possible solution, manually check if the checkbox data appears in the
POST parameters.  If not, then you know that the checkbox is not checked
and you can do a actionForm.checkboxname = null OR you set that up in your
ActionForm's reset method.

Hope this helps.
Aladin



> Hi,
>
> Thanks to all for helping me in Struts problem
> here now i got stucked in one problem
>
> Here i need to show check box in UI but this must behaves like Radio
> button
> so how to do that i wrote java script to do that but it is not working
> perfectly
>
> please help me out
> Thanks in advance
>
> Shakti Singh
>


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

Reply via email to