On 11/09/2008, at 1:31 AM, Matthew Weier O'Phinney wrote:
The value default checked values have correctly returned the value of
'enroll'. The additional checked value has returned 'notenroll'
rather
than 'enroll'. The values not checked have returned '0'.
Can you check this against current trunk? I corrected an issue with
dojo checkboxes late last week that may have affected this behavior
(for
the better).
I've just tried trunk, and have the same behaviour.
Having looked again at the HTML being generated, it seems quite odd:
<dd> <input name="courseList[CEAudio]" value="0" type="hidden"><input
options="enroll notenroll" id="courseList[CEAudio]"
name="courseList[CEAudio]" value="notenroll" type="checkbox"></dd>
Most Dojo widgits have their id's generated as (for example)
courseList-CEAudio ([] replaced by -), and I'm still confused as to
how the hidden/checkbox of the same name are supposed to function
(although they seem to, so I can't complain).
I would value the input of any minds who understand Dojo/ZF better
than I :-)
Andrew
--
Andrew Yager, Managing Director (MACS BCompSc MCP)
Real World Technology Solutions Pty Ltd
ph: 1300 798 718 or (02) 9037 0500
fax: (02) 9037 0591 mob: 0405 152 568
http://www.rwts.com.au/ or http://www.stonebridgecomputing.com.au/