Wednesday, June 7th, 2006
Dojo Widgets: Beyond Hello World
Brian McCallister started to get a bit deeper into Dojo widgets, and kindly decided to fill us in on his work.
In his piece he builds on the new dojo.widget.defineWidget:
-
-
dojo.widget.defineWidget("skife.sample.CommentPane", dojo.widget.HtmlWidget, {
-
templatePath: "http://morphy.skife.org/src/dojo-samples/CommentPane.html",
-
templateCssPath: "http://morphy.skife.org/src/dojo-samples/CommentPane.css",
-
-
/* Default Property Values */
-
-
title: "I am a widget named Bob",
-
-
postMixInProperties: function() {
-
this.strings = {
-
title: this.title
-
}
-
}
-
})
-
Brian makes the code available for the CommentPane example.












I used Dojo for a while, now I use jsLINB. But They are not well documented too.
Dojo’s doc is awful.
fhdfgh
test