SWF-1387 Upgrade to Dojo 1.5.0 and include dojox

This commit is contained in:
Rossen Stoyanchev
2010-08-25 14:34:58 +00:00
parent 6a23dd5774
commit 53be587189
4 changed files with 43 additions and 5 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
dojo.version=1.2.4
dojo.version=1.5.0
dojo.download.url=http://download.dojotoolkit.org/release-${dojo.version}/dojo-release-${dojo.version}-src.zip
dojo.profile=standard.profile.js

View File

@@ -15,7 +15,8 @@ dependencies ={
]
},
// Now add layers from Dojo's standard.profile.js
// Now add layers from Dojo's standard.profile.js:
// http://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js
{
name: "../dijit/dijit.js",
@@ -31,9 +32,46 @@ dependencies ={
dependencies: [
"dijit.dijit-all"
]
}
},
{
name: "../dojox/grid/DataGrid.js",
dependencies: [
"dojox.grid.DataGrid"
]
},
{
name: "../dojox/gfx.js",
dependencies: [
"dojox.gfx"
]
},
// FIXME:
// we probably need a better structure for this layer and need to
// add some of the most common themes
{
name: "../dojox/charting/widget/Chart2D.js",
dependencies: [
"dojox.charting.widget.Chart2D",
"dojox.charting.widget.Sparkline",
"dojox.charting.widget.Legend"
]
},
{
name: "../dojox/dtl.js",
dependencies: [
"dojox.dtl",
"dojox.dtl.Context",
"dojox.dtl.tag.logic",
"dojox.dtl.tag.loop",
"dojox.dtl.tag.date",
"dojox.dtl.tag.loader",
"dojox.dtl.tag.misc",
"dojox.dtl.ext-dojo.NodeList"
]
}
],
prefixes: [
[ "dijit", "../dijit" ]
[ "dijit", "../dijit" ],
[ "dojox", "../dojox" ]
]
};

View File

@@ -312,7 +312,7 @@ dojo.declare("Spring.RemotingHandler", Spring.AbstractRemotingHandler, {
document.body.appendChild(tempSpan);
tempSpan.innerHTML=response;
var tempContainer = new dojo.NodeList(tempSpan);
var newNodes = tempContainer.query("#ajaxResponse > *").orphan();
var newNodes = tempContainer.query(">").orphan();
tempContainer.orphan();
//Insert the new DOM nodes and update the Form's action URL