[Dojo-interest] dojo.event.connect to IntegerTextbox.update

Joseph Firebaugh jfirebau at us.ibm.com
Tue Aug 7 17:01:33 UTC 2007


I apologize if this is a newbie question...

But the following works on a dojo:ValidationTextbox but not a
dojo:IntegerTextbox where widget is the corresponding dojo widget. 

   dojo.event.connect( widget, "update", manager, "validate" );

The manager.validate() method successfully fires when the update method is
called on the ValidationTextbox -- and both widgets are created
programatically. -- Both widgets are visually showing validation changes.

Or maybe there is a cleaner way to "listen" to state changes on the
ValidationTextbox widgets.
-- 
View this message in context: http://www.nabble.com/dojo.event.connect-to-IntegerTextbox.update-tf4231375.html#a12038123
Sent from the Dojo mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070807/f7e847ea/attachment-0001.html 


More information about the Dojo-interest mailing list