• Post Reply Bookmark Topic Watch Topic
  • New Topic

DOJO Question - find by type  RSS feed

 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a DOJO method that returns all the elements of a certain type. For instance, I want to get all the DateTextBox elements on a .jsp page.

I've been looking through the DOJO documentation, and I can't find anything.

Thanks in advance for any help.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Widgets, or arbitrary elements?
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Widgets, in this case - DateTextBox
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dijit.findWidgets doesn't work? (I don't think it'll find nested widgets, but I've never used it, either.)
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That doesn't seem to do it. I think that method is to find all widgets that are found under a certain root, although the documentation is totally pathetic on the subject

http://api.dojotoolkit.org/jsdoc/1.3.2/dijit.findWidgets
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a big deal now, as I found another way to do what I wanted to do. Thanks for the help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!