2009年4月30日星期四

Re: [fw-mvc] dijit.byId issue for Zend_Dojo RadioButton

2009/4/29 Kostyantyn Shakhov <kshakhov@gmail.com>
There are RadioButton and CurrencyTextBox on the page and I'm trying
to disable them but dijit.byId works fine for the CurrencyTextBox and
returns undefined for the RadioButton.

 This is correct because Dom id must be unique, and the radio button are more than one. A bunch of ids, that starts with the id you pass, is used, see the generated markup.


--
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://ossigeno.sourceforge.net

没有评论: