You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2015/05/22 12:58:42 UTC

[15/50] struts git commit: Moves deprecated plugins to struts-archive repo

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDisableWrapExtension.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDisableWrapExtension.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDisableWrapExtension.js
deleted file mode 100644
index 8ede99f..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDisableWrapExtension.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeDisableWrapExtension");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeExtension");
-dojo.widget.defineWidget("dojo.widget.TreeDisableWrapExtension", dojo.widget.TreeExtension, {templateCssString:"\n/* CSS for TreeDisableWrapExtension */\n\n.TreeDisableWrap {\n\twhite-space: nowrap;\n}\n.TreeIEDisableWrap {\n\twidth: expression( 5 + firstChild.offsetWidth );\n}\n", templateCssPath:dojo.uri.moduleUri("dojo.widget", "templates/TreeDisableWrap.css"), listenTree:function (tree) {
-	var wrappingDiv = document.createElement("div");
-	var clazz = tree.classPrefix + "DisableWrap";
-	if (dojo.render.html.ie) {
-		clazz = clazz + " " + tree.classPrefix + "IEDisableWrap";
-	}
-	dojo.html.setClass(wrappingDiv, clazz);
-	var table = document.createElement("table");
-	wrappingDiv.appendChild(table);
-	var tbody = document.createElement("tbody");
-	table.appendChild(tbody);
-	var tr = document.createElement("tr");
-	tbody.appendChild(tr);
-	var td = document.createElement("td");
-	tr.appendChild(td);
-	if (tree.domNode.parentNode) {
-		tree.domNode.parentNode.replaceChild(wrappingDiv, tree.domNode);
-	}
-	td.appendChild(tree.domNode);
-	tree.domNode = wrappingDiv;
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDndControllerV3.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDndControllerV3.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDndControllerV3.js
deleted file mode 100644
index e49f659..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDndControllerV3.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeDndControllerV3");
-dojo.require("dojo.dnd.TreeDragAndDropV3");
-dojo.require("dojo.experimental");
-dojo.experimental("Tree drag'n'drop' has lots of problems/bugs, it requires dojo drag'n'drop overhaul to work, probably in 0.5");
-dojo.widget.defineWidget("dojo.widget.TreeDndControllerV3", [dojo.widget.HtmlWidget, dojo.widget.TreeCommon], function () {
-	this.dragSources = {};
-	this.dropTargets = {};
-	this.listenedTrees = {};
-}, {listenTreeEvents:["afterChangeTree", "beforeTreeDestroy", "afterAddChild"], listenNodeFilter:function (elem) {
-	return elem instanceof dojo.widget.Widget;
-}, initialize:function (args) {
-	this.treeController = dojo.lang.isString(args.controller) ? dojo.widget.byId(args.controller) : args.controller;
-	if (!this.treeController) {
-		dojo.raise("treeController must be declared");
-	}
-}, onBeforeTreeDestroy:function (message) {
-	this.unlistenTree(message.source);
-}, onAfterAddChild:function (message) {
-	this.listenNode(message.child);
-}, onAfterChangeTree:function (message) {
-	if (!message.oldTree) {
-		return;
-	}
-	if (!message.newTree || !this.listenedTrees[message.newTree.widgetId]) {
-		this.processDescendants(message.node, this.listenNodeFilter, this.unlistenNode);
-	}
-	if (!this.listenedTrees[message.oldTree.widgetId]) {
-		this.processDescendants(message.node, this.listenNodeFilter, this.listenNode);
-	}
-}, listenNode:function (node) {
-	if (!node.tree.DndMode) {
-		return;
-	}
-	if (this.dragSources[node.widgetId] || this.dropTargets[node.widgetId]) {
-		return;
-	}
-	var source = null;
-	var target = null;
-	if (!node.actionIsDisabled(node.actions.MOVE)) {
-		var source = this.makeDragSource(node);
-		this.dragSources[node.widgetId] = source;
-	}
-	var target = this.makeDropTarget(node);
-	this.dropTargets[node.widgetId] = target;
-}, makeDragSource:function (node) {
-	return new dojo.dnd.TreeDragSourceV3(node.contentNode, this, node.tree.widgetId, node);
-}, makeDropTarget:function (node) {
-	return new dojo.dnd.TreeDropTargetV3(node.contentNode, this.treeController, node.tree.DndAcceptTypes, node);
-}, unlistenNode:function (node) {
-	if (this.dragSources[node.widgetId]) {
-		dojo.dnd.dragManager.unregisterDragSource(this.dragSources[node.widgetId]);
-		delete this.dragSources[node.widgetId];
-	}
-	if (this.dropTargets[node.widgetId]) {
-		dojo.dnd.dragManager.unregisterDropTarget(this.dropTargets[node.widgetId]);
-		delete this.dropTargets[node.widgetId];
-	}
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDocIconExtension.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDocIconExtension.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDocIconExtension.js
deleted file mode 100644
index f5e883e..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeDocIconExtension.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeDocIconExtension");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeExtension");
-dojo.widget.defineWidget("dojo.widget.TreeDocIconExtension", [dojo.widget.TreeExtension], {templateCssString:"\n/* CSS for TreeDocIconExtension */\n\n\n/* long vertical line under docIcon, connecting w/ children */\n.TreeStateChildrenYes-ExpandOpen .TreeIconContent {\n	background-image : url('../templates/images/TreeV3/i_long.gif');\n	background-repeat : no-repeat;\n	background-position: 18px 9px;\n}\n\n/* close has higher priority */\n.TreeStateChildrenYes-ExpandClosed .TreeIconContent {\n	background-image : url();\n}\n\n/* higher priotity: same length and appear after background-definition */\n.TreeStateChildrenNo-ExpandLeaf .TreeIconContent {\n	background-image : url();\n}\n\n.TreeStateChildrenNo-ExpandClosed .TreeIconContent {\n	background-image : url();\n}\n\n.TreeStateChildrenNo-ExpandOpen .TreeIconContent {\n	background-image : url();\n}\n\n\n/* highest priority */\n.TreeIconDocument {\n	background-image: url('../templates/images/TreeV3/document.gif');\n}\n\n.TreeExpandOpen .
 TreeIconFolder {\n	background-image: url('../templates/images/TreeV3/open.gif');\n}\n\n.TreeExpandClosed .TreeIconFolder {\n	background-image: url('../templates/images/TreeV3/closed.gif');\n}\n\n/* generic class for docIcon */\n.TreeIcon {\n	width: 18px;\n	height: 18px;\n	float: left;\n	display: inline;\n	background-repeat : no-repeat;\n}\n\ndiv.TreeContent {\n	margin-left: 36px;\n}\n", templateCssPath:dojo.uri.moduleUri("dojo.widget", "templates/TreeDocIcon.css"), listenTreeEvents:["afterChangeTree", "afterSetFolder", "afterUnsetFolder"], listenNodeFilter:function (elem) {
-	return elem instanceof dojo.widget.Widget;
-}, getnodeDocType:function (node) {
-	var nodeDocType = node.getnodeDocType();
-	if (!nodeDocType) {
-		nodeDocType = node.isFolder ? "Folder" : "Document";
-	}
-	return nodeDocType;
-}, setnodeDocTypeClass:function (node) {
-	var reg = new RegExp("(^|\\s)" + node.tree.classPrefix + "Icon\\w+", "g");
-	var clazz = dojo.html.getClass(node.iconNode).replace(reg, "") + " " + node.tree.classPrefix + "Icon" + this.getnodeDocType(node);
-	dojo.html.setClass(node.iconNode, clazz);
-}, onAfterSetFolder:function (message) {
-	if (message.source.iconNode) {
-		this.setnodeDocTypeClass(message.source);
-	}
-}, onAfterUnsetFolder:function (message) {
-	this.setnodeDocTypeClass(message.source);
-}, listenNode:function (node) {
-	node.contentIconNode = document.createElement("div");
-	var clazz = node.tree.classPrefix + "IconContent";
-	if (dojo.render.html.ie) {
-		clazz = clazz + " " + node.tree.classPrefix + "IEIconContent";
-	}
-	dojo.html.setClass(node.contentIconNode, clazz);
-	node.contentNode.parentNode.replaceChild(node.contentIconNode, node.expandNode);
-	node.iconNode = document.createElement("div");
-	dojo.html.setClass(node.iconNode, node.tree.classPrefix + "Icon" + " " + node.tree.classPrefix + "Icon" + this.getnodeDocType(node));
-	node.contentIconNode.appendChild(node.expandNode);
-	node.contentIconNode.appendChild(node.iconNode);
-	dojo.dom.removeNode(node.contentNode);
-	node.contentIconNode.appendChild(node.contentNode);
-}, onAfterChangeTree:function (message) {
-	var _this = this;
-	if (!message.oldTree || !this.listenedTrees[message.oldTree.widgetId]) {
-		this.processDescendants(message.node, this.listenNodeFilter, this.listenNode);
-	}
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEditor.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEditor.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEditor.js
deleted file mode 100644
index 4c4e488..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEditor.js
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.require("dojo.widget.*");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.RichText");
-dojo.provide("dojo.widget.TreeEditor");
-dojo.widget.defineWidget("dojo.widget.TreeEditor", dojo.widget.HtmlWidget, {singleLineMode:false, saveOnBlur:true, sync:false, selectOnOpen:true, controller:null, node:null, richTextParams:{styleSheets:"src/widget/templates/TreeEditor.css"}, getContents:function () {
-	return this.richText.getEditorContent();
-}, open:function (node) {
-	if (!this.richText) {
-		this.richText = dojo.widget.createWidget("RichText", this.richTextParams, node.labelNode);
-		dojo.event.connect("around", this.richText, "onKeyDown", this, "richText_onKeyDown");
-		dojo.event.connect(this.richText, "onBlur", this, "richText_onBlur");
-		var self = this;
-		dojo.event.connect(this.richText, "onLoad", function () {
-			if (self.selectOnOpen) {
-				self.richText.execCommand("selectall");
-			}
-		});
-	} else {
-		this.richText.open(node.labelNode);
-	}
-	this.node = node;
-}, close:function (save) {
-	this.richText.close(save);
-	this.node = null;
-}, isClosed:function () {
-	return !this.richText || this.richText.isClosed;
-}, execCommand:function () {
-	this.richText.execCommand.apply(this.richText, arguments);
-}, richText_onKeyDown:function (invocation) {
-	var e = invocation.args[0];
-	if ((!e) && (this.object)) {
-		e = dojo.event.browser.fixEvent(this.editor.window.event);
-	}
-	switch (e.keyCode) {
-	  case e.KEY_ESCAPE:
-		this.finish(false);
-		dojo.event.browser.stopEvent(e);
-		break;
-	  case e.KEY_ENTER:
-		if (e.ctrlKey && !this.singleLineMode) {
-			this.execCommand("inserthtml", "<br/>");
-		} else {
-			this.finish(true);
-		}
-		dojo.event.browser.stopEvent(e);
-		break;
-	  default:
-		return invocation.proceed();
-	}
-}, richText_onBlur:function () {
-	this.finish(this.saveOnBlur);
-}, finish:function (save) {
-	return this.controller.editLabelFinish(save, this.sync);
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphaseOnSelect.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphaseOnSelect.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphaseOnSelect.js
deleted file mode 100644
index 55833408..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphaseOnSelect.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-dojo.provide("dojo.widget.TreeEmphaseOnSelect");
-
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeSelectorV3");
-dojo.require("dojo.html.selection");
-
-// selector extension to emphase node
-
-dojo.widget.defineWidget(
-	"dojo.widget.TreeEmphaseOnSelect",
-	dojo.widget.HtmlWidget,
-{
-	selector: "",
-	
-	initialize: function() {
-		this.selector = dojo.widget.byId(this.selector);
-		
-		dojo.event.topic.subscribe(this.selector.eventNames.select, this, "onSelect");
-		dojo.event.topic.subscribe(this.selector.eventNames.deselect, this, "onDeselect");	
-	},
-
-	
-	onSelect: function(message) {
-		message.node.viewEmphase()		
-	},
-	
-	onDeselect: function(message) {
-		message.node.viewUnemphase()
-	}
-	
-
-});

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphasizeOnSelect.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphasizeOnSelect.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphasizeOnSelect.js
deleted file mode 100644
index 92c21c9..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeEmphasizeOnSelect.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeEmphasizeOnSelect");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeSelectorV3");
-dojo.require("dojo.html.selection");
-dojo.widget.defineWidget("dojo.widget.TreeEmphasizeOnSelect", dojo.widget.HtmlWidget, {selector:"", initialize:function () {
-	this.selector = dojo.widget.byId(this.selector);
-	dojo.event.topic.subscribe(this.selector.eventNames.select, this, "onSelect");
-	dojo.event.topic.subscribe(this.selector.eventNames.deselect, this, "onDeselect");
-}, onSelect:function (message) {
-	message.node.viewEmphasize();
-}, onDeselect:function (message) {
-	message.node.viewUnemphasize();
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandOnSelect.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandOnSelect.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandOnSelect.js
deleted file mode 100644
index 1f9f519..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandOnSelect.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-dojo.provide("dojo.widget.TreeExpandOnSelect");
-
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeSelectorV3");
-dojo.require("dojo.html.selection");
-
-/**
- * when a node is selected, expands tree to make it visible
- * useful for program expansion
- */
-dojo.widget.defineWidget(
-	"dojo.widget.TreeExpandOnSelect",
-	dojo.widget.HtmlWidget,
-{
-	selector: "",
-	controller: "",
-	
-	initialize: function() {
-		this.selector = dojo.widget.byId(this.selector);
-		this.controller = dojo.widget.byId(this.controller);
-		
-		dojo.event.topic.subscribe(this.selector.eventNames.select, this, "onSelect");	
-	},
-
-	
-	onSelect: function(message) {
-		this.controller.expandToNode(message.node)
-	}
-	
-	
-
-});

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandToNodeOnSelect.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandToNodeOnSelect.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandToNodeOnSelect.js
deleted file mode 100644
index 83504ec..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExpandToNodeOnSelect.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeExpandToNodeOnSelect");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.widget.defineWidget("dojo.widget.TreeExpandToNodeOnSelect", dojo.widget.HtmlWidget, {selector:"", controller:"", withSelected:false, initialize:function () {
-	this.selector = dojo.widget.byId(this.selector);
-	this.controller = dojo.widget.byId(this.controller);
-	dojo.event.topic.subscribe(this.selector.eventNames.select, this, "onSelect");
-}, onSelectEvent:function (message) {
-	this.controller.expandToNode(message.node, this.withSelected);
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExtension.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExtension.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExtension.js
deleted file mode 100644
index d53e2c1..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeExtension.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeExtension");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeCommon");
-dojo.widget.defineWidget("dojo.widget.TreeExtension", [dojo.widget.HtmlWidget, dojo.widget.TreeCommon], function () {
-	this.listenedTrees = {};
-}, {});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLinkExtension.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLinkExtension.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLinkExtension.js
deleted file mode 100644
index 6009660..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLinkExtension.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeLinkExtension");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeExtension");
-dojo.widget.defineWidget("dojo.widget.TreeLinkExtension", dojo.widget.TreeExtension, function () {
-	this.params = {};
-}, {listenTreeEvents:["afterChangeTree"], listenTree:function (tree) {
-	dojo.widget.TreeCommon.prototype.listenTree.call(this, tree);
-	var labelNode = tree.labelNodeTemplate;
-	var newLabel = this.makeALabel();
-	dojo.html.setClass(newLabel, dojo.html.getClass(labelNode));
-	labelNode.parentNode.replaceChild(newLabel, labelNode);
-}, makeALabel:function () {
-	var newLabel = document.createElement("a");
-	for (var key in this.params) {
-		if (key in {}) {
-			continue;
-		}
-		newLabel.setAttribute(key, this.params[key]);
-	}
-	return newLabel;
-}, onAfterChangeTree:function (message) {
-	var _this = this;
-	if (!message.oldTree) {
-		this.listenNode(message.node);
-	}
-}, listenNode:function (node) {
-	for (var key in node.object) {
-		if (key in {}) {
-			continue;
-		}
-		node.labelNode.setAttribute(key, node.object[key]);
-	}
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingController.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingController.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingController.js
deleted file mode 100644
index 1b02ccc..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingController.js
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeLoadingController");
-dojo.require("dojo.widget.TreeBasicController");
-dojo.require("dojo.event.*");
-dojo.require("dojo.json");
-dojo.require("dojo.io.*");
-dojo.widget.defineWidget("dojo.widget.TreeLoadingController", dojo.widget.TreeBasicController, {RPCUrl:"", RPCActionParam:"action", RPCErrorHandler:function (type, obj, evt) {
-	alert("RPC Error: " + (obj.message || "no message"));
-}, preventCache:true, getRPCUrl:function (action) {
-	if (this.RPCUrl == "local") {
-		var dir = document.location.href.substr(0, document.location.href.lastIndexOf("/"));
-		var localUrl = dir + "/" + action;
-		return localUrl;
-	}
-	if (!this.RPCUrl) {
-		dojo.raise("Empty RPCUrl: can't load");
-	}
-	return this.RPCUrl + (this.RPCUrl.indexOf("?") > -1 ? "&" : "?") + this.RPCActionParam + "=" + action;
-}, loadProcessResponse:function (node, result, callObj, callFunc) {
-	if (!dojo.lang.isUndefined(result.error)) {
-		this.RPCErrorHandler("server", result.error);
-		return false;
-	}
-	var newChildren = result;
-	if (!dojo.lang.isArray(newChildren)) {
-		dojo.raise("loadProcessResponse: Not array loaded: " + newChildren);
-	}
-	for (var i = 0; i < newChildren.length; i++) {
-		newChildren[i] = dojo.widget.createWidget(node.widgetType, newChildren[i]);
-		node.addChild(newChildren[i]);
-	}
-	node.state = node.loadStates.LOADED;
-	if (dojo.lang.isFunction(callFunc)) {
-		callFunc.apply(dojo.lang.isUndefined(callObj) ? this : callObj, [node, newChildren]);
-	}
-}, getInfo:function (obj) {
-	return obj.getInfo();
-}, runRPC:function (kw) {
-	var _this = this;
-	var handle = function (type, data, evt) {
-		if (kw.lock) {
-			dojo.lang.forEach(kw.lock, function (t) {
-				t.unlock();
-			});
-		}
-		if (type == "load") {
-			kw.load.call(this, data);
-		} else {
-			this.RPCErrorHandler(type, data, evt);
-		}
-	};
-	if (kw.lock) {
-		dojo.lang.forEach(kw.lock, function (t) {
-			t.lock();
-		});
-	}
-	dojo.io.bind({url:kw.url, handle:dojo.lang.hitch(this, handle), mimetype:"text/json", preventCache:_this.preventCache, sync:kw.sync, content:{data:dojo.json.serialize(kw.params)}});
-}, loadRemote:function (node, sync, callObj, callFunc) {
-	var _this = this;
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree)};
-	this.runRPC({url:this.getRPCUrl("getChildren"), load:function (result) {
-		_this.loadProcessResponse(node, result, callObj, callFunc);
-	}, sync:sync, lock:[node], params:params});
-}, expand:function (node, sync, callObj, callFunc) {
-	if (node.state == node.loadStates.UNCHECKED && node.isFolder) {
-		this.loadRemote(node, sync, this, function (node, newChildren) {
-			this.expand(node, sync, callObj, callFunc);
-		});
-		return;
-	}
-	dojo.widget.TreeBasicController.prototype.expand.apply(this, arguments);
-}, doMove:function (child, newParent, index) {
-	if (newParent.isTreeNode && newParent.state == newParent.loadStates.UNCHECKED) {
-		this.loadRemote(newParent, true);
-	}
-	return dojo.widget.TreeBasicController.prototype.doMove.apply(this, arguments);
-}, doCreateChild:function (parent, index, data, callObj, callFunc) {
-	if (parent.state == parent.loadStates.UNCHECKED) {
-		this.loadRemote(parent, true);
-	}
-	return dojo.widget.TreeBasicController.prototype.doCreateChild.apply(this, arguments);
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingControllerV3.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingControllerV3.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingControllerV3.js
deleted file mode 100644
index 48b4ffc..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeLoadingControllerV3.js
+++ /dev/null
@@ -1,250 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeLoadingControllerV3");
-dojo.require("dojo.widget.TreeBasicControllerV3");
-dojo.require("dojo.event.*");
-dojo.require("dojo.json");
-dojo.require("dojo.io.*");
-dojo.require("dojo.Deferred");
-dojo.require("dojo.DeferredList");
-dojo.declare("dojo.Error", Error, function (message, extra) {
-	this.message = message;
-	this.extra = extra;
-	this.stack = (new Error()).stack;
-});
-dojo.declare("dojo.CommunicationError", dojo.Error, function () {
-	this.name = "CommunicationError";
-});
-dojo.declare("dojo.LockedError", dojo.Error, function () {
-	this.name = "LockedError";
-});
-dojo.declare("dojo.FormatError", dojo.Error, function () {
-	this.name = "FormatError";
-});
-dojo.declare("dojo.RpcError", dojo.Error, function () {
-	this.name = "RpcError";
-});
-dojo.widget.defineWidget("dojo.widget.TreeLoadingControllerV3", dojo.widget.TreeBasicControllerV3, {RpcUrl:"", RpcActionParam:"action", preventCache:true, checkValidRpcResponse:function (type, obj) {
-	if (type != "load") {
-		var extra = {};
-		for (var i = 1; i < arguments.length; i++) {
-			dojo.lang.mixin(extra, arguments[i]);
-		}
-		return new dojo.CommunicationError(obj, extra);
-	}
-	if (typeof obj != "object") {
-		return new dojo.FormatError("Wrong server answer format " + (obj && obj.toSource ? obj.toSource() : obj) + " type " + (typeof obj), obj);
-	}
-	if (!dojo.lang.isUndefined(obj.error)) {
-		return new dojo.RpcError(obj.error, obj);
-	}
-	return false;
-}, getDeferredBindHandler:function (deferred) {
-	return dojo.lang.hitch(this, function (type, obj) {
-		var error = this.checkValidRpcResponse.apply(this, arguments);
-		if (error) {
-			deferred.errback(error);
-			return;
-		}
-		deferred.callback(obj);
-	});
-}, getRpcUrl:function (action) {
-	if (this.RpcUrl == "local") {
-		var dir = document.location.href.substr(0, document.location.href.lastIndexOf("/"));
-		var localUrl = dir + "/local/" + action;
-		return localUrl;
-	}
-	if (!this.RpcUrl) {
-		dojo.raise("Empty RpcUrl: can't load");
-	}
-	var url = this.RpcUrl;
-	if (url.indexOf("/") != 0) {
-		var protocol = document.location.href.replace(/:\/\/.*/, "");
-		var prefix = document.location.href.substring(protocol.length + 3);
-		if (prefix.lastIndexOf("/") != prefix.length - 1) {
-			prefix = prefix.replace(/\/[^\/]+$/, "/");
-		}
-		if (prefix.lastIndexOf("/") != prefix.length - 1) {
-			prefix = prefix + "/";
-		}
-		url = protocol + "://" + prefix + url;
-	}
-	return url + (url.indexOf("?") > -1 ? "&" : "?") + this.RpcActionParam + "=" + action;
-}, loadProcessResponse:function (node, result) {
-	if (!dojo.lang.isArray(result)) {
-		throw new dojo.FormatError("loadProcessResponse: Not array loaded: " + result);
-	}
-	node.setChildren(result);
-}, runRpc:function (kw) {
-	var _this = this;
-	var deferred = new dojo.Deferred();
-	dojo.io.bind({url:kw.url, handle:this.getDeferredBindHandler(deferred), mimetype:"text/javascript", preventCache:this.preventCache, sync:kw.sync, content:{data:dojo.json.serialize(kw.params)}});
-	return deferred;
-}, loadRemote:function (node, sync) {
-	var _this = this;
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree)};
-	var deferred = this.runRpc({url:this.getRpcUrl("getChildren"), sync:sync, params:params});
-	deferred.addCallback(function (res) {
-		return _this.loadProcessResponse(node, res);
-	});
-	return deferred;
-}, batchExpandTimeout:0, recurseToLevel:function (widget, level, callFunc, callObj, skipFirst, sync) {
-	if (level == 0) {
-		return;
-	}
-	if (!skipFirst) {
-		var deferred = callFunc.call(callObj, widget, sync);
-	} else {
-		var deferred = dojo.Deferred.prototype.makeCalled();
-	}
-	var _this = this;
-	var recurseOnExpand = function () {
-		var children = widget.children;
-		var deferreds = [];
-		for (var i = 0; i < children.length; i++) {
-			deferreds.push(_this.recurseToLevel(children[i], level - 1, callFunc, callObj, sync));
-		}
-		return new dojo.DeferredList(deferreds);
-	};
-	deferred.addCallback(recurseOnExpand);
-	return deferred;
-}, expandToLevel:function (nodeOrTree, level, sync) {
-	return this.recurseToLevel(nodeOrTree, nodeOrTree.isTree ? level + 1 : level, this.expand, this, nodeOrTree.isTree, sync);
-}, loadToLevel:function (nodeOrTree, level, sync) {
-	return this.recurseToLevel(nodeOrTree, nodeOrTree.isTree ? level + 1 : level, this.loadIfNeeded, this, nodeOrTree.isTree, sync);
-}, loadAll:function (nodeOrTree, sync) {
-	return this.loadToLevel(nodeOrTree, Number.POSITIVE_INFINITY, sync);
-}, expand:function (node, sync) {
-	var _this = this;
-	var deferred = this.startProcessing(node);
-	deferred.addCallback(function () {
-		return _this.loadIfNeeded(node, sync);
-	});
-	deferred.addCallback(function (res) {
-		dojo.widget.TreeBasicControllerV3.prototype.expand(node);
-		return res;
-	});
-	deferred.addBoth(function (res) {
-		_this.finishProcessing(node);
-		return res;
-	});
-	return deferred;
-}, loadIfNeeded:function (node, sync) {
-	var deferred;
-	if (node.state == node.loadStates.UNCHECKED && node.isFolder && !node.children.length) {
-		deferred = this.loadRemote(node, sync);
-	} else {
-		deferred = new dojo.Deferred();
-		deferred.callback();
-	}
-	return deferred;
-}, runStages:function (check, prepare, make, finalize, expose, args) {
-	var _this = this;
-	if (check && !check.apply(this, args)) {
-		return false;
-	}
-	var deferred = dojo.Deferred.prototype.makeCalled();
-	if (prepare) {
-		deferred.addCallback(function () {
-			return prepare.apply(_this, args);
-		});
-	}
-	if (make) {
-		deferred.addCallback(function () {
-			var res = make.apply(_this, args);
-			return res;
-		});
-	}
-	if (finalize) {
-		deferred.addBoth(function (res) {
-			finalize.apply(_this, args);
-			return res;
-		});
-	}
-	if (expose) {
-		deferred.addCallback(function (res) {
-			expose.apply(_this, args);
-			return res;
-		});
-	}
-	return deferred;
-}, startProcessing:function (nodesArray) {
-	var deferred = new dojo.Deferred();
-	var nodes = dojo.lang.isArray(nodesArray) ? nodesArray : arguments;
-	for (var i = 0; i < nodes.length; i++) {
-		if (nodes[i].isLocked()) {
-			deferred.errback(new dojo.LockedError("item locked " + nodes[i], nodes[i]));
-			return deferred;
-		}
-		if (nodes[i].isTreeNode) {
-			nodes[i].markProcessing();
-		}
-		nodes[i].lock();
-	}
-	deferred.callback();
-	return deferred;
-}, finishProcessing:function (nodesArray) {
-	var nodes = dojo.lang.isArray(nodesArray) ? nodesArray : arguments;
-	for (var i = 0; i < nodes.length; i++) {
-		if (!nodes[i].hasLock()) {
-			continue;
-		}
-		nodes[i].unlock();
-		if (nodes[i].isTreeNode) {
-			nodes[i].unmarkProcessing();
-		}
-	}
-}, refreshChildren:function (nodeOrTree, sync) {
-	return this.runStages(null, this.prepareRefreshChildren, this.doRefreshChildren, this.finalizeRefreshChildren, this.exposeRefreshChildren, arguments);
-}, prepareRefreshChildren:function (nodeOrTree, sync) {
-	var deferred = this.startProcessing(nodeOrTree);
-	nodeOrTree.destroyChildren();
-	nodeOrTree.state = nodeOrTree.loadStates.UNCHECKED;
-	return deferred;
-}, doRefreshChildren:function (nodeOrTree, sync) {
-	return this.loadRemote(nodeOrTree, sync);
-}, finalizeRefreshChildren:function (nodeOrTree, sync) {
-	this.finishProcessing(nodeOrTree);
-}, exposeRefreshChildren:function (nodeOrTree, sync) {
-	nodeOrTree.expand();
-}, move:function (child, newParent, index) {
-	return this.runStages(this.canMove, this.prepareMove, this.doMove, this.finalizeMove, this.exposeMove, arguments);
-}, doMove:function (child, newParent, index) {
-	child.tree.move(child, newParent, index);
-	return true;
-}, prepareMove:function (child, newParent, index, sync) {
-	var deferred = this.startProcessing(newParent);
-	deferred.addCallback(dojo.lang.hitch(this, function () {
-		return this.loadIfNeeded(newParent, sync);
-	}));
-	return deferred;
-}, finalizeMove:function (child, newParent) {
-	this.finishProcessing(newParent);
-}, prepareCreateChild:function (parent, index, data, sync) {
-	var deferred = this.startProcessing(parent);
-	deferred.addCallback(dojo.lang.hitch(this, function () {
-		return this.loadIfNeeded(parent, sync);
-	}));
-	return deferred;
-}, finalizeCreateChild:function (parent) {
-	this.finishProcessing(parent);
-}, prepareClone:function (child, newParent, index, deep, sync) {
-	var deferred = this.startProcessing(child, newParent);
-	deferred.addCallback(dojo.lang.hitch(this, function () {
-		return this.loadIfNeeded(newParent, sync);
-	}));
-	return deferred;
-}, finalizeClone:function (child, newParent) {
-	this.finishProcessing(child, newParent);
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNode.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNode.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNode.js
deleted file mode 100644
index 50984ad..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNode.js
+++ /dev/null
@@ -1,246 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeNode");
-dojo.require("dojo.html.*");
-dojo.require("dojo.event.*");
-dojo.require("dojo.io.*");
-dojo.widget.defineWidget("dojo.widget.TreeNode", dojo.widget.HtmlWidget, function () {
-	this.actionsDisabled = [];
-}, {widgetType:"TreeNode", loadStates:{UNCHECKED:"UNCHECKED", LOADING:"LOADING", LOADED:"LOADED"}, actions:{MOVE:"MOVE", REMOVE:"REMOVE", EDIT:"EDIT", ADDCHILD:"ADDCHILD"}, isContainer:true, lockLevel:0, templateString:("<div class=\"dojoTreeNode\"> " + "<span treeNode=\"${this.widgetId}\" class=\"dojoTreeNodeLabel\" dojoAttachPoint=\"labelNode\"> " + "\t\t<span dojoAttachPoint=\"titleNode\" dojoAttachEvent=\"onClick: onTitleClick\" class=\"dojoTreeNodeLabelTitle\">${this.title}</span> " + "</span> " + "<span class=\"dojoTreeNodeAfterLabel\" dojoAttachPoint=\"afterLabelNode\">${this.afterLabel}</span> " + "<div dojoAttachPoint=\"containerNode\" style=\"display:none\"></div> " + "</div>").replace(/(>|<)\s+/g, "$1"), childIconSrc:"", childIconFolderSrc:dojo.uri.moduleUri("dojo.widget", "templates/images/Tree/closed.gif"), childIconDocumentSrc:dojo.uri.moduleUri("dojo.widget", "templates/images/Tree/document.gif"), childIcon:null, isTreeNode:true, objectId:"", afterLabel:"", afterLabel
 Node:null, expandIcon:null, title:"", object:"", isFolder:false, labelNode:null, titleNode:null, imgs:null, expandLevel:"", tree:null, depth:0, isExpanded:false, state:null, domNodeInitialized:false, isFirstChild:function () {
-	return this.getParentIndex() == 0 ? true : false;
-}, isLastChild:function () {
-	return this.getParentIndex() == this.parent.children.length - 1 ? true : false;
-}, lock:function () {
-	return this.tree.lock.apply(this, arguments);
-}, unlock:function () {
-	return this.tree.unlock.apply(this, arguments);
-}, isLocked:function () {
-	return this.tree.isLocked.apply(this, arguments);
-}, cleanLock:function () {
-	return this.tree.cleanLock.apply(this, arguments);
-}, actionIsDisabled:function (action) {
-	var _this = this;
-	var disabled = false;
-	if (this.tree.strictFolders && action == this.actions.ADDCHILD && !this.isFolder) {
-		disabled = true;
-	}
-	if (dojo.lang.inArray(_this.actionsDisabled, action)) {
-		disabled = true;
-	}
-	if (this.isLocked()) {
-		disabled = true;
-	}
-	return disabled;
-}, getInfo:function () {
-	var info = {widgetId:this.widgetId, objectId:this.objectId, index:this.getParentIndex(), isFolder:this.isFolder};
-	return info;
-}, initialize:function (args, frag) {
-	this.state = this.loadStates.UNCHECKED;
-	for (var i = 0; i < this.actionsDisabled.length; i++) {
-		this.actionsDisabled[i] = this.actionsDisabled[i].toUpperCase();
-	}
-	this.expandLevel = parseInt(this.expandLevel);
-}, adjustDepth:function (depthDiff) {
-	for (var i = 0; i < this.children.length; i++) {
-		this.children[i].adjustDepth(depthDiff);
-	}
-	this.depth += depthDiff;
-	if (depthDiff > 0) {
-		for (var i = 0; i < depthDiff; i++) {
-			var img = this.tree.makeBlankImg();
-			this.imgs.unshift(img);
-			dojo.html.insertBefore(this.imgs[0], this.domNode.firstChild);
-		}
-	}
-	if (depthDiff < 0) {
-		for (var i = 0; i < -depthDiff; i++) {
-			this.imgs.shift();
-			dojo.html.removeNode(this.domNode.firstChild);
-		}
-	}
-}, markLoading:function () {
-	this._markLoadingSavedIcon = this.expandIcon.src;
-	this.expandIcon.src = this.tree.expandIconSrcLoading;
-}, unMarkLoading:function () {
-	if (!this._markLoadingSavedIcon) {
-		return;
-	}
-	var im = new Image();
-	im.src = this.tree.expandIconSrcLoading;
-	if (this.expandIcon.src == im.src) {
-		this.expandIcon.src = this._markLoadingSavedIcon;
-	}
-	this._markLoadingSavedIcon = null;
-}, setFolder:function () {
-	dojo.event.connect(this.expandIcon, "onclick", this, "onTreeClick");
-	this.expandIcon.src = this.isExpanded ? this.tree.expandIconSrcMinus : this.tree.expandIconSrcPlus;
-	this.isFolder = true;
-}, createDOMNode:function (tree, depth) {
-	this.tree = tree;
-	this.depth = depth;
-	this.imgs = [];
-	for (var i = 0; i < this.depth + 1; i++) {
-		var img = this.tree.makeBlankImg();
-		this.domNode.insertBefore(img, this.labelNode);
-		this.imgs.push(img);
-	}
-	this.expandIcon = this.imgs[this.imgs.length - 1];
-	this.childIcon = this.tree.makeBlankImg();
-	this.imgs.push(this.childIcon);
-	dojo.html.insertBefore(this.childIcon, this.titleNode);
-	if (this.children.length || this.isFolder) {
-		this.setFolder();
-	} else {
-		this.state = this.loadStates.LOADED;
-	}
-	dojo.event.connect(this.childIcon, "onclick", this, "onIconClick");
-	for (var i = 0; i < this.children.length; i++) {
-		this.children[i].parent = this;
-		var node = this.children[i].createDOMNode(this.tree, this.depth + 1);
-		this.containerNode.appendChild(node);
-	}
-	if (this.children.length) {
-		this.state = this.loadStates.LOADED;
-	}
-	this.updateIcons();
-	this.domNodeInitialized = true;
-	dojo.event.topic.publish(this.tree.eventNames.createDOMNode, {source:this});
-	return this.domNode;
-}, onTreeClick:function (e) {
-	dojo.event.topic.publish(this.tree.eventNames.treeClick, {source:this, event:e});
-}, onIconClick:function (e) {
-	dojo.event.topic.publish(this.tree.eventNames.iconClick, {source:this, event:e});
-}, onTitleClick:function (e) {
-	dojo.event.topic.publish(this.tree.eventNames.titleClick, {source:this, event:e});
-}, markSelected:function () {
-	dojo.html.addClass(this.titleNode, "dojoTreeNodeLabelSelected");
-}, unMarkSelected:function () {
-	dojo.html.removeClass(this.titleNode, "dojoTreeNodeLabelSelected");
-}, updateExpandIcon:function () {
-	if (this.isFolder) {
-		this.expandIcon.src = this.isExpanded ? this.tree.expandIconSrcMinus : this.tree.expandIconSrcPlus;
-	} else {
-		this.expandIcon.src = this.tree.blankIconSrc;
-	}
-}, updateExpandGrid:function () {
-	if (this.tree.showGrid) {
-		if (this.depth) {
-			this.setGridImage(-2, this.isLastChild() ? this.tree.gridIconSrcL : this.tree.gridIconSrcT);
-		} else {
-			if (this.isFirstChild()) {
-				this.setGridImage(-2, this.isLastChild() ? this.tree.gridIconSrcX : this.tree.gridIconSrcY);
-			} else {
-				this.setGridImage(-2, this.isLastChild() ? this.tree.gridIconSrcL : this.tree.gridIconSrcT);
-			}
-		}
-	} else {
-		this.setGridImage(-2, this.tree.blankIconSrc);
-	}
-}, updateChildGrid:function () {
-	if ((this.depth || this.tree.showRootGrid) && this.tree.showGrid) {
-		this.setGridImage(-1, (this.children.length && this.isExpanded) ? this.tree.gridIconSrcP : this.tree.gridIconSrcC);
-	} else {
-		if (this.tree.showGrid && !this.tree.showRootGrid) {
-			this.setGridImage(-1, (this.children.length && this.isExpanded) ? this.tree.gridIconSrcZ : this.tree.blankIconSrc);
-		} else {
-			this.setGridImage(-1, this.tree.blankIconSrc);
-		}
-	}
-}, updateParentGrid:function () {
-	var parent = this.parent;
-	for (var i = 0; i < this.depth; i++) {
-		var idx = this.imgs.length - (3 + i);
-		var img = (this.tree.showGrid && !parent.isLastChild()) ? this.tree.gridIconSrcV : this.tree.blankIconSrc;
-		this.setGridImage(idx, img);
-		parent = parent.parent;
-	}
-}, updateExpandGridColumn:function () {
-	if (!this.tree.showGrid) {
-		return;
-	}
-	var _this = this;
-	var icon = this.isLastChild() ? this.tree.blankIconSrc : this.tree.gridIconSrcV;
-	dojo.lang.forEach(_this.getDescendants(), function (node) {
-		node.setGridImage(_this.depth, icon);
-	});
-	this.updateExpandGrid();
-}, updateIcons:function () {
-	this.imgs[0].style.display = this.tree.showRootGrid ? "inline" : "none";
-	this.buildChildIcon();
-	this.updateExpandGrid();
-	this.updateChildGrid();
-	this.updateParentGrid();
-	dojo.profile.stop("updateIcons");
-}, buildChildIcon:function () {
-	if (this.childIconSrc) {
-		this.childIcon.src = this.childIconSrc;
-	}
-	this.childIcon.style.display = this.childIconSrc ? "inline" : "none";
-}, setGridImage:function (idx, src) {
-	if (idx < 0) {
-		idx = this.imgs.length + idx;
-	}
-	this.imgs[idx].style.backgroundImage = "url(" + src + ")";
-}, updateIconTree:function () {
-	this.tree.updateIconTree.call(this);
-}, expand:function () {
-	if (this.isExpanded) {
-		return;
-	}
-	if (this.children.length) {
-		this.showChildren();
-	}
-	this.isExpanded = true;
-	this.updateExpandIcon();
-	dojo.event.topic.publish(this.tree.eventNames.expand, {source:this});
-}, collapse:function () {
-	if (!this.isExpanded) {
-		return;
-	}
-	this.hideChildren();
-	this.isExpanded = false;
-	this.updateExpandIcon();
-	dojo.event.topic.publish(this.tree.eventNames.collapse, {source:this});
-}, hideChildren:function () {
-	this.tree.toggleObj.hide(this.containerNode, this.toggleDuration, this.explodeSrc, dojo.lang.hitch(this, "onHide"));
-	if (dojo.exists(dojo, "dnd.dragManager.dragObjects") && dojo.dnd.dragManager.dragObjects.length) {
-		dojo.dnd.dragManager.cacheTargetLocations();
-	}
-}, showChildren:function () {
-	this.tree.toggleObj.show(this.containerNode, this.toggleDuration, this.explodeSrc, dojo.lang.hitch(this, "onShow"));
-	if (dojo.exists(dojo, "dnd.dragManager.dragObjects") && dojo.dnd.dragManager.dragObjects.length) {
-		dojo.dnd.dragManager.cacheTargetLocations();
-	}
-}, addChild:function () {
-	return this.tree.addChild.apply(this, arguments);
-}, doAddChild:function () {
-	return this.tree.doAddChild.apply(this, arguments);
-}, edit:function (props) {
-	dojo.lang.mixin(this, props);
-	if (props.title) {
-		this.titleNode.innerHTML = this.title;
-	}
-	if (props.afterLabel) {
-		this.afterLabelNode.innerHTML = this.afterLabel;
-	}
-	if (props.childIconSrc) {
-		this.buildChildIcon();
-	}
-}, removeNode:function () {
-	return this.tree.removeNode.apply(this, arguments);
-}, doRemoveNode:function () {
-	return this.tree.doRemoveNode.apply(this, arguments);
-}, toString:function () {
-	return "[" + this.widgetType + " Tree:" + this.tree + " ID:" + this.widgetId + " Title:" + this.title + "]";
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNodeV3.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNodeV3.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNodeV3.js
deleted file mode 100644
index de376d3..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeNodeV3.js
+++ /dev/null
@@ -1,310 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeNodeV3");
-dojo.require("dojo.html.*");
-dojo.require("dojo.event.*");
-dojo.require("dojo.io.*");
-dojo.require("dojo.widget.TreeWithNode");
-dojo.widget.defineWidget("dojo.widget.TreeNodeV3", [dojo.widget.HtmlWidget, dojo.widget.TreeWithNode], function () {
-	this.actionsDisabled = [];
-	this.object = {};
-}, {tryLazyInit:true, actions:{MOVE:"MOVE", DETACH:"DETACH", EDIT:"EDIT", ADDCHILD:"ADDCHILD", SELECT:"SELECT"}, labelClass:"", contentClass:"", expandNode:null, labelNode:null, nodeDocType:"", selected:false, getnodeDocType:function () {
-	return this.nodeDocType;
-}, cloneProperties:["actionsDisabled", "tryLazyInit", "nodeDocType", "objectId", "object", "title", "isFolder", "isExpanded", "state"], clone:function (deep) {
-	var ret = new this.constructor();
-	for (var i = 0; i < this.cloneProperties.length; i++) {
-		var prop = this.cloneProperties[i];
-		ret[prop] = dojo.lang.shallowCopy(this[prop], true);
-	}
-	if (this.tree.unsetFolderOnEmpty && !deep && this.isFolder) {
-		ret.isFolder = false;
-	}
-	ret.toggleObj = this.toggleObj;
-	dojo.widget.manager.add(ret);
-	ret.tree = this.tree;
-	ret.buildRendering({}, {});
-	ret.initialize({}, {});
-	if (deep && this.children.length) {
-		for (var i = 0; i < this.children.length; i++) {
-			var child = this.children[i];
-			if (child.clone) {
-				ret.children.push(child.clone(deep));
-			} else {
-				ret.children.push(dojo.lang.shallowCopy(child, deep));
-			}
-		}
-		ret.setChildren();
-	}
-	return ret;
-}, markProcessing:function () {
-	this.markProcessingSavedClass = dojo.html.getClass(this.expandNode);
-	dojo.html.setClass(this.expandNode, this.tree.classPrefix + "ExpandLoading");
-}, unmarkProcessing:function () {
-	dojo.html.setClass(this.expandNode, this.markProcessingSavedClass);
-}, buildRendering:function (args, fragment, parent) {
-	if (args.tree) {
-		this.tree = dojo.lang.isString(args.tree) ? dojo.widget.manager.getWidgetById(args.tree) : args.tree;
-	} else {
-		if (parent && parent.tree) {
-			this.tree = parent.tree;
-		}
-	}
-	if (!this.tree) {
-		dojo.raise("Can't evaluate tree from arguments or parent");
-	}
-	this.domNode = this.tree.nodeTemplate.cloneNode(true);
-	this.expandNode = this.domNode.firstChild;
-	this.contentNode = this.domNode.childNodes[1];
-	this.labelNode = this.contentNode.firstChild;
-	if (this.labelClass) {
-		dojo.html.addClass(this.labelNode, this.labelClass);
-	}
-	if (this.contentClass) {
-		dojo.html.addClass(this.contentNode, this.contentClass);
-	}
-	this.domNode.widgetId = this.widgetId;
-	this.labelNode.innerHTML = this.title;
-}, isTreeNode:true, object:{}, title:"", isFolder:null, contentNode:null, expandClass:"", isExpanded:false, containerNode:null, getInfo:function () {
-	var info = {widgetId:this.widgetId, objectId:this.objectId, index:this.getParentIndex()};
-	return info;
-}, setFolder:function () {
-	this.isFolder = true;
-	this.viewSetExpand();
-	if (!this.containerNode) {
-		this.viewAddContainer();
-	}
-	dojo.event.topic.publish(this.tree.eventNames.afterSetFolder, {source:this});
-}, initialize:function (args, frag, parent) {
-	if (args.isFolder) {
-		this.isFolder = true;
-	}
-	if (this.children.length || this.isFolder) {
-		this.setFolder();
-	} else {
-		this.viewSetExpand();
-	}
-	for (var i = 0; i < this.actionsDisabled.length; i++) {
-		this.actionsDisabled[i] = this.actionsDisabled[i].toUpperCase();
-	}
-	dojo.event.topic.publish(this.tree.eventNames.afterChangeTree, {oldTree:null, newTree:this.tree, node:this});
-}, unsetFolder:function () {
-	this.isFolder = false;
-	this.viewSetExpand();
-	dojo.event.topic.publish(this.tree.eventNames.afterUnsetFolder, {source:this});
-}, insertNode:function (parent, index) {
-	if (!index) {
-		index = 0;
-	}
-	if (index == 0) {
-		dojo.html.prependChild(this.domNode, parent.containerNode);
-	} else {
-		dojo.html.insertAfter(this.domNode, parent.children[index - 1].domNode);
-	}
-}, updateTree:function (newTree) {
-	if (this.tree === newTree) {
-		return;
-	}
-	var oldTree = this.tree;
-	dojo.lang.forEach(this.getDescendants(), function (elem) {
-		elem.tree = newTree;
-	});
-	if (oldTree.classPrefix != newTree.classPrefix) {
-		var stack = [this.domNode];
-		var elem;
-		var reg = new RegExp("(^|\\s)" + oldTree.classPrefix, "g");
-		while (elem = stack.pop()) {
-			for (var i = 0; i < elem.childNodes.length; i++) {
-				var childNode = elem.childNodes[i];
-				if (childNode.nodeDocType != 1) {
-					continue;
-				}
-				dojo.html.setClass(childNode, dojo.html.getClass(childNode).replace(reg, "$1" + newTree.classPrefix));
-				stack.push(childNode);
-			}
-		}
-	}
-	var message = {oldTree:oldTree, newTree:newTree, node:this};
-	dojo.event.topic.publish(this.tree.eventNames.afterChangeTree, message);
-	dojo.event.topic.publish(newTree.eventNames.afterChangeTree, message);
-}, addedTo:function (parent, index, dontPublishEvent) {
-	if (this.tree !== parent.tree) {
-		this.updateTree(parent.tree);
-	}
-	if (parent.isTreeNode) {
-		if (!parent.isFolder) {
-			parent.setFolder();
-			parent.state = parent.loadStates.LOADED;
-		}
-	}
-	var siblingsCount = parent.children.length;
-	this.insertNode(parent, index);
-	this.viewAddLayout();
-	if (siblingsCount > 1) {
-		if (index == 0 && parent.children[1] instanceof dojo.widget.Widget) {
-			parent.children[1].viewUpdateLayout();
-		}
-		if (index == siblingsCount - 1 && parent.children[siblingsCount - 2] instanceof dojo.widget.Widget) {
-			parent.children[siblingsCount - 2].viewUpdateLayout();
-		}
-	} else {
-		if (parent.isTreeNode) {
-			parent.viewSetHasChildren();
-		}
-	}
-	if (!dontPublishEvent) {
-		var message = {child:this, index:index, parent:parent};
-		dojo.event.topic.publish(this.tree.eventNames.afterAddChild, message);
-	}
-}, createSimple:function (args, parent) {
-	if (args.tree) {
-		var tree = args.tree;
-	} else {
-		if (parent) {
-			var tree = parent.tree;
-		} else {
-			dojo.raise("createSimple: can't evaluate tree");
-		}
-	}
-	tree = dojo.widget.byId(tree);
-	var treeNode = new tree.defaultChildWidget();
-	for (var x in args) {
-		treeNode[x] = args[x];
-	}
-	treeNode.toggleObj = dojo.lfx.toggle[treeNode.toggle.toLowerCase()] || dojo.lfx.toggle.plain;
-	dojo.widget.manager.add(treeNode);
-	treeNode.buildRendering(args, {}, parent);
-	treeNode.initialize(args, {}, parent);
-	if (treeNode.parent) {
-		delete dojo.widget.manager.topWidgets[treeNode.widgetId];
-	}
-	return treeNode;
-}, viewUpdateLayout:function () {
-	this.viewRemoveLayout();
-	this.viewAddLayout();
-}, viewAddContainer:function () {
-	this.containerNode = this.tree.containerNodeTemplate.cloneNode(true);
-	this.domNode.appendChild(this.containerNode);
-}, viewAddLayout:function () {
-	if (this.parent["isTree"]) {
-		dojo.html.setClass(this.domNode, dojo.html.getClass(this.domNode) + " " + this.tree.classPrefix + "IsRoot");
-	}
-	if (this.isLastChild()) {
-		dojo.html.setClass(this.domNode, dojo.html.getClass(this.domNode) + " " + this.tree.classPrefix + "IsLast");
-	}
-}, viewRemoveLayout:function () {
-	dojo.html.removeClass(this.domNode, this.tree.classPrefix + "IsRoot");
-	dojo.html.removeClass(this.domNode, this.tree.classPrefix + "IsLast");
-}, viewGetExpandClass:function () {
-	if (this.isFolder) {
-		return this.isExpanded ? "ExpandOpen" : "ExpandClosed";
-	} else {
-		return "ExpandLeaf";
-	}
-}, viewSetExpand:function () {
-	var expand = this.tree.classPrefix + this.viewGetExpandClass();
-	var reg = new RegExp("(^|\\s)" + this.tree.classPrefix + "Expand\\w+", "g");
-	dojo.html.setClass(this.domNode, dojo.html.getClass(this.domNode).replace(reg, "") + " " + expand);
-	this.viewSetHasChildrenAndExpand();
-}, viewGetChildrenClass:function () {
-	return "Children" + (this.children.length ? "Yes" : "No");
-}, viewSetHasChildren:function () {
-	var clazz = this.tree.classPrefix + this.viewGetChildrenClass();
-	var reg = new RegExp("(^|\\s)" + this.tree.classPrefix + "Children\\w+", "g");
-	dojo.html.setClass(this.domNode, dojo.html.getClass(this.domNode).replace(reg, "") + " " + clazz);
-	this.viewSetHasChildrenAndExpand();
-}, viewSetHasChildrenAndExpand:function () {
-	var clazz = this.tree.classPrefix + "State" + this.viewGetChildrenClass() + "-" + this.viewGetExpandClass();
-	var reg = new RegExp("(^|\\s)" + this.tree.classPrefix + "State[\\w-]+", "g");
-	dojo.html.setClass(this.domNode, dojo.html.getClass(this.domNode).replace(reg, "") + " " + clazz);
-}, viewUnfocus:function () {
-	dojo.html.removeClass(this.labelNode, this.tree.classPrefix + "LabelFocused");
-}, viewFocus:function () {
-	dojo.html.addClass(this.labelNode, this.tree.classPrefix + "LabelFocused");
-}, viewEmphasize:function () {
-	dojo.html.clearSelection(this.labelNode);
-	dojo.html.addClass(this.labelNode, this.tree.classPrefix + "NodeEmphasized");
-}, viewUnemphasize:function () {
-	dojo.html.removeClass(this.labelNode, this.tree.classPrefix + "NodeEmphasized");
-}, detach:function () {
-	if (!this.parent) {
-		return;
-	}
-	var parent = this.parent;
-	var index = this.getParentIndex();
-	this.doDetach.apply(this, arguments);
-	dojo.event.topic.publish(this.tree.eventNames.afterDetach, {child:this, parent:parent, index:index});
-}, doDetach:function () {
-	var parent = this.parent;
-	if (!parent) {
-		return;
-	}
-	var index = this.getParentIndex();
-	this.viewRemoveLayout();
-	dojo.widget.DomWidget.prototype.removeChild.call(parent, this);
-	var siblingsCount = parent.children.length;
-	if (siblingsCount > 0) {
-		if (index == 0) {
-			parent.children[0].viewUpdateLayout();
-		}
-		if (index == siblingsCount) {
-			parent.children[siblingsCount - 1].viewUpdateLayout();
-		}
-	} else {
-		if (parent.isTreeNode) {
-			parent.viewSetHasChildren();
-		}
-	}
-	if (this.tree.unsetFolderOnEmpty && !parent.children.length && parent.isTreeNode) {
-		parent.unsetFolder();
-	}
-	this.parent = null;
-}, destroy:function () {
-	dojo.event.topic.publish(this.tree.eventNames.beforeNodeDestroy, {source:this});
-	this.detach();
-	return dojo.widget.HtmlWidget.prototype.destroy.apply(this, arguments);
-}, expand:function () {
-	if (this.isExpanded) {
-		return;
-	}
-	if (this.tryLazyInit) {
-		this.setChildren();
-		this.tryLazyInit = false;
-	}
-	this.isExpanded = true;
-	this.viewSetExpand();
-	this.showChildren();
-}, collapse:function () {
-	if (!this.isExpanded) {
-		return;
-	}
-	this.isExpanded = false;
-	this.hideChildren();
-}, hideChildren:function () {
-	this.tree.toggleObj.hide(this.containerNode, this.tree.toggleDuration, this.explodeSrc, dojo.lang.hitch(this, "onHideChildren"));
-}, showChildren:function () {
-	this.tree.toggleObj.show(this.containerNode, this.tree.toggleDuration, this.explodeSrc, dojo.lang.hitch(this, "onShowChildren"));
-}, onShowChildren:function () {
-	this.onShow();
-	dojo.event.topic.publish(this.tree.eventNames.afterExpand, {source:this});
-}, onHideChildren:function () {
-	this.viewSetExpand();
-	this.onHide();
-	dojo.event.topic.publish(this.tree.eventNames.afterCollapse, {source:this});
-}, setTitle:function (title) {
-	var oldTitle = this.title;
-	this.labelNode.innerHTML = this.title = title;
-	dojo.event.topic.publish(this.tree.eventNames.afterSetTitle, {source:this, oldTitle:oldTitle});
-}, toString:function () {
-	return "[" + this.widgetType + ", " + this.title + "]";
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRPCController.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRPCController.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRPCController.js
deleted file mode 100644
index 66df614..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRPCController.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeRPCController");
-dojo.require("dojo.event.*");
-dojo.require("dojo.json");
-dojo.require("dojo.io.*");
-dojo.require("dojo.widget.TreeLoadingController");
-dojo.widget.defineWidget("dojo.widget.TreeRPCController", dojo.widget.TreeLoadingController, {doMove:function (child, newParent, index) {
-	var params = {child:this.getInfo(child), childTree:this.getInfo(child.tree), newParent:this.getInfo(newParent), newParentTree:this.getInfo(newParent.tree), newIndex:index};
-	var success;
-	this.runRPC({url:this.getRPCUrl("move"), load:function (response) {
-		success = this.doMoveProcessResponse(response, child, newParent, index);
-	}, sync:true, lock:[child, newParent], params:params});
-	return success;
-}, doMoveProcessResponse:function (response, child, newParent, index) {
-	if (!dojo.lang.isUndefined(response.error)) {
-		this.RPCErrorHandler("server", response.error);
-		return false;
-	}
-	var args = [child, newParent, index];
-	return dojo.widget.TreeLoadingController.prototype.doMove.apply(this, args);
-}, doRemoveNode:function (node, callObj, callFunc) {
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree)};
-	this.runRPC({url:this.getRPCUrl("removeNode"), load:function (response) {
-		this.doRemoveNodeProcessResponse(response, node, callObj, callFunc);
-	}, params:params, lock:[node]});
-}, doRemoveNodeProcessResponse:function (response, node, callObj, callFunc) {
-	if (!dojo.lang.isUndefined(response.error)) {
-		this.RPCErrorHandler("server", response.error);
-		return false;
-	}
-	if (!response) {
-		return false;
-	}
-	if (response == true) {
-		var args = [node, callObj, callFunc];
-		dojo.widget.TreeLoadingController.prototype.doRemoveNode.apply(this, args);
-		return;
-	} else {
-		if (dojo.lang.isObject(response)) {
-			dojo.raise(response.error);
-		} else {
-			dojo.raise("Invalid response " + response);
-		}
-	}
-}, doCreateChild:function (parent, index, output, callObj, callFunc) {
-	var params = {tree:this.getInfo(parent.tree), parent:this.getInfo(parent), index:index, data:output};
-	this.runRPC({url:this.getRPCUrl("createChild"), load:function (response) {
-		this.doCreateChildProcessResponse(response, parent, index, callObj, callFunc);
-	}, params:params, lock:[parent]});
-}, doCreateChildProcessResponse:function (response, parent, index, callObj, callFunc) {
-	if (!dojo.lang.isUndefined(response.error)) {
-		this.RPCErrorHandler("server", response.error);
-		return false;
-	}
-	if (!dojo.lang.isObject(response)) {
-		dojo.raise("Invalid result " + response);
-	}
-	var args = [parent, index, response, callObj, callFunc];
-	dojo.widget.TreeLoadingController.prototype.doCreateChild.apply(this, args);
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRpcControllerV3.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRpcControllerV3.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRpcControllerV3.js
deleted file mode 100644
index 2253731..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeRpcControllerV3.js
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeRpcControllerV3");
-dojo.require("dojo.event.*");
-dojo.require("dojo.json");
-dojo.require("dojo.io.*");
-dojo.require("dojo.widget.TreeLoadingControllerV3");
-dojo.widget.defineWidget("dojo.widget.TreeRpcControllerV3", dojo.widget.TreeLoadingControllerV3, {extraRpcOnEdit:false, doMove:function (child, newParent, index, sync) {
-	var params = {child:this.getInfo(child), childTree:this.getInfo(child.tree), oldParent:this.getInfo(child.parent), oldParentTree:this.getInfo(child.parent.tree), newParent:this.getInfo(newParent), newParentTree:this.getInfo(newParent.tree), newIndex:index};
-	var deferred = this.runRpc({url:this.getRpcUrl("move"), sync:sync, params:params});
-	var _this = this;
-	var args = arguments;
-	deferred.addCallback(function () {
-		dojo.widget.TreeBasicControllerV3.prototype.doMove.apply(_this, args);
-	});
-	return deferred;
-}, prepareDetach:function (node, sync) {
-	var deferred = this.startProcessing(node);
-	return deferred;
-}, finalizeDetach:function (node) {
-	this.finishProcessing(node);
-}, doDetach:function (node, sync) {
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree)};
-	var deferred = this.runRpc({url:this.getRpcUrl("detach"), sync:sync, params:params});
-	var _this = this;
-	var args = arguments;
-	deferred.addCallback(function () {
-		dojo.widget.TreeBasicControllerV3.prototype.doDetach.apply(_this, args);
-	});
-	return deferred;
-}, requestEditConfirmation:function (node, action, sync) {
-	if (!this.extraRpcOnEdit) {
-		return dojo.Deferred.prototype.makeCalled();
-	}
-	var _this = this;
-	var deferred = this.startProcessing(node);
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree)};
-	deferred.addCallback(function () {
-		return _this.runRpc({url:_this.getRpcUrl(action), sync:sync, params:params});
-	});
-	deferred.addBoth(function (r) {
-		_this.finishProcessing(node);
-		return r;
-	});
-	return deferred;
-}, editLabelSave:function (node, newContent, sync) {
-	var deferred = this.startProcessing(node);
-	var _this = this;
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree), newContent:newContent};
-	deferred.addCallback(function () {
-		return _this.runRpc({url:_this.getRpcUrl("editLabelSave"), sync:sync, params:params});
-	});
-	deferred.addBoth(function (r) {
-		_this.finishProcessing(node);
-		return r;
-	});
-	return deferred;
-}, editLabelStart:function (node, sync) {
-	if (!this.canEditLabel(node)) {
-		return false;
-	}
-	var _this = this;
-	if (!this.editor.isClosed()) {
-		var deferred = this.editLabelFinish(this.editor.saveOnBlur, sync);
-		deferred.addCallback(function () {
-			return _this.editLabelStart(node, sync);
-		});
-		return deferred;
-	}
-	var deferred = this.requestEditConfirmation(node, "editLabelStart", sync);
-	deferred.addCallback(function () {
-		_this.doEditLabelStart(node);
-	});
-	return deferred;
-}, editLabelFinish:function (save, sync) {
-	var _this = this;
-	var node = this.editor.node;
-	var deferred = dojo.Deferred.prototype.makeCalled();
-	if (!save && !node.isPhantom) {
-		deferred = this.requestEditConfirmation(this.editor.node, "editLabelFinishCancel", sync);
-	}
-	if (save) {
-		if (node.isPhantom) {
-			deferred = this.sendCreateChildRequest(node.parent, node.getParentIndex(), {title:this.editor.getContents()}, sync);
-		} else {
-			deferred = this.editLabelSave(node, this.editor.getContents(), sync);
-		}
-	}
-	deferred.addCallback(function (server_data) {
-		_this.doEditLabelFinish(save, server_data);
-	});
-	deferred.addErrback(function (r) {
-		_this.doEditLabelFinish(false);
-		return false;
-	});
-	return deferred;
-}, createAndEdit:function (parent, index, sync) {
-	var data = {title:parent.tree.defaultChildTitle};
-	if (!this.canCreateChild(parent, index, data)) {
-		return false;
-	}
-	if (!this.editor.isClosed()) {
-		var deferred = this.editLabelFinish(this.editor.saveOnBlur, sync);
-		deferred.addCallback(function () {
-			return _this.createAndEdit(parent, index, sync);
-		});
-		return deferred;
-	}
-	var _this = this;
-	var deferred = this.prepareCreateChild(parent, index, data, sync);
-	deferred.addCallback(function () {
-		var child = _this.makeDefaultNode(parent, index);
-		child.isPhantom = true;
-		return child;
-	});
-	deferred.addBoth(function (r) {
-		_this.finalizeCreateChild(parent, index, data, sync);
-		return r;
-	});
-	deferred.addCallback(function (child) {
-		var d = _this.exposeCreateChild(parent, index, data, sync);
-		d.addCallback(function () {
-			return child;
-		});
-		return d;
-	});
-	deferred.addCallback(function (child) {
-		_this.doEditLabelStart(child);
-		return child;
-	});
-	return deferred;
-}, prepareDestroyChild:function (node, sync) {
-	var deferred = this.startProcessing(node);
-	return deferred;
-}, finalizeDestroyChild:function (node) {
-	this.finishProcessing(node);
-}, doDestroyChild:function (node, sync) {
-	var params = {node:this.getInfo(node), tree:this.getInfo(node.tree)};
-	var deferred = this.runRpc({url:this.getRpcUrl("destroyChild"), sync:sync, params:params});
-	var _this = this;
-	var args = arguments;
-	deferred.addCallback(function () {
-		dojo.widget.TreeBasicControllerV3.prototype.doDestroyChild.apply(_this, args);
-	});
-	return deferred;
-}, sendCreateChildRequest:function (parent, index, data, sync) {
-	var params = {tree:this.getInfo(parent.tree), parent:this.getInfo(parent), index:index, data:data};
-	var deferred = this.runRpc({url:this.getRpcUrl("createChild"), sync:sync, params:params});
-	return deferred;
-}, doCreateChild:function (parent, index, data, sync) {
-	if (dojo.lang.isUndefined(data.title)) {
-		data.title = parent.tree.defaultChildTitle;
-	}
-	var deferred = this.sendCreateChildRequest(parent, index, data, sync);
-	var _this = this;
-	var args = arguments;
-	deferred.addCallback(function (server_data) {
-		dojo.lang.mixin(data, server_data);
-		return dojo.widget.TreeBasicControllerV3.prototype.doCreateChild.call(_this, parent, index, data);
-	});
-	return deferred;
-}, doClone:function (child, newParent, index, deep, sync) {
-	var params = {child:this.getInfo(child), oldParent:this.getInfo(child.parent), oldParentTree:this.getInfo(child.parent.tree), newParent:this.getInfo(newParent), newParentTree:this.getInfo(newParent.tree), index:index, deep:deep ? true : false, tree:this.getInfo(child.tree)};
-	var deferred = this.runRpc({url:this.getRpcUrl("clone"), sync:sync, params:params});
-	var _this = this;
-	var args = arguments;
-	deferred.addCallback(function () {
-		dojo.widget.TreeBasicControllerV3.prototype.doClone.apply(_this, args);
-	});
-	return deferred;
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelector.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelector.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelector.js
deleted file mode 100644
index ef92487..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelector.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeSelector");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.widget.defineWidget("dojo.widget.TreeSelector", dojo.widget.HtmlWidget, function () {
-	this.eventNames = {};
-	this.listenedTrees = [];
-}, {widgetType:"TreeSelector", selectedNode:null, dieWithTree:false, eventNamesDefault:{select:"select", destroy:"destroy", deselect:"deselect", dblselect:"dblselect"}, initialize:function () {
-	for (var name in this.eventNamesDefault) {
-		if (dojo.lang.isUndefined(this.eventNames[name])) {
-			this.eventNames[name] = this.widgetId + "/" + this.eventNamesDefault[name];
-		}
-	}
-}, destroy:function () {
-	dojo.event.topic.publish(this.eventNames.destroy, {source:this});
-	return dojo.widget.HtmlWidget.prototype.destroy.apply(this, arguments);
-}, listenTree:function (tree) {
-	dojo.event.topic.subscribe(tree.eventNames.titleClick, this, "select");
-	dojo.event.topic.subscribe(tree.eventNames.iconClick, this, "select");
-	dojo.event.topic.subscribe(tree.eventNames.collapse, this, "onCollapse");
-	dojo.event.topic.subscribe(tree.eventNames.moveFrom, this, "onMoveFrom");
-	dojo.event.topic.subscribe(tree.eventNames.removeNode, this, "onRemoveNode");
-	dojo.event.topic.subscribe(tree.eventNames.treeDestroy, this, "onTreeDestroy");
-	this.listenedTrees.push(tree);
-}, unlistenTree:function (tree) {
-	dojo.event.topic.unsubscribe(tree.eventNames.titleClick, this, "select");
-	dojo.event.topic.unsubscribe(tree.eventNames.iconClick, this, "select");
-	dojo.event.topic.unsubscribe(tree.eventNames.collapse, this, "onCollapse");
-	dojo.event.topic.unsubscribe(tree.eventNames.moveFrom, this, "onMoveFrom");
-	dojo.event.topic.unsubscribe(tree.eventNames.removeNode, this, "onRemoveNode");
-	dojo.event.topic.unsubscribe(tree.eventNames.treeDestroy, this, "onTreeDestroy");
-	for (var i = 0; i < this.listenedTrees.length; i++) {
-		if (this.listenedTrees[i] === tree) {
-			this.listenedTrees.splice(i, 1);
-			break;
-		}
-	}
-}, onTreeDestroy:function (message) {
-	this.unlistenTree(message.source);
-	if (this.dieWithTree) {
-		this.destroy();
-	}
-}, onCollapse:function (message) {
-	if (!this.selectedNode) {
-		return;
-	}
-	var node = message.source;
-	var parent = this.selectedNode.parent;
-	while (parent !== node && parent.isTreeNode) {
-		parent = parent.parent;
-	}
-	if (parent.isTreeNode) {
-		this.deselect();
-	}
-}, select:function (message) {
-	var node = message.source;
-	var e = message.event;
-	if (this.selectedNode === node) {
-		if (e.ctrlKey || e.shiftKey || e.metaKey) {
-			this.deselect();
-			return;
-		}
-		dojo.event.topic.publish(this.eventNames.dblselect, {node:node});
-		return;
-	}
-	if (this.selectedNode) {
-		this.deselect();
-	}
-	this.doSelect(node);
-	dojo.event.topic.publish(this.eventNames.select, {node:node});
-}, onMoveFrom:function (message) {
-	if (message.child !== this.selectedNode) {
-		return;
-	}
-	if (!dojo.lang.inArray(this.listenedTrees, message.newTree)) {
-		this.deselect();
-	}
-}, onRemoveNode:function (message) {
-	if (message.child !== this.selectedNode) {
-		return;
-	}
-	this.deselect();
-}, doSelect:function (node) {
-	node.markSelected();
-	this.selectedNode = node;
-}, deselect:function () {
-	var node = this.selectedNode;
-	this.selectedNode = null;
-	node.unMarkSelected();
-	dojo.event.topic.publish(this.eventNames.deselect, {node:node});
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelectorV3.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelectorV3.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelectorV3.js
deleted file mode 100644
index e665f0a..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeSelectorV3.js
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeSelectorV3");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.require("dojo.widget.TreeCommon");
-dojo.widget.defineWidget("dojo.widget.TreeSelectorV3", [dojo.widget.HtmlWidget, dojo.widget.TreeCommon], function () {
-	this.eventNames = {};
-	this.listenedTrees = {};
-	this.selectedNodes = [];
-	this.lastClicked = {};
-}, {listenTreeEvents:["afterTreeCreate", "afterCollapse", "afterChangeTree", "afterDetach", "beforeTreeDestroy"], listenNodeFilter:function (elem) {
-	return elem instanceof dojo.widget.Widget;
-}, allowedMulti:true, dblselectTimeout:300, eventNamesDefault:{select:"select", deselect:"deselect", dblselect:"dblselect"}, onAfterTreeCreate:function (message) {
-	var tree = message.source;
-	dojo.event.browser.addListener(tree.domNode, "onclick", dojo.lang.hitch(this, this.onTreeClick));
-	if (dojo.render.html.ie) {
-		dojo.event.browser.addListener(tree.domNode, "ondblclick", dojo.lang.hitch(this, this.onTreeDblClick));
-	}
-	dojo.event.browser.addListener(tree.domNode, "onKey", dojo.lang.hitch(this, this.onKey));
-}, onKey:function (e) {
-	if (!e.key || e.ctrkKey || e.altKey) {
-		return;
-	}
-	switch (e.key) {
-	  case e.KEY_ENTER:
-		var node = this.domElement2TreeNode(e.target);
-		if (node) {
-			this.processNode(node, e);
-		}
-	}
-}, onAfterChangeTree:function (message) {
-	if (!message.oldTree && message.node.selected) {
-		this.select(message.node);
-	}
-	if (!message.newTree || !this.listenedTrees[message.newTree.widgetId]) {
-		if (this.selectedNode && message.node.children) {
-			this.deselectIfAncestorMatch(message.node);
-		}
-	}
-}, initialize:function (args) {
-	for (var name in this.eventNamesDefault) {
-		if (dojo.lang.isUndefined(this.eventNames[name])) {
-			this.eventNames[name] = this.widgetId + "/" + this.eventNamesDefault[name];
-		}
-	}
-}, onBeforeTreeDestroy:function (message) {
-	this.unlistenTree(message.source);
-}, onAfterCollapse:function (message) {
-	this.deselectIfAncestorMatch(message.source);
-}, onTreeDblClick:function (event) {
-	this.onTreeClick(event);
-}, checkSpecialEvent:function (event) {
-	return event.shiftKey || event.ctrlKey;
-}, onTreeClick:function (event) {
-	var node = this.domElement2TreeNode(event.target);
-	if (!node) {
-		return;
-	}
-	var checkLabelClick = function (domElement) {
-		return domElement === node.labelNode;
-	};
-	if (this.checkPathCondition(event.target, checkLabelClick)) {
-		this.processNode(node, event);
-	}
-}, processNode:function (node, event) {
-	if (node.actionIsDisabled(node.actions.SELECT)) {
-		return;
-	}
-	if (dojo.lang.inArray(this.selectedNodes, node)) {
-		if (this.checkSpecialEvent(event)) {
-			this.deselect(node);
-			return;
-		}
-		var _this = this;
-		var i = 0;
-		var selectedNode;
-		while (this.selectedNodes.length > i) {
-			selectedNode = this.selectedNodes[i];
-			if (selectedNode !== node) {
-				this.deselect(selectedNode);
-				continue;
-			}
-			i++;
-		}
-		var wasJustClicked = this.checkRecentClick(node);
-		eventName = wasJustClicked ? this.eventNames.dblselect : this.eventNames.select;
-		if (wasJustClicked) {
-			eventName = this.eventNames.dblselect;
-			this.forgetLastClicked();
-		} else {
-			eventName = this.eventNames.select;
-			this.setLastClicked(node);
-		}
-		dojo.event.topic.publish(eventName, {node:node});
-		return;
-	}
-	this.deselectIfNoMulti(event);
-	this.setLastClicked(node);
-	this.select(node);
-}, forgetLastClicked:function () {
-	this.lastClicked = {};
-}, setLastClicked:function (node) {
-	this.lastClicked.date = new Date();
-	this.lastClicked.node = node;
-}, checkRecentClick:function (node) {
-	var diff = new Date() - this.lastClicked.date;
-	if (this.lastClicked.node && diff < this.dblselectTimeout) {
-		return true;
-	} else {
-		return false;
-	}
-}, deselectIfNoMulti:function (event) {
-	if (!this.checkSpecialEvent(event) || !this.allowedMulti) {
-		this.deselectAll();
-	}
-}, deselectIfAncestorMatch:function (ancestor) {
-	var _this = this;
-	dojo.lang.forEach(this.selectedNodes, function (node) {
-		var selectedNode = node;
-		node = node.parent;
-		while (node && node.isTreeNode) {
-			if (node === ancestor) {
-				_this.deselect(selectedNode);
-				return;
-			}
-			node = node.parent;
-		}
-	});
-}, onAfterDetach:function (message) {
-	this.deselectIfAncestorMatch(message.child);
-}, select:function (node) {
-	var index = dojo.lang.find(this.selectedNodes, node, true);
-	if (index >= 0) {
-		return;
-	}
-	this.selectedNodes.push(node);
-	dojo.event.topic.publish(this.eventNames.select, {node:node});
-}, deselect:function (node) {
-	var index = dojo.lang.find(this.selectedNodes, node, true);
-	if (index < 0) {
-		return;
-	}
-	this.selectedNodes.splice(index, 1);
-	dojo.event.topic.publish(this.eventNames.deselect, {node:node});
-}, deselectAll:function () {
-	while (this.selectedNodes.length) {
-		this.deselect(this.selectedNodes[0]);
-	}
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeTimeoutIterator.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeTimeoutIterator.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeTimeoutIterator.js
deleted file mode 100644
index 65c69b4..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeTimeoutIterator.js
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeTimeoutIterator");
-dojo.require("dojo.event.*");
-dojo.require("dojo.json");
-dojo.require("dojo.io.*");
-dojo.require("dojo.widget.TreeCommon");
-dojo.declare("dojo.widget.TreeTimeoutIterator", null, function (elem, callFunc, callObj) {
-	var _this = this;
-	this.currentParent = elem;
-	this.callFunc = callFunc;
-	this.callObj = callObj ? callObj : this;
-	this.stack = [];
-}, {maxStackDepth:Number.POSITIVE_INFINITY, stack:null, currentParent:null, currentIndex:0, filterFunc:function () {
-	return true;
-}, finishFunc:function () {
-	return true;
-}, setFilter:function (func, obj) {
-	this.filterFunc = func;
-	this.filterObj = obj;
-}, setMaxLevel:function (level) {
-	this.maxStackDepth = level - 2;
-}, forward:function (timeout) {
-	var _this = this;
-	if (this.timeout) {
-		var tid = setTimeout(function () {
-			_this.processNext();
-			clearTimeout(tid);
-		}, _this.timeout);
-	} else {
-		return this.processNext();
-	}
-}, start:function (processFirst) {
-	if (processFirst) {
-		return this.callFunc.call(this.callObj, this.currentParent, this);
-	}
-	return this.processNext();
-}, processNext:function () {
-	var handler;
-	var _this = this;
-	var found;
-	var next;
-	if (this.maxStackDepth == -2) {
-		return;
-	}
-	while (true) {
-		var children = this.currentParent.children;
-		if (children && children.length) {
-			do {
-				next = children[this.currentIndex];
-			} while (this.currentIndex++ < children.length && !(found = this.filterFunc.call(this.filterObj, next)));
-			if (found) {
-				if (next.isFolder && this.stack.length <= this.maxStackDepth) {
-					this.moveParent(next, 0);
-				}
-				return this.callFunc.call(this.callObj, next, this);
-			}
-		}
-		if (this.stack.length) {
-			this.popParent();
-			continue;
-		}
-		break;
-	}
-	return this.finishFunc.call(this.finishObj);
-}, setFinish:function (func, obj) {
-	this.finishFunc = func;
-	this.finishObj = obj;
-}, popParent:function () {
-	var p = this.stack.pop();
-	this.currentParent = p[0];
-	this.currentIndex = p[1];
-}, moveParent:function (nextParent, nextIndex) {
-	this.stack.push([this.currentParent, this.currentIndex]);
-	this.currentParent = nextParent;
-	this.currentIndex = nextIndex;
-}});
-

http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeToggleOnSelect.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeToggleOnSelect.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeToggleOnSelect.js
deleted file mode 100644
index 4fa37f7..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/TreeToggleOnSelect.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-	Copyright (c) 2004-2006, The Dojo Foundation
-	All Rights Reserved.
-
-	Licensed under the Academic Free License version 2.1 or above OR the
-	modified BSD license. For more information on Dojo licensing, see:
-
-		http://dojotoolkit.org/community/licensing.shtml
-*/
-
-
-
-dojo.provide("dojo.widget.TreeToggleOnSelect");
-dojo.require("dojo.widget.HtmlWidget");
-dojo.widget.defineWidget("dojo.widget.TreeToggleOnSelect", dojo.widget.HtmlWidget, {selector:"", controller:"", selectEvent:"select", initialize:function () {
-	this.selector = dojo.widget.byId(this.selector);
-	this.controller = dojo.widget.byId(this.controller);
-	dojo.event.topic.subscribe(this.selector.eventNames[this.selectEvent], this, "onSelectEvent");
-}, onSelectEvent:function (message) {
-	var node = message.node;
-	node.isExpanded ? this.controller.collapse(node) : this.controller.expand(node);
-}});
-