Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // <div dojoType="myNamespace.MyWidget" templateName="fancyDTLTemplate.html"></div>
- dojo.provide("myNamespace.MyWidget");
- dojo.declare("myNamespace.MyWidget",
- [dijit._Widget, dojox.dtl._Templated],
- {
- templatePath: null,
- templateName: null,
- /* *************************************************************************************************** postCreate */
- postCreate: function()
- {
- },
- /* *********************************************************************************************** buildRendering */
- buildRendering: function()
- {
- this.templatePath = dojo.moduleUrl("myNamespace.templates", this.templateName);
- this.inherited(arguments);
- },
- }
- );
Add Comment
Please, Sign In to add comment