Hi, this is correct, but how do I know which objects set to null and which not?
I have an ArrayList with Objects (Users), one parameter of the user is "assigned" (of bool). With the list I can assign some of the users and can store this (submit the form). The index of the parameter is counted from 0 ... so, 0, 1, 2, ... so I don´t know from the request-parameters which objects are choosen and which not (the id of the user is huge number). So, how to map the request parameters to my user-objects so that I can set the "assigned" to false. Thanks in advance HP -----Ursprüngliche Nachricht----- Von: Rick Reumann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. April 2006 14:42 An: Struts Users Mailing List Betreff: *****POSSIBLE SPAM***** Re: html:checkbox entries are not disappering Hans-Peter Petek wrote: > > But, when I deselect a checkbox, press the button (i.e. submit), all > the previous checked checkboxes are still checked .. =?!?!? Every > checkbox I ever checked once still remains checked ... > > Can anyone help me ... Common problem. Make sure you are setting all your boolean values represented by the checkboxes to false in your form's reset method. (Your form bean probably has session scope and remember in html only checkboxes that are checked get passed with the request, so behind the scenes your formBean still has some of its properties set to true.) -- Rick http://www.learntechnology.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]