Thomas, I really can't think of something else. So, I checked in the mailing-list for an explanation. Maybe, this can help you: http://www.mail-archive.com/[email protected]/msg15638.html (RE: wrong behavior of checkboxes in forms?). Let me know, if this is the solution.
Marcel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 12:04 PM To: [EMAIL PROTECTED] Subject: RE: Why is Checkbox s.till marked?? HELP DID NOT GET IT! Thanks for answer, Marcel, but both is set to the correct values. I have to set the confirmdel explicitly to false, then it works. Very strange to my since the reset method do the same thing. I think I haven't get it until now: I set another value explicity to the table name and then forward to the same jsp. I thought it is a request parameter - but this value is forgotten!!!??? That means for me: reset method doesn't work correctly. I have to reset explicitly (setConfirmdel(false)) but - another value which is set the same manner is forgotten (setTablename(table)). I don't understand this.... PLEASE TO EVERYBODY - HELP or I will drown... Regards and thanks to advance Thomas -----Original Message----- >From : Marcel Andres <[EMAIL PROTECTED]> To : struts-user <[EMAIL PROTECTED]> Date : 21 November 2001 09:51:49 Subject : RE: Why is Checkbox s.till marked?? Hi Thomas, > >Is it possible, that the value in the form bean is not set false or the scope of your >action (struts-config.xml) is set to "session" instead of "request"? > >Marcel > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, November 21, 2001 10:39 AM >To: [EMAIL PROTECTED] >Subject: Why is Checkbox s.till marked?? > > >Hi there, > >I have a form with one checkbox (defined with html:checkbox) which must be marked >when something is to be deleted. The checkbox is validated and the is an error >message when the user chooses "delete" but doesn't confirm it with the checkbox. >This works, BUT: when submitted the action perform method forwards to the same form. >And although there is a reset method which sets the boolean value (confirmdel) to >false - servlet.log tells me that this is done - the checkbox is still marked!! Why? >I tried everything... > >Please help me and thanks in advance > >Thomas > >>:-) As sceptical as one can be! (-:< > > > >---------- >Personalise your email address at http://another.com >THINK: your slogan or email address on a gorgeous mousemat >CLICK HERE http://another-shop.com > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > >:-) As sceptical as one can be! (-:< ---------- Get a free, personalised email address at http://another.com TXT ALRT! Stop wasting money now. Send FREE, personalised txt from http://another.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

