| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
define(["dojo", "dijit", "dojox", "dijit/_Widget", "dijit/_TemplatedMixin", "dojo/text!./test_mvc_widget_template.html"], |
| 7 |
function(dojo, dijit, dojox, Widget, TemplatedMixin, template){ |
| 8 |
return dojo.declare("dojox.mvc.tests.test_templatedWidget.myMvcTemplated", [Widget, TemplatedMixin], { |
| 9 |
templateString: template, |
| 10 |
widgetsInTemplate: true, |
| 11 |
|
| 12 |
buildRendering: function(){ |
| 13 |
console.log("call myMvcTemplated buildRendering"); |
| 14 |
this.inherited(arguments); |
| 15 |
}, |
| 16 |
|
| 17 |
getParent: function(){ |
| 18 |
console.log("Call myMvcTemplated getParent"); |
| 19 |
return null; |
| 20 |
} |
| 21 |
}); |
| 22 |
}); |