Tag Archives: dom

Dojo: Simple code to dynamically generate widgets and add them to an element

Following on from the last post, this post is about the Dojo JavaScript framework, sorry guys.
Another snippet of code that might help you dynamically generate multiple widgets (hopefully from widgets that you’ve created) based on feeds or array data or pretty much anything.
It was an absolute nightmare to track down how to do this on [...]

Posted in dojo | Also tagged , , , , | Leave a comment

Help for Dojo JavaScript framework users

If you’re getting an error along the lines of:
Error: You cannot use the Render object without specifying where you want to render it’ when calling method

You need to fix the declaration in the widget you’re creating, as you’ve missed something really simple.
Copy the constructor from a pre-existing widget to make sure you haven’t missed anything.
Also, [...]

Posted in dojo | Also tagged , , , | Leave a comment

Ultimate Science Team is Digg proof thanks to caching by WP Super Cache!