struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Goeltz <>
Subject Re: Checkbox Bug
Date Fri, 07 Jul 2000 15:23:42 GMT
 > Well, if the same page is submitted again, but you
 > uncheck a previously check boxed, the form element
 > is NOT sent to the server,

Yes, that's depressing.

[ fix using client-side timestamps snipped ]

Another fix is, in the servlet, initialize all of your bean's checkbox 
values to "off" before fetching the data with 
request.getParameter("checkbox").  The next step is to automate this; mine 
is a hack.


View raw message