Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

trouble in html:checkbox, please help

843838Feb 27 2007 — edited Feb 27 2007
I am seeking advice on a design decision in the harvesting of html checkbox elements within struts. This presents a different challenge than other html forms because checkboxes do not send a parameter value pair if the box is unchecked.

<html:checkbox property="pmmResultType" value="yes"/>

it binds to a bean value of pmmResultType.

the setter is called when I check the checkbox and press the submit button. setter won't be called when I uncheck the the checkbox and press the submit button. please help.

Message was edited by:
iamchris
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2007
Added on Feb 27 2007
2 comments
129 views