WORadioButton question (reformulated)

Dave Stewart <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi everyone!

I've been busy with other projects, but just returned to an equipment  
tracker I'm writing.

On top of one of my components, I have 4 WORadioButtons. Each of them  
has the "name" binding set to a constant (to ensure they all have the  
same name) and the "checked" binding set to a boolean variable. I  
also added the onClick binding, which does the usual "this.form.submit 
(); return false;" stuff. The form containing these buttons has the  
"multiple submit" binding set to true.

I asked about this before, but I hadn't noticed the pattern I  
discovered today (besides, my previous inquiry was deafening for all  
the silence it caused:). When clicking from "top to bottom" (in my  
case, left to right), I see the previously true value being set to  
false and the new value being set to true (as the documentation  
claims it should). But here's the kicker - going the other way this  
doesn't work! All I get when clicking from "bottom to top" (right to  
left in my case) is the true value set, the previous value doesn't  
get set to false! This is evidenced by my debugging output: (Note:  
the order of these buttons across the top of the page is isViewing,  
isEditing, isAdding and lastly isDeleting. During this run, I simply  
clicked each button from left to right, then back from right to left.)


#ControlComponent.setIsViewing(torf) is setting isViewing to 'true'

#ControlComponent.setIsViewing(torf) is setting isViewing to 'false'

#ControlComponent.setIsEditing(torf) is setting isEditing to 'true'

#ControlComponent.setIsEditing(torf) is setting isEditing to 'false'

#ControlComponent.setIsAdding(torf) is setting isAdding to 'true'

#ControlComponent.setIsAdding(torf) is setting isAdding to 'false'

#ControlComponent.setIsDeleting(torf) is setting isDeleting to 'true'

#ControlComponent.setIsAdding(torf) is setting isAdding to 'true'

#ControlComponent.setIsEditing(torf) is setting isEditing to 'true'

#ControlComponent.setIsViewing(torf) is setting isViewing to 'true'



Did I stumble on a bug? Or am I doing something really dumb here?  
I've tried a few WO books I have, Google and this lists archives, but  
my incantations didn't produce anything helpful. I can code around  
this, but that feels wrong (shouldn't this just work?).

Thanks in advance for any input!

OSX 10.4.5
WO 5.3
WO Builder 5.3.1


Dave Stewart
Aqua~Flo Supply (Goleta CA)
dstewart at aquaflo dot com

An ASCII character walks into a bar.  Bartender asks, "What'll you
have?"  ASCII character says, "Give me a double."  Bartender asks,
"Having a bad day?"  ASCII character says, "Yeah, I have a parity
error."  Bartender says, "Hmmm. I thought you looked a bit off."

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.