[Dojo-interest] find my widget
Scott J. Miles
sjmiles at turbophp.com
Sun May 15 14:37:05 PDT 2005
Thanks, yes, I've looked at that. I guess I should have been more specific.
Looks like the choices are (1) widgetManager.widgets array, (2)
getWidgetsOfType, and (3) getWidgetsByFilter.
Using any of those choices to find my widget requires extra code for what
seems a basic function; I suspected there might a simpler way.
Is the idea that Dojo widgets have no intrinsic unique identifier, so users
can provide an identification system that suits their particular idiom (if
From: dojo-interest-bounces at dojotoolkit.org
[mailto:dojo-interest-bounces at dojotoolkit.org] On Behalf Of Dylan Schiemann
Sent: Sunday, May 15, 2005 2:20 PM
To: dojo-interest at dojotoolkit.org
Subject: Re: [Dojo-interest] find my widget
-----BEGIN PGP SIGNED MESSAGE-----
dojo.webui.widgetManager contains some useful methods for this.
Scott J. Miles wrote:
| How can I get a reference to a widget object that is created in markup?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.10 - Release Date: 5/13/2005
More information about the Dojo-interest