Changeset 6973

Show
Ignore:
Timestamp:
01/02/07 21:44:06 (3 years ago)
Author:
jburke
Message:

Fixes #2197: using dojo.uri.moduleUri instead of dojo.uri.dojoUri to enable xdomain image loading, and to fit better with the module URI concept.

Location:
trunk
Files:
72 modified

Legend:

Unmodified
Added
Removed
  • trunk/buildscripts/internStrings.js

    r6929 r6973  
    6363 
    6464        var prefixes = buildUtil.getDependencyPropertyFromProfile(profileFile, "prefixes"); 
     65        //Make sure dojo is in the list. 
     66        var dojoPath = releaseDir.replace(/^.*(\/|\\)release(\/|\\)/, "release/"); 
     67        prefixes.push(["dojo", dojoPath + "/src"]); 
     68 
    6569        var skiplist = buildUtil.getDependencyPropertyFromProfile(profileFile, "internSkipList"); 
    6670         
  • trunk/src/a11y.js

    r6810 r6973  
    99        // accessible: Boolean uninitialized when null (accessible check has not been performed) 
    1010        //   if true generate accessible widgets 
    11         imgPath:dojo.uri.dojoUri("src/widget/templates/images"), 
     11        imgPath:dojo.uri.moduleUri("dojo", "widget/templates/images"), 
    1212        doAccessibleCheck: true, 
    1313        accessible: null,                
  • trunk/src/debug.js

    r6392 r6973  
    7373        dojo.debugDeep.debugVars.push(obj); 
    7474        // dojo.undo.browser back and forward breaks relpaths 
    75         var url = new dojo.uri.Uri(location, dojo.uri.dojoUri("src/debug/deep.html?var="+idx)).toString(); 
     75        var url = new dojo.uri.Uri(location, dojo.uri.moduleUri("dojo", "debug/deep.html?var="+idx)).toString(); 
    7676        var win = window.open(url, '_blank', 'width=600, height=400, resizable=yes, scrollbars=yes, status=yes'); 
    7777        try{ 
  • trunk/src/io/IframeIO.js

    r6747 r6973  
    1919        var r = dojo.render.html; 
    2020        var cframe = null; 
    21         var turi = uri||dojo.uri.dojoUri("iframe_history.html?noInit=true"); 
     21        var turi = uri||dojo.uri.moduleUri("dojo", "../iframe_history.html?noInit=true"); 
    2222        var ifrstr = ((r.ie)&&(dojo.render.os.win)) ? '<iframe name="'+fname+'" src="'+turi+'" onload="'+onloadstr+'">' : 'iframe'; 
    2323        cframe = document.createElement(ifrstr); 
  • trunk/src/io/XhrIframeProxy.js

    r6812 r6973  
    1616        //Usage of XHR IFrame Proxying does not work from local disk in Safari. 
    1717 
    18         xipClientUrl: djConfig["xipClientUrl"] || dojo.uri.dojoUri("src/io/xip_client.html"), 
     18        xipClientUrl: djConfig["xipClientUrl"] || dojo.uri.moduleUri("dojo", "io/xip_client.html"), 
    1919 
    2020        _state: {}, 
  • trunk/src/lfx/shadow.js

    r6119 r6973  
    77        //      summary 
    88        //      creates a shadow underneath node. 
    9         this.shadowPng = dojo.uri.dojoUri("src/html/images/shadow"); 
     9        this.shadowPng = dojo.uri.moduleUri("dojo", "html/images/shadow"); 
    1010        this.shadowThickness = 8; 
    1111        this.shadowOffset = 15; 
  • trunk/src/rpc/YahooService.js

    r6290 r6973  
    1414                                        "deployment of your application"); 
    1515        } 
    16         this.connect(dojo.uri.dojoUri("src/rpc/yahoo.smd")); 
     16        this.connect(dojo.uri.moduleUri("dojo", "rpc/yahoo.smd")); 
    1717        this.strictArgChecks = false; 
    1818} 
  • trunk/src/storage/browser.js

    r6832 r6973  
    643643         
    644644        _writeApplet: function(){ 
    645                 var archive = dojo.uri.dojoUri("DojoFileStorageProvider.jar").toString(); 
     645                var archive = dojo.uri.moduleUri("dojo", "../DojoFileStorageProvider.jar").toString(); 
    646646                var tag = "<applet " 
    647647                                        + "id='" + dojo.storage.browser.FileStorageProvider._APPLET_ID + "' " 
     
    853853                } 
    854854                dojo.flash.addLoadedListener(loadedListener); 
    855                 var swfloc6 = dojo.uri.dojoUri("Storage_version6.swf").toString(); 
    856                 var swfloc8 = dojo.uri.dojoUri("Storage_version8.swf").toString(); 
     855                var swfloc6 = dojo.uri.moduleUri("dojo", "../Storage_version6.swf").toString(); 
     856                var swfloc8 = dojo.uri.moduleUri("dojo", "../Storage_version8.swf").toString(); 
    857857                dojo.flash.setSwf({flash6: swfloc6, flash8: swfloc8, visible: false}); 
    858858        }, 
  • trunk/src/uri/Uri.js

    r6309 r6973  
    1111                // description: Examples: dojo.uri.moduleUri("dojo","Editor"), or dojo.uri.moduleUri("acme","someWidget") 
    1212                var loc = dojo.hostenv.getModuleSymbols(module).join('/'); 
    13                 //var loc = dojo.hostenv.getModulePrefix(module); 
    14                 if(!loc){return null;} 
    15                 if(loc.lastIndexOf("/") != loc.length-1){loc += "/";} 
    16                 return new dojo.uri.Uri(dojo.hostenv.getBaseScriptUri()+loc,uri); 
     13                if(!loc){ 
     14                        return null; 
     15                } 
     16                if(loc.lastIndexOf("/") != loc.length-1){ 
     17                        loc += "/"; 
     18                } 
     19                 
     20                //If the path is an absolute path (starts with a / or is on another domain/xdomain) 
     21                //then don't add the baseScriptUri. 
     22                var colonIndex = loc.indexOf(":"); 
     23                var slashIndex = loc.indexOf("/"); 
     24                if(loc.charAt(0) != "/" && (colonIndex == -1 || colonIndex > slashIndex)){ 
     25                        loc = dojo.hostenv.getBaseScriptUri() + loc; 
     26                } 
     27 
     28                return new dojo.uri.Uri(loc,uri); 
    1729        } 
    1830 
  • trunk/src/widget/AccordionContainer.js

    r6848 r6973  
    191191        selected: false, 
    192192 
    193         templatePath: dojo.uri.dojoUri("src/widget/templates/AccordionPane.html"), 
    194         templateCssPath: dojo.uri.dojoUri("src/widget/templates/AccordionPane.css"), 
     193        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/AccordionPane.html"), 
     194        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/AccordionPane.css"), 
    195195 
    196196        isContainer: true, 
  • trunk/src/widget/AnimatedPng.js

    r6377 r6973  
    4343                interval: 100, 
    4444 
    45                 _blankSrc: dojo.uri.dojoUri("src/widget/templates/images/blank.gif"), 
     45                _blankSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/blank.gif"), 
    4646 
    4747                templateString: '<img class="dojoAnimatedPng" />', 
  • trunk/src/widget/Button.js

    r6601 r6973  
    2626                caption: "", 
    2727                 
    28                 templatePath: dojo.uri.dojoUri("src/widget/templates/ButtonTemplate.html"), 
    29                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/ButtonTemplate.css"), 
     28                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ButtonTemplate.html"), 
     29                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/ButtonTemplate.css"), 
    3030                 
    3131                // inactiveImg: Url 
    3232                //      prefix of filename holding images (left, center, right) for button in normal state 
    33                 inactiveImg: "src/widget/templates/images/soriaButton-", 
     33                inactiveImg: "widget/templates/images/soriaButton-", 
    3434                 
    3535                // activeImg: Url 
    3636                //      prefix of filename holding images (left, center, right) for button when it's being hovered over 
    37                 activeImg: "src/widget/templates/images/soriaActive-", 
     37                activeImg: "widget/templates/images/soriaActive-", 
    3838 
    3939                // pressedImg: Url 
    4040                //      prefix of filename holding images (left, center, right) for button between mouse-down and mouse-up 
    41                 pressedImg: "src/widget/templates/images/soriaPressed-", 
     41                pressedImg: "widget/templates/images/soriaPressed-", 
    4242 
    4343                // disabledImg: Url 
    4444                //      prefix of filename holding images (left, center, right) for button when it's disabled (aka, grayed-out) 
    45                 disabledImg: "src/widget/templates/images/soriaDisabled-", 
     45                disabledImg: "widget/templates/images/soriaDisabled-", 
    4646                 
    4747                // widget2height: Number 
     
    192192 
    193193                _setImage: function(/*String*/ prefix){ 
    194                         this.leftImage.src=dojo.uri.dojoUri(prefix + "l.gif"); 
    195                         this.centerImage.src=dojo.uri.dojoUri(prefix + "c.gif"); 
    196                         this.rightImage.src=dojo.uri.dojoUri(prefix + "r.gif"); 
     194                        this.leftImage.src=dojo.uri.moduleUri("dojo", prefix + "l.gif"); 
     195                        this.centerImage.src=dojo.uri.moduleUri("dojo", prefix + "c.gif"); 
     196                        this.rightImage.src=dojo.uri.moduleUri("dojo", prefix + "r.gif"); 
    197197                }, 
    198198                 
     
    260260                _sizeMyselfHelper: function(){ 
    261261                        // draw the arrow (todo: why is the arror in containerNode rather than outside it?) 
    262                         this.arrow.src = dojo.uri.dojoUri(this.disabled ? this.disabledDownArrow : this.downArrow); 
     262                        this.arrow.src = dojo.uri.moduleUri("dojo", this.disabled ? this.disabledDownArrow : this.downArrow); 
    263263                        this.containerNode.appendChild(this.arrow); 
    264264 
     
    289289                menuId: "", 
    290290         
    291                 templatePath: dojo.uri.dojoUri("src/widget/templates/ComboButtonTemplate.html"), 
     291                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ComboButtonTemplate.html"), 
    292292         
    293293                // splitWidth: Integer 
     
    338338         
    339339                _setImage: function(prefix){ 
    340                         this.leftImage.src=dojo.uri.dojoUri(prefix + "l.gif"); 
    341                         this.centerImage.src=dojo.uri.dojoUri(prefix + "c.gif"); 
     340                        this.leftImage.src=dojo.uri.moduleUri("dojo", prefix + "l.gif"); 
     341                        this.centerImage.src=dojo.uri.moduleUri("dojo", prefix + "c.gif"); 
    342342                }, 
    343343         
     
    394394         
    395395                _setImageR: function(prefix){ 
    396                         this.arrowBackgroundImage.src=dojo.uri.dojoUri(prefix + "c.gif"); 
    397                         this.rightImage.src=dojo.uri.dojoUri(prefix + "r.gif"); 
     396                        this.arrowBackgroundImage.src=dojo.uri.moduleUri("dojo", prefix + "c.gif"); 
     397                        this.rightImage.src=dojo.uri.moduleUri("dojo", prefix + "r.gif"); 
    398398                }, 
    399399 
  • trunk/src/widget/Checkbox.js

    r6911 r6973  
    1414                //      Same as an HTML checkbox, but with fancy styling 
    1515 
    16                 templatePath: dojo.uri.dojoUri('src/widget/templates/Checkbox.html'), 
    17                 templateCssPath: dojo.uri.dojoUri('src/widget/templates/Checkbox.css'), 
     16                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Checkbox.html"), 
     17                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Checkbox.css"), 
    1818 
    1919                // class: String 
     
    185185                //      variation on Checkbox widget to be display on monitors in high-contrast mode (that don't display CSS background images) 
    186186 
    187                 templatePath: dojo.uri.dojoUri('src/widget/templates/CheckboxA11y.html'), 
     187                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/CheckboxA11y.html"), 
    188188 
    189189                postCreate: function(args, frag){ 
  • trunk/src/widget/Clock.js

    r6501 r6973  
    4848                        second:{ shadow:null, shift:{ dx:4, dy:4} } 
    4949                }; 
    50                 this.image = dojo.uri.dojoUri("src/widget/templates/images/clock.png"); 
     50                this.image = dojo.uri.moduleUri("dojo", "widget/templates/images/clock.png"); 
    5151                this.surface=null; 
    5252                this.labelNode=null; 
  • trunk/src/widget/ComboBox.js

    r6671 r6973  
    345345                // buttonSrc: URI 
    346346                //              URI for the down arrow icon to the right of the input box. 
    347                 buttonSrc: dojo.uri.dojoUri("src/widget/templates/images/combo_box_arrow.png"), 
     347                buttonSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/combo_box_arrow.png"), 
    348348 
    349349                // dropdownToggle: String 
     
    351351                dropdownToggle: "fade", 
    352352 
    353                 templatePath: dojo.uri.dojoUri("src/widget/templates/ComboBox.html"), 
    354                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/ComboBox.css"), 
     353                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ComboBox.html"), 
     354                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/ComboBox.css"), 
    355355 
    356356                setValue: function(/*String*/ value){ 
  • trunk/src/widget/DatePicker.js

    r6881 r6973  
    8787                        selectedDate: "selectedItem" 
    8888                }, 
    89                 templatePath:  dojo.uri.dojoUri("src/widget/templates/DatePicker.html"), 
    90                 templateCssPath:  dojo.uri.dojoUri("src/widget/templates/DatePicker.css"), 
     89                templatePath:  dojo.uri.moduleUri("dojo", "widget/templates/DatePicker.html"), 
     90                templateCssPath:  dojo.uri.moduleUri("dojo", "widget/templates/DatePicker.css"), 
    9191 
    9292                postMixInProperties: function(){ 
  • trunk/src/widget/demoEngine/DemoContainer.js

    r4668 r6973  
    99        dojo.widget.HtmlWidget,  
    1010        { 
    11                 templatePath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoContainer.html"), 
    12                 templateCssPath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoContainer.css"), 
     11                templatePath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoContainer.html"), 
     12                templateCssPath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoContainer.css"), 
    1313                postCreate: function() { 
    1414                        dojo.html.addClass(this.domNode,this.domNodeClass); 
  • trunk/src/widget/demoEngine/DemoItem.js

    r6666 r6973  
    88        dojo.widget.HtmlWidget,  
    99        { 
    10                 templatePath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoItem.html"), 
    11                 templateCssPath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoItem.css"), 
     10                templatePath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoItem.html"), 
     11                templateCssPath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoItem.css"), 
    1212                postCreate: function() { 
    1313                        dojo.html.addClass(this.domNode,this.domNodeClass); 
  • trunk/src/widget/demoEngine/DemoNavigator.js

    r6886 r6973  
    1313        dojo.widget.HtmlWidget,  
    1414        { 
    15                 templatePath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoNavigator.html"), 
    16                 templateCssPath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoNavigator.css"), 
     15                templatePath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoNavigator.html"), 
     16                templateCssPath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoNavigator.css"), 
    1717                postMixInProperties: function(){ 
    1818                        dojo.widget.HtmlWidget.superclass.postMixInProperties.apply(this, arguments); 
  • trunk/src/widget/demoEngine/DemoPane.js

    r4668 r6973  
    66        dojo.widget.HtmlWidget,  
    77        { 
    8                 templatePath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoPane.html"), 
    9                 templateCssPath: dojo.uri.dojoUri("src/widget/demoEngine/templates/DemoPane.css"), 
     8                templatePath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoPane.html"), 
     9                templateCssPath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/DemoPane.css"), 
    1010                postCreate: function() { 
    1111                        dojo.html.addClass(this.domNode,this.domNodeClass); 
  • trunk/src/widget/demoEngine/SourcePane.js

    r4668 r6973  
    77        dojo.widget.HtmlWidget,  
    88        { 
    9                 templatePath: dojo.uri.dojoUri("src/widget/demoEngine/templates/SourcePane.html"), 
    10                 templateCssPath: dojo.uri.dojoUri("src/widget/demoEngine/templates/SourcePane.css"), 
     9                templatePath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/SourcePane.html"), 
     10                templateCssPath: dojo.uri.moduleUri("dojo", "widget/demoEngine/templates/SourcePane.css"), 
    1111                postCreate: function() { 
    1212                        dojo.html.addClass(this.domNode,this.domNodeClass); 
  • trunk/src/widget/Dialog.js

    r6949 r6973  
    330330                //      Dialog is extended from ContentPane so it supports all the same parameters (href, etc.) 
    331331 
    332                 templatePath: dojo.uri.dojoUri("src/widget/templates/Dialog.html"), 
     332                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Dialog.html"), 
    333333 
    334334                // blockDuration: Integer 
  • trunk/src/widget/DomWidget.js

    r6969 r6973  
    1717        // summary: a mapping of strings that are used in template variable replacement 
    1818        dojoRoot: dojo.hostenv.getBaseScriptUri(), 
     19        dojoModuleUri: dojo.uri.moduleUri("dojo"), 
    1920        baseScriptUri: dojo.hostenv.getBaseScriptUri() 
    2021}; 
  • trunk/src/widget/DropdownContainer.js

    r6532 r6973  
    3030 
    3131                // iconURL: dojo.uri.Uri: icon for the dropdown button 
    32                 iconURL: dojo.uri.dojoUri("src/widget/templates/images/combo_box_arrow.png"), 
     32                iconURL: dojo.uri.moduleUri("dojo", "widget/templates/images/combo_box_arrow.png"), 
    3333 
    3434                // copyClass: 
  • trunk/src/widget/DropdownDatePicker.js

    r6511 r6973  
    3737                */ 
    3838 
    39                 iconURL: dojo.uri.dojoUri("src/widget/templates/images/dateIcon.gif"), 
     39                iconURL: dojo.uri.moduleUri("dojo", "widget/templates/images/dateIcon.gif"), 
    4040 
    4141                // formatLength: String 
  • trunk/src/widget/DropdownTimePicker.js

    r6830 r6973  
    3636                // iconURL: URL 
    3737                //      path of icon for button to display time picker widget 
    38                 iconURL: dojo.uri.dojoUri("src/widget/templates/images/timeIcon.gif"), 
     38                iconURL: dojo.uri.moduleUri("dojo", "widget/templates/images/timeIcon.gif"), 
    3939                 
    4040                // formatLength: String 
  • trunk/src/widget/Editor.js

    r6058 r6973  
    427427                        return cmd; 
    428428                } else { 
    429                         return dojo.uri.dojoUri("src/widget/templates/buttons/" + cmd + ".gif"); 
     429                        return dojo.uri.moduleUri("dojo", "widget/templates/buttons/" + cmd + ".gif"); 
    430430                } 
    431431        }, 
  • trunk/src/widget/Editor2.js

    r6929 r6973  
    207207                // toolbarTemplatePath: dojo.uri.Uri 
    208208                //              to specify the template file for the toolbar 
    209                 toolbarTemplatePath: dojo.uri.cache.allow(dojo.uri.dojoUri("src/widget/templates/EditorToolbarOneline.html")), 
     209                toolbarTemplatePath: dojo.uri.cache.allow(dojo.uri.moduleUri("dojo", "widget/templates/EditorToolbarOneline.html")), 
    210210 
    211211                // toolbarTemplateCssPath: dojo.uri.Uri 
    212212                //              to specify the css file for the toolbar 
    213                 toolbarTemplateCssPath: dojo.uri.cache.allow(dojo.uri.dojoUri("src/widget/templates/EditorToolbar.css")), 
     213                toolbarTemplateCssPath: dojo.uri.cache.allow(dojo.uri.moduleUri("dojo", "widget/templates/EditorToolbar.css")), 
    214214 
    215215                // toolbarPlaceHolder: String 
  • trunk/src/widget/Editor2Plugin/AlwaysShowToolbar.js

    r6479 r6973  
    4545                        if((isIE)&&(db)&&(dh.getStyle(db, "background-image")=="none")){ 
    4646                                with(db.style){ 
    47                                         backgroundImage = "url(" + dojo.uri.dojoUri("src/widget/templates/images/blank.gif") + ")"; 
     47                                        backgroundImage = "url(" + dojo.uri.moduleUri("dojo", "widget/templates/images/blank.gif") + ")"; 
    4848                                        backgroundAttachment = "fixed"; 
    4949                                } 
  • trunk/src/widget/Editor2Plugin/CreateLinkDialog.js

    r6655 r6973  
    77        dojo.widget.Editor2DialogContent, 
    88{ 
    9         templatePath: dojo.uri.dojoUri("src/widget/templates/Editor2/Dialog/createlink.html"), 
     9        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Editor2/Dialog/createlink.html"), 
    1010 
    1111        editableAttributes: ['href', 'target', 'class'], 
  • trunk/src/widget/Editor2Plugin/DialogCommands.js

    r6949 r6973  
    1212                //              Provides a Dialog which can be modal or normal for the Editor2. 
    1313 
    14                 templatePath: dojo.uri.dojoUri("src/widget/templates/Editor2/EditorDialog.html"), 
     14                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Editor2/EditorDialog.html"), 
    1515 
    1616                // modal: Boolean: Whether this is a modal dialog. True by default. 
  • trunk/src/widget/Editor2Plugin/DropDownList.js

    r6929 r6973  
    101101        // summary: dojo.widget.Editor2ToolbarFormatBlockSelect is an improved format block setting item 
    102102 
    103         href: dojo.uri.cache.allow(dojo.uri.dojoUri("src/widget/templates/Editor2/EditorToolbar_FormatBlock.html")), 
     103        href: dojo.uri.cache.allow(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/EditorToolbar_FormatBlock.html")), 
    104104 
    105105        setup: function(){ 
     
    172172        // summary: dojo.widget.Editor2ToolbarFontSizeSelect provides a dropdown list for setting fontsize 
    173173 
    174         href: dojo.uri.cache.allow(dojo.uri.dojoUri("src/widget/templates/Editor2/EditorToolbar_FontSize.html")), 
     174        href: dojo.uri.cache.allow(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/EditorToolbar_FontSize.html")), 
    175175 
    176176        setup: function(){ 
     
    240240dojo.declare("dojo.widget.Editor2ToolbarFontNameSelect", dojo.widget.Editor2ToolbarFontSizeSelect, { 
    241241        // summary: dojo.widget.Editor2ToolbarFontNameSelect provides a dropdown list for setting fontname 
    242         href: dojo.uri.cache.allow(dojo.uri.dojoUri("src/widget/templates/Editor2/EditorToolbar_FontName.html")) 
    243 }); 
     242        href: dojo.uri.cache.allow(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/EditorToolbar_FontName.html")) 
     243}); 
  • trunk/src/widget/Editor2Plugin/FindReplace.js

    r6929 r6973  
    5151                                {contentFile: "dojo.widget.Editor2Plugin.FindReplaceDialog",  
    5252                                contentClass: "Editor2ReplaceDialog", 
    53                                 href: dojo.uri.cache.allow(dojo.uri.dojoUri("src/widget/templates/Editor2/Dialog/replace.html")),  
     53                                href: dojo.uri.cache.allow(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/Dialog/replace.html")),  
    5454                                title: "Replace", width: "350px", height: "200px", modal: false}); 
    5555                } 
  • trunk/src/widget/Editor2Plugin/FindReplaceDialog.js

    r6393 r6973  
    55        dojo.widget.Editor2DialogContent, 
    66{ 
    7         templatePath: dojo.uri.dojoUri("src/widget/templates/Editor2/Dialog/find.html"), 
     7        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Editor2/Dialog/find.html"), 
    88 
    99        find: function(){ 
     
    3030        dojo.widget.Editor2DialogContent, 
    3131{ 
    32         templatePath: dojo.uri.dojoUri("src/widget/templates/Editor2/Dialog/replace.html"), 
     32        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Editor2/Dialog/replace.html"), 
    3333 
    3434        replace: function(){ 
  • trunk/src/widget/Editor2Plugin/InsertImageDialog.js

    r6393 r6973  
    55        dojo.widget.Editor2DialogContent, 
    66{ 
    7         templatePath: dojo.uri.dojoUri("src/widget/templates/Editor2/Dialog/insertimage.html"), 
     7        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Editor2/Dialog/insertimage.html"), 
    88 
    99        editableAttributes: ['src', 'alt', 'width', 'height', 'hspace', 'vspace', 'border', 'align'], 
  • trunk/src/widget/Editor2Plugin/InsertTableDialog.js

    r6786 r6973  
    55        dojo.widget.Editor2DialogContent, 
    66{ 
    7         templatePath: dojo.uri.dojoUri("src/widget/templates/Editor2/Dialog/inserttable.html"), 
     7        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Editor2/Dialog/inserttable.html"), 
    88 
    99        editableAttributes: ['summary', 'height', 'cellspacing', 'cellpadding', 'border', 'align'], 
  • trunk/src/widget/Editor2Plugin/TableOperation.js

    r6773 r6973  
    4848                        this._showTableBorder = false; 
    4949                        if(dojo.render.html.moz){ 
    50                                 this._editor.removeStyleSheet(dojo.uri.dojoUri("src/widget/templates/Editor2/showtableborder_gecko.css")); 
     50                                this._editor.removeStyleSheet(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/showtableborder_gecko.css")); 
    5151                        }else if(dojo.render.html.ie){ 
    52                                 this._editor.removeStyleSheet(dojo.uri.dojoUri("src/widget/templates/Editor2/showtableborder_ie.css")); 
     52                                this._editor.removeStyleSheet(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/showtableborder_ie.css")); 
    5353                        } 
    5454                }else{ 
    5555                        this._showTableBorder = true; 
    5656                        if(dojo.render.html.moz){ 
    57                                 this._editor.addStyleSheet(dojo.uri.dojoUri("src/widget/templates/Editor2/showtableborder_gecko.css")); 
     57                                this._editor.addStyleSheet(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/showtableborder_gecko.css")); 
    5858                        }else if(dojo.render.html.ie){ 
    59                                 this._editor.addStyleSheet(dojo.uri.dojoUri("src/widget/templates/Editor2/showtableborder_ie.css")); 
     59                                this._editor.addStyleSheet(dojo.uri.moduleUri("dojo", "widget/templates/Editor2/showtableborder_ie.css")); 
    6060                        } 
    6161                } 
  • trunk/src/widget/Editor2Toolbar.js

    r6773 r6973  
    342342                //              dojo.widget.Editor2Toolbar is the main widget for the toolbar associated with an Editor2 
    343343 
    344                 templatePath: dojo.uri.dojoUri("src/widget/templates/EditorToolbar.html"), 
    345                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/EditorToolbar.css"), 
     344                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/EditorToolbar.html"), 
     345                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/EditorToolbar.css"), 
    346346 
    347347                // ToolbarLatchedItemStyle: String: class name for latched toolbar button items 
  • trunk/src/widget/FisheyeList.js

    r6438 r6973  
    5858{ 
    5959        templateString: '<div class="dojoHtmlFisheyeListBar"></div>', 
    60         templateCssPath: dojo.uri.dojoUri("src/widget/templates/FisheyeList.css"), 
     60        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/FisheyeList.css"), 
    6161 
    6262        isContainer: true, 
     
    621621        id: "", 
    622622 
    623         _blankImgPath: dojo.uri.dojoUri("src/widget/templates/images/blank.gif"), 
     623        _blankImgPath: dojo.uri.moduleUri("dojo", "widget/templates/images/blank.gif"), 
    624624 
    625625        templateString: 
  • trunk/src/widget/FloatingPane.js

    r6949 r6973  
    7676                _taskBarConnectAttempts: 0, 
    7777 
    78                 templatePath: dojo.uri.dojoUri("src/widget/templates/FloatingPane.html"), 
    79                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/FloatingPane.css"), 
     78                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/FloatingPane.html"), 
     79                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/FloatingPane.css"), 
    8080 
    8181                fillInFloatingPaneTemplate: function(args, frag){ 
  • trunk/src/widget/HslColorPicker.js

    r5862 r6973  
    2626 
    2727        //      widget props 
    28         templatePath: dojo.uri.dojoUri("src/widget/templates/HslColorPicker.svg"), 
     28        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/HslColorPicker.svg"), 
    2929        fillInTemplate: function() { 
    3030                this.height = "131px"; 
     
    3232                this.leftGradientColorNode = this.hueNode.ownerDocument.getElementById("leftGradientColor"); 
    3333                this.rightGradientColorNode = this.hueNode.ownerDocument.getElementById("rightGradientColor"); 
    34                 this.hueNode.setAttributeNS(dojo.dom.xmlns.xlink, "href", dojo.uri.dojoUri("src/widget/templates/images/hue.png")); 
     34                this.hueNode.setAttributeNS(dojo.dom.xmlns.xlink, "href", dojo.uri.moduleUri("dojo", "widget/templates/images/hue.png")); 
    3535                var hsl = dojo.gfx.color.hex2hsl(this.storedColor); 
    3636                this.hue = hsl[0]; 
  • trunk/src/widget/InlineEditBox.js

    r6439 r6973  
    2222        }, 
    2323{ 
    24         templatePath: dojo.uri.dojoUri("src/widget/templates/InlineEditBox.html"), 
    25         templateCssPath: dojo.uri.dojoUri("src/widget/templates/InlineEditBox.css"), 
     24        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/InlineEditBox.html"), 
     25        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/InlineEditBox.css"), 
    2626 
    2727        // mode: String 
  • trunk/src/widget/Menu2.js

    r6970 r6973  
    2929 
    3030        templateString: '<table class="dojoPopupMenu2" border=0 cellspacing=0 cellpadding=0 style="display: none;"><tbody dojoAttachPoint="containerNode"></tbody></table>', 
    31         templateCssPath: dojo.uri.dojoUri("src/widget/templates/Menu2.css"), 
     31        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Menu2.css"), 
    3232        templateCssString: "", 
    3333 
  • trunk/src/widget/MonthlyCalendar.js

    r6276 r6973  
    1616                dayWidth: 'wide', 
    1717 
    18                 templatePath: dojo.uri.dojoUri("src/widget/templates/MonthlyCalendar.html"), 
    19                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/MonthlyCalendar.css"), 
     18                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/MonthlyCalendar.html"), 
     19                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/MonthlyCalendar.css"), 
    2020 
    2121                initializer: function(){ 
  • trunk/src/widget/ProgressBar.js

    r6847 r6973  
    9696                duration: 1000, 
    9797 
    98                 templatePath: dojo.uri.dojoUri("src/widget/templates/ProgressBar.html"), 
    99                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/ProgressBar.css"), 
     98                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ProgressBar.html"), 
     99                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/ProgressBar.css"), 
    100100                 
    101101         
  • trunk/src/widget/ResizableTextarea.js

    r6667 r6973  
    1616        //      <textarea dojoType="ResizableTextArea">...</textarea> 
    1717 
    18         templatePath: dojo.uri.dojoUri("src/widget/templates/ResizableTextarea.html"), 
    19         templateCssPath: dojo.uri.dojoUri("src/widget/templates/ResizableTextarea.css"), 
     18        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ResizableTextarea.html"), 
     19        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/ResizableTextarea.css"), 
    2020 
    2121        postMixInProperties: function(){ 
  • trunk/src/widget/ResizeHandle.js

    r6442 r6973  
    1818        targetElmId: '', 
    1919 
    20         templateCssPath: dojo.uri.dojoUri("src/widget/templates/ResizeHandle.css"), 
     20        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/ResizeHandle.css"), 
    2121        templateString: '<div class="dojoHtmlResizeHandle"><div></div></div>', 
    2222 
  • trunk/src/widget/RichText.js

    r6952 r6973  
    511511                        } 
    512512                        // opera likes this to be outside the with block 
    513                         this.iframe.src = dojo.uri.dojoUri("src/widget/templates/richtextframe.html") + ((dojo.doc().domain != currentDomain) ? ("#"+dojo.doc().domain) : ""); 
     513                        this.iframe.src = dojo.uri.moduleUri("dojo", "widget/templates/richtextframe.html") + ((dojo.doc().domain != currentDomain) ? ("#"+dojo.doc().domain) : ""); 
    514514                        this.iframe.width = this.inheritWidth ? this._oldWidth : "100%"; 
    515515                        if(this.height){ 
     
    655655                                        var url = files[i]; 
    656656                                        if(url){ 
    657                                                 this.addStyleSheet(dojo.uri.dojoUri(url)); 
     657                                                this.addStyleSheet(dojo.uri.moduleUri("dojo", url)); 
    658658                                        } 
    659659                                } 
  • trunk/src/widget/Show.js

    r6841 r6973  
    3232        debugPane: null, 
    3333        noClick: false, 
    34         templatePath: dojo.uri.dojoUri("src/widget/templates/Show.html"), 
    35         templateCssPath: dojo.uri.dojoUri("src/widget/templates/Show.css"), 
     34        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Show.html"), 
     35        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Show.css"), 
    3636        fillInTemplate: function(args, frag){ 
    3737                if(args.debugPane){ 
     
    299299        debug: false, 
    300300        noClick: false, 
    301         templatePath: dojo.uri.dojoUri("src/widget/templates/ShowSlide.html"), 
    302         templateCssPath: dojo.uri.dojoUri("src/widget/templates/ShowSlide.css"), 
     301        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ShowSlide.html"), 
     302        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/ShowSlide.css"), 
    303303        postCreate: function(){ 
    304304                this.htmlTitle.innerHTML = this.title; 
  • trunk/src/widget/Slider.js

    r6885 r6973  
    130130                activeDrag: false, 
    131131 
    132                 templateCssPath: dojo.uri.dojoUri ("src/widget/templates/Slider.css"), 
    133                 templatePath: dojo.uri.dojoUri ("src/widget/templates/Slider.html"), 
     132                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Slider.css"), 
     133                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Slider.html"), 
    134134 
    135135                // This is set to true when a drag is started, so that it is not confused 
     
    141141                // bottomButtonSrc: String 
    142142                //      down arrow graphic URL 
    143                 bottomButtonSrc: dojo.uri.dojoUri("src/widget/templates/images/slider_down_arrow.png"), 
     143                bottomButtonSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider_down_arrow.png"), 
    144144 
    145145                // topButtonSrc: String 
    146146                //      up arrow graphic URL 
    147                 topButtonSrc: dojo.uri.dojoUri("src/widget/templates/images/slider_up_arrow.png"), 
     147                topButtonSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider_up_arrow.png"), 
    148148 
    149149                // leftButtonSrc: String 
    150150                //      left arrow graphic URL 
    151                 leftButtonSrc: dojo.uri.dojoUri("src/widget/templates/images/slider_left_arrow.png"), 
     151                leftButtonSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider_left_arrow.png"), 
    152152 
    153153                // rightButtonSrc: String 
    154154                //      right arrow graphic URL 
    155                 rightButtonSrc: dojo.uri.dojoUri("src/widget/templates/images/slider_right_arrow.png"), 
     155                rightButtonSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider_right_arrow.png"), 
    156156 
    157157                // backgroundSrc: String 
    158158                //      slider background graphic URL 
    159                 backgroundSrc: dojo.uri.dojoUri("src/widget/templates/images/blank.gif"), 
     159                backgroundSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/blank.gif"), 
    160160 
    161161                // progressBackgroundSrc: String 
    162162                //      slider background graphic URL to overlay the normal background to show progress 
    163                 progressBackgroundSrc: dojo.uri.dojoUri("src/widget/templates/images/blank.gif"), 
     163                progressBackgroundSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/blank.gif"), 
    164164 
    165165                // backgroundSize: String 
     
    185185                // handleSrc: String 
    186186                //      moveable slider graphic URL 
    187                 handleSrc: dojo.uri.dojoUri("src/widget/templates/images/slider-button.png"), 
     187                handleSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider-button.png"), 
    188188 
    189189                // showButtons: Boolean 
     
    719719 
    720720                backgroundSize: "height:10px;width:200px;", 
    721                 backgroundSrc: dojo.uri.dojoUri("src/widget/templates/images/slider-bg.gif"), 
     721                backgroundSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider-bg.gif"), 
    722722 
    723723                // flip: Boolean 
     
    803803 
    804804                backgroundSize: "width:10px;height:200px;", 
    805                 backgroundSrc: dojo.uri.dojoUri("src/widget/templates/images/slider-bg-vert.gif"), 
     805                backgroundSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/slider-bg-vert.gif"), 
    806806 
    807807                // flip: Boolean 
  • trunk/src/widget/SlideShow.js

    r6442 r6973  
    2424                */ 
    2525 
    26                 templatePath: dojo.uri.dojoUri("src/widget/templates/SlideShow.html"), 
    27                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/SlideShow.css"), 
     26                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/SlideShow.html"), 
     27                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/SlideShow.css"), 
    2828 
    2929                // imgUrls: String[] 
  • trunk/src/widget/Spinner.js

    r6442 r6973  
    3636                timeoutChangeRate: 0.90, 
    3737 
    38                 templatePath: dojo.uri.dojoUri("src/widget/templates/Spinner.html"), 
    39                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/Spinner.css"), 
     38                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Spinner.html"), 
     39                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Spinner.css"), 
    4040 
    4141                // incrementSrc: String 
    4242                //      up arrow graphic URL 
    43                 incrementSrc: dojo.uri.dojoUri("src/widget/templates/images/spinnerIncrement.gif"), 
     43                incrementSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/spinnerIncrement.gif"), 
    4444 
    4545                // decrementSrc: String 
    4646                //      down arrow graphic URL 
    47                 decrementSrc: dojo.uri.dojoUri("src/widget/templates/images/spinnerDecrement.gif"), 
     47                decrementSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/spinnerDecrement.gif"), 
    4848 
    4949                // does the keyboard related stuff 
  • trunk/src/widget/SplitContainer.js

    r6709 r6973  
    3131        isContainer: true, 
    3232 
    33         templateCssPath: dojo.uri.dojoUri("src/widget/templates/SplitContainer.css"), 
     33        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/SplitContainer.css"), 
    3434 
    3535        // activeSizing: Boolean 
  • trunk/src/widget/TabContainer.js

    r6849 r6973  
    3030 
    3131        templateString: null,   // override setting in PageContainer 
    32         templatePath: dojo.uri.dojoUri("src/widget/templates/TabContainer.html"), 
    33         templateCssPath: dojo.uri.dojoUri("src/widget/templates/TabContainer.css"), 
     32        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/TabContainer.html"), 
     33        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TabContainer.css"), 
    3434 
    3535        fillInTemplate: function() { 
     
    181181                //      This is an internal widget and shouldn't be instantiated directly. 
    182182 
    183                 imgPath: dojo.uri.dojoUri("src/widget/templates/images/tab_close.gif"), 
     183                imgPath: dojo.uri.moduleUri("dojo", "widget/templates/images/tab_close.gif"), 
    184184                 
    185185                templateString: "<div class='dojoTab' dojoAttachEvent='onClick;onKey'>" 
  • trunk/src/widget/TaskBar.js

    r6390 r6973  
    2323        caption: 'Untitled', 
    2424 
    25         templatePath: dojo.uri.dojoUri("src/widget/templates/TaskBarItemTemplate.html"), 
    26         templateCssPath: dojo.uri.dojoUri("src/widget/templates/TaskBar.css"), 
     25        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/TaskBarItemTemplate.html"), 
     26        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TaskBar.css"), 
    2727 
    2828        fillInTemplate: function() { 
  • trunk/src/widget/templates/Checkbox.html

    r6838 r6973  
    11<span style="display: inline-block;" tabIndex="${this.tabIndex}" waiRole="${this._type}" id="${this.id}"> 
    2         <img dojoAttachPoint="imageNode" class="${this.class}" src="${dojoRoot}src/widget/templates/images/blank.gif" alt="" /> 
     2        <img dojoAttachPoint="imageNode" class="${this.class}" src="${dojoModuleUri}widget/templates/images/blank.gif" alt="" /> 
    33        <input type="${this._type}" name="${this.name}" style="display: none" value="${this.value}" 
    44                dojoAttachPoint="inputNode"> 
  • trunk/src/widget/templates/ComboButtonTemplate.html

    r5587 r6973  
    1111                dojoAttachEvent="onMouseOver:rightOver; onMouseOut:rightOut; onMouseDown:rightDown; onMouseUp:rightUp; onClick:rightClick;"> 
    1212                <img dojoAttachPoint="arrowBackgroundImage" style="position:absolute;top:0px;left:0px;z-index:1;"> 
    13                 <img src="${dojoRoot}src/widget/templates/images/whiteDownArrow.gif" 
     13                <img src="${dojoModuleUri}widget/templates/images/whiteDownArrow.gif" 
    1414                                style="z-index:2;position:absolute;left:3px;top:50%;"> 
    1515                <img dojoAttachPoint="rightImage" style="position:absolute;top:0px;right:0px;"> 
  • trunk/src/widget/templates/DatePicker.html

    r5887 r6973  
    1111                                                                        dojoAttachEvent="onClick: onIncrementWeek;"  
    1212                                                                        class="incrementControl increase"> 
    13                                                                         <img src="${dojoRoot}src/widget/templates/images/incrementMonth.png"  
     13                                                                        <img src="${dojoModuleUri}widget/templates/images/incrementMonth.png"  
    1414                                                                        alt="&darr;" style="width:7px;height:5px;" /> 
    1515                                                                </span> 
     
    1717                                                                        dojoAttachPoint="increaseMonthNode"  
    1818                                                                        dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl increase"> 
    19                                                                         <img src="${dojoRoot}src/widget/templates/images/incrementMonth.png"  
     19                                                                        <img src="${dojoModuleUri}widget/templates/images/incrementMonth.png"  
    2020                                                                                alt="&darr;"  dojoAttachPoint="incrementMonthImageNode"> 
    2121                                                                </span> 
     
    2424                                                                        dojoAttachEvent="onClick: onIncrementWeek;"  
    2525                                                                        class="incrementControl decrease"> 
    26                                                                         <img src="${dojoRoot}src/widget/templates/images/decrementMonth.png" alt="&uarr;" style="width:7px;height:5px;" /> 
     26                                                                        <img src="${dojoModuleUri}widget/templates/images/decrementMonth.png" alt="&uarr;" style="width:7px;height:5px;" /> 
    2727                                                                </span> 
    2828                                                                <span  
    2929                                                                        dojoAttachPoint="decreaseMonthNode"  
    3030                                                                        dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl decrease"> 
    31                                                                         <img src="${dojoRoot}src/widget/templates/images/decrementMonth.png"  
     31                                                                        <img src="${dojoModuleUri}widget/templates/images/decrementMonth.png"  
    3232                                                                                alt="&uarr;" dojoAttachPoint="decrementMonthImageNode"> 
    3333                                                                </span> 
  • trunk/src/widget/templates/MonthlyCalendar.html

    r5163 r6973  
    66                dojoAttachEvent="onClick: onIncrementWeek;"  
    77                class="incrementControl"> 
    8                 <img src="${dojoRoot}src/widget/templates/decrementWeek.gif" alt="&uarr;" /> 
     8                <img src="${dojoModuleUri}widget/templates/decrementWeek.gif" alt="&uarr;" /> 
    99        </span> 
    1010        --> 
     
    1212                dojoAttachPoint="decreaseMonthNode"  
    1313                dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl"> 
    14                 <img src="${dojoRoot}src/widget/templates/decrementMonth.gif"  
     14                <img src="${dojoModuleUri}widget/templates/decrementMonth.gif"  
    1515                        alt="&uarr;" dojoAttachPoint="decrementMonthImageNode"> 
    1616        </span> 
     
    1919                dojoAttachPoint="increaseMonthNode"  
    2020                dojoAttachEvent="onClick: onIncrementMonth;" class="incrementControl"> 
    21                 <img src="${dojoRoot}src/widget/templates/incrementMonth.gif"  
     21                <img src="${dojoModuleUri}widget/templates/incrementMonth.gif"  
    2222                        alt="&darr;"  dojoAttachPoint="incrementMonthImageNode"> 
    2323        </span> 
     
    2626                        dojoAttachEvent="onClick: onIncrementWeek;"  
    2727                        class="incrementControl"> 
    28                         <img src="${dojoRoot}src/widget/templates/incrementWeek.gif"  
     28                        <img src="${dojoModuleUri}widget/templates/incrementWeek.gif"  
    2929                        alt="&darr;" /> 
    3030                </span> 
  • trunk/src/widget/Textbox.js

    r6925 r6973  
    6161                htmlfloat: "none", 
    6262 
    63                 templatePath: dojo.uri.dojoUri("src/widget/templates/Textbox.html"), 
     63                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Textbox.html"), 
    6464         
    6565                // textbox DomNode: 
  • trunk/src/widget/TimePicker.js

    r6874 r6973  
    8585{ 
    8686        isContainer: false, 
    87         templatePath: dojo.uri.dojoUri("src/widget/templates/TimePicker.html"), 
    88         templateCssPath: dojo.uri.dojoUri("src/widget/templates/TimePicker.css"), 
     87        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/TimePicker.html"), 
     88        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TimePicker.css"), 
    8989 
    9090        postMixInProperties: function(localProperties, frag) { 
  • trunk/src/widget/TitlePane.js

    r6400 r6973  
    2828        open: true, 
    2929 
    30         templatePath: dojo.uri.dojoUri("src/widget/templates/TitlePane.html"), 
     30        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/TitlePane.html"), 
    3131 
    3232        postCreate: function() { 
  • trunk/src/widget/Toaster.js

    r6828 r6973  
    1818 
    1919                templateString: '<div dojoAttachPoint="clipNode"><div dojoAttachPoint="containerNode" dojoAttachEvent="onClick:onSelect"><div dojoAttachPoint="contentNode"></div></div></div>', 
    20                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/Toaster.css"), 
     20                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Toaster.css"), 
    2121                 
    2222                // messageTopic: String 
  • trunk/src/widget/Toolbar.js

    r6560 r6973  
    1313 
    1414        templateString: '<div class="toolbarContainer" dojoAttachPoint="containerNode"></div>', 
    15         templateCssPath: dojo.uri.dojoUri("src/widget/templates/Toolbar.css"), 
     15        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Toolbar.css"), 
    1616 
    1717        getItem: function(name) { 
     
    722722        templateString: '<span unselectable="on" class="toolbarItem toolbarSeparator"></span>', 
    723723 
    724         defaultIconPath: new dojo.uri.dojoUri("src/widget/templates/buttons/sep.gif"), 
     724        defaultIconPath: new dojo.uri.moduleUri("dojo", "widget/templates/buttons/sep.gif"), 
    725725 
    726726        fillInTemplate: function(args, frag, skip) { 
     
    817817                                        domNode.width = img.width||img.offsetWidth; 
    818818                                        domNode.height = img.height||img.offsetHeight; 
    819                                         domNode.setAttribute("src", dojo.uri.dojoUri("src/widget/templates/images/blank.gif").uri); 
     819                                        domNode.setAttribute("src", dojo.uri.moduleUri("dojo", "widget/templates/images/blank.gif").uri); 
    820820                                        domNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+img.src+"',sizingMethod='image')"; 
    821821                                } else { 
  • trunk/src/widget/Tooltip.js

    r6949 r6973  
    3636                connectId: "", 
    3737 
    38                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/TooltipTemplate.css"), 
     38                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TooltipTemplate.css"), 
    3939 
    4040                postCreate: function(args, frag){ 
  • trunk/src/widget/Tree.js

    r6238 r6973  
    6969        DNDAcceptTypes: "", 
    7070 
    71         templateCssPath: dojo.uri.dojoUri("src/widget/templates/images/Tree/Tree.css"), 
     71        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/Tree.css"), 
    7272 
    7373        templateString: '<div class="dojoTree"></div>', 
     
    100100        // 
    101101 
    102         blankIconSrc: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_blank.gif"), 
    103  
    104         gridIconSrcT: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_t.gif"), // for non-last child grid 
    105         gridIconSrcL: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_l.gif"), // for last child grid 
    106         gridIconSrcV: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_v.gif"), // vertical line 
    107         gridIconSrcP: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_p.gif"), // for under parent item child icons 
    108         gridIconSrcC: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_c.gif"), // for under child item child icons 
    109         gridIconSrcX: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_x.gif"), // grid for sole root item 
    110         gridIconSrcY: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_y.gif"), // grid for last rrot item 
    111         gridIconSrcZ: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_grid_z.gif"), // for under root parent item child icon 
    112  
    113         expandIconSrcPlus: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_expand_plus.gif"), 
    114         expandIconSrcMinus: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_expand_minus.gif"), 
    115         expandIconSrcLoading: dojo.uri.dojoUri("src/widget/templates/images/Tree/treenode_loading.gif"), 
     102        blankIconSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_blank.gif"), 
     103 
     104        gridIconSrcT: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_t.gif"), // for non-last child grid 
     105        gridIconSrcL: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_l.gif"), // for last child grid 
     106        gridIconSrcV: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_v.gif"), // vertical line 
     107        gridIconSrcP: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_p.gif"), // for under parent item child icons 
     108        gridIconSrcC: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_c.gif"), // for under child item child icons 
     109        gridIconSrcX: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_x.gif"), // grid for sole root item 
     110        gridIconSrcY: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_y.gif"), // grid for last rrot item 
     111        gridIconSrcZ: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_grid_z.gif"), // for under root parent item child icon 
     112 
     113        expandIconSrcPlus: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_expand_plus.gif"), 
     114        expandIconSrcMinus: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_expand_minus.gif"), 
     115        expandIconSrcLoading: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/treenode_loading.gif"), 
    116116 
    117117 
  • trunk/src/widget/TreeDisableWrapExtension.js

    r6354 r6973  
    1313         * can't unlisten 
    1414         */ 
    15         templateCssPath: dojo.uri.dojoUri( "src/widget/templates/TreeDisableWrap.css" ), 
     15        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TreeDisableWrap.css" ), 
    1616                 
    1717        listenTree: function(tree) { 
  • trunk/src/widget/TreeDocIconExtension.js

    r6354 r6973  
    1515         */ 
    1616         
    17         templateCssPath: dojo.uri.dojoUri("src/widget/templates/TreeDocIcon.css"), 
     17        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TreeDocIcon.css"), 
    1818 
    1919         
  • trunk/src/widget/TreeNode.js

    r6022 r6973  
    4040 
    4141        childIconSrc: "", 
    42         childIconFolderSrc: dojo.uri.dojoUri("src/widget/templates/images/Tree/closed.gif"), // for under root parent item child icon, 
    43         childIconDocumentSrc: dojo.uri.dojoUri("src/widget/templates/images/Tree/document.gif"), // for under root parent item child icon, 
     42        childIconFolderSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/closed.gif"), // for under root parent item child icon, 
     43        childIconDocumentSrc: dojo.uri.moduleUri("dojo", "widget/templates/images/Tree/document.gif"), // for under root parent item child icon, 
    4444 
    4545        childIcon: null, 
  • trunk/src/widget/TreeV3.js

    r6809 r6973  
    9292 
    9393    // will have cssRoot before it  
    94         templateCssPath: dojo.uri.dojoUri("src/widget/templates/TreeV3.css"), 
     94        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/TreeV3.css"), 
    9595 
    9696        templateString: '<div style="${this.style}">\n</div>', 
  • trunk/src/widget/ValidationTextbox.js

    r6676 r6973  
    5050                lastCheckedValue: null, 
    5151         
    52                 templatePath: dojo.uri.dojoUri("src/widget/templates/ValidationTextbox.html"), 
    53                 templateCssPath: dojo.uri.dojoUri("src/widget/templates/Validate.css"), 
     52                templatePath: dojo.uri.moduleUri("dojo", "widget/templates/ValidationTextbox.html"), 
     53                templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Validate.css"), 
    5454                 
    5555                // new DOM nodes 
  • trunk/src/widget/Wizard.js

    r6679 r6973  
    1919        //              procedure like an install 
    2020         
    21         templatePath: dojo.uri.dojoUri("src/widget/templates/Wizard.html"), 
    22         templateCssPath: dojo.uri.dojoUri("src/widget/templates/Wizard.css"), 
     21        templatePath: dojo.uri.moduleUri("dojo", "widget/templates/Wizard.html"), 
     22        templateCssPath: dojo.uri.moduleUri("dojo", "widget/templates/Wizard.css"), 
    2323 
    2424        // selected: DomNode