[Dojo-interest] cannot connect to radioGroup.onSelect

mengel at notes.cc.sunysb.edu mengel at notes.cc.sunysb.edu
Wed Jan 24 09:20:36 MST 2007


It's probably losing scope.  What is 'this' referring to?  Try specifying 
a class if possible.

Matthew Engel
Senior Programmer/Analyst
State University of New York at Stony Brook
mengel at notes.cc.sunysb.edu



"Naresh Poobahg" <naresh.poobahg at gmail.com> 
Sent by: dojo-interest-bounces at dojotoolkit.org
01/24/2007 11:18 AM
Please respond to
dojo-interest at dojotoolkit.org


To
dojo-interest at dojotoolkit.org
cc

Subject
[Dojo-interest] cannot connect to radioGroup.onSelect






Hi everybody,

I am trying to use the RadioGroup widget :

this._radioGroup = dojo.widget.createWidget("dojo:RadioGroup",{},
dojo.byId("someOrderedListIdentifier"));
 
dojo.event.connect(this._radioGroup ,
                                                 this._radioGroup 
.onSelect,
                                                 this, 
this._onSelectHandler);

The widget is created, and the _onSelectHandler function is never
executed, allthough the "onSelect" method of the radioGroup widget is
executed each time I select an item of the list.
This code is quite simple, I don't understand what is wrong! Can you
please help me?

thanks in advance,
Naresh
_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
Dojo-interest at dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070124/019d0b8a/attachment.html


More information about the Dojo-interest mailing list