WORadioButtons question
Dave Stewart <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi again everyone! I feel like there's something I'm not getting here (which means I'm about to learn something again - yea!) and I'm hoping for some clarity ... I have a site I'm working on that has a "ControlComponent" which determines whether nested components in a WOSwitchComponent are in view mode, edit mode, add mode or delete mode. Across the top of the "ControlComponent" are 4 WORadioButtons, each with the "name" binding set to "RADIOBUTTONGROUP" (to try to make them act like radio buttons:), to determine the boolean state of each of those ivars (isViewing, isEditing, isAdding and isDeleting). Simple, and it all works as expected. Except ... Sometimes when you switch from one button to the other, I get only one call to set the selected value to true. Other times I get two calls, one to set the *former* value to false and the second one to set the selected value to true. Worst part is I can't see any real pattern, it looks totally random whether or not I get a call to set the former value to false. I can handle either situation and can even code to handle both, but I feel like there's something I'm missing here. Shouldn't this be more consistent than this? Did I do something wrong here? I saw the WORadioButtonList object, which claims to be deprecated and the WXRadioButtonList, which looks - well, like more than I really need. Or do I? Dave Stewart Aqua~Flo Supply (Goleta CA) dstewart at aquaflo dot com A computer lets you make more mistakes faster than any invention in human history with the possible exceptions of handguns and tequila. _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev