Thanks for your tips! I need them for further working. But I found the error! I used the wrong enctype in my <html:form> element: After setting enctype="multipart/form-data", the setter-methode is called as well!
Maybe someone should make a note in http://jakarta.apache.org/struts/struts-html.html to elements other than <html:form> or <html:file>. ----- Original Message ----- From: "David M. Karr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 7:42 AM Subject: Re: When using a html:multibox element, no setter-methode is called. > >>>>> "Bernhard" == Bernhard Oberndorfer <[EMAIL PROTECTED]> writes: > > Bernhard> Hello > Bernhard> I´m using a logic:iterate and html:multibox element in my jsp-page. > Bernhard> The getter-methode of my multibox-element(getSelectedFoos()) is called as it > Bernhard> should. > Bernhard> But the setter-methode(setSelectedFoos()) is never called by the controller. > Bernhard> Why? What I´m doing wrong? > > Using the nightly build, I just tried a very similar structure, and I saw no > problem with the setter method being called. However, note that there is one > situation where it doesn't call the setter method, and it's not supposed to. > That's when all of the generated checkboxes are unchecked. I'm guessing that's > not the situation you're referring to, but I'll mention it just in case. > > -- > =================================================================== > David M. Karr ; Java/J2EE/XML/Unix/C++ > [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> > > -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>