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:58 UTC
[31/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/html/metrics.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/metrics.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/metrics.js
deleted file mode 100644
index 6e2fd7f..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/metrics.js
+++ /dev/null
@@ -1,215 +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.html.metrics");
-dojo.require("dojo.html.layout");
-dojo.html.getScrollbar = function () {
- var scroll = document.createElement("div");
- scroll.style.width = "100px";
- scroll.style.height = "100px";
- scroll.style.overflow = "scroll";
- scroll.style.position = "absolute";
- scroll.style.top = "-300px";
- scroll.style.left = "0px";
- var test = document.createElement("div");
- test.style.width = "400px";
- test.style.height = "400px";
- scroll.appendChild(test);
- dojo.body().appendChild(scroll);
- var width = scroll.offsetWidth - scroll.clientWidth;
- dojo.body().removeChild(scroll);
- scroll.removeChild(test);
- scroll = test = null;
- return {width:width};
-};
-dojo.html.getFontMeasurements = function () {
- var heights = {"1em":0, "1ex":0, "100%":0, "12pt":0, "16px":0, "xx-small":0, "x-small":0, "small":0, "medium":0, "large":0, "x-large":0, "xx-large":0};
- if (dojo.render.html.ie) {
- document.documentElement.style.fontSize = "100%";
- }
- var div = document.createElement("div");
- div.style.position = "absolute";
- div.style.left = "-100px";
- div.style.top = "0";
- div.style.width = "30px";
- div.style.height = "1000em";
- div.style.border = "0";
- div.style.margin = "0";
- div.style.padding = "0";
- div.style.outline = "0";
- div.style.lineHeight = "1";
- div.style.overflow = "hidden";
- dojo.body().appendChild(div);
- for (var p in heights) {
- div.style.fontSize = p;
- heights[p] = Math.round(div.offsetHeight * 12 / 16) * 16 / 12 / 1000;
- }
- dojo.body().removeChild(div);
- div = null;
- return heights;
-};
-dojo.html._fontMeasurements = null;
-dojo.html.getCachedFontMeasurements = function (recalculate) {
- if (recalculate || !dojo.html._fontMeasurements) {
- dojo.html._fontMeasurements = dojo.html.getFontMeasurements();
- }
- return dojo.html._fontMeasurements;
-};
-dojo.html.measureFragment = function (node, html, boxType) {
- var clone = node.cloneNode(true);
- clone.innerHTML = html;
- node.parentNode.appendChild(clone);
- var ret = dojo.html.getElementBox(clone, boxType);
- node.parentNode.removeChild(clone);
- clone = null;
- return ret;
-};
-dojo.html.getFittedFragment = function (node, html) {
- function cl(node) {
- var element = document.createElement(node.tagName);
- element.id = node.id + "-clone";
- element.className = node.className;
- for (var j = 0; j < node.attributes.length; j++) {
- if (node.attributes[j].specified) {
- if (node.attributes[j].nodeName.toLowerCase() != "style" && node.attributes[j].nodeName.toLowerCase() != "edited" && node.attributes[j].nodeName.toLowerCase() != "contenteditable" && node.attributes[j].nodeName.toLowerCase() != "id" && node.attributes[j].nodeName.toLowerCase() != "class") {
- element.setAttribute(node.attributes[j].nodeName.toLowerCase(), node.attributes[j].nodeValue);
- }
- }
- }
- return element;
- }
- var height = dojo.html.getFontMeasurements()["16px"];
- var n = cl(node);
- n.style.width = dojo.html.getBorderBox(node).width + "px";
- n.style.height = (height + 4) + "px";
- node.parentNode.appendChild(n);
- var rem = dojo.html.fitToElement(n, html);
- var ret = n.innerHTML;
- n.parentNode.removeChild(n);
- return ret;
-};
-dojo.html.fitToElement = function (node, html) {
- function cl(node) {
- var element = document.createElement(node.tagName);
- element.id = node.id + "-clone";
- element.className = node.className;
- for (var j = 0; j < node.attributes.length; j++) {
- if (node.attributes[j].specified) {
- if (node.attributes[j].nodeName.toLowerCase() != "style" && node.attributes[j].nodeName.toLowerCase() != "edited" && node.attributes[j].nodeName.toLowerCase() != "contenteditable" && node.attributes[j].nodeName.toLowerCase() != "id" && node.attributes[j].nodeName.toLowerCase() != "class") {
- element.setAttribute(node.attributes[j].nodeName.toLowerCase(), node.attributes[j].nodeValue);
- }
- }
- }
- return element;
- }
- var clone = cl(node);
- node.parentNode.appendChild(clone);
- var t = dojo.html.getBorderBox(node);
- clone.style.width = t.width + "px";
- var singletons = ["br", "img", "hr", "input", "!--"];
- var chop = ["<BR>", "<br>", "<br/>", "<br />", "<p></p>", "<P></P>"];
- var openTags = [];
- var str = html;
- var i = 0;
- var limit = str.length;
- var add = 0;
- var doLoop = true;
- clone.innerHTML = str;
- while (doLoop) {
- add = Math.round((limit - i) / 2);
- if (add <= 1) {
- doLoop = false;
- }
- i += add;
- clone.innerHTML = str.substr(0, i);
- if (clone.offsetHeight > t.height) {
- limit = i;
- i -= add;
- }
- }
- if (str.substr(0, i) != str) {
- var lastSpace = str.substr(0, i).lastIndexOf(" ");
- var lastNewLine = str.substr(0, i).lastIndexOf("\n");
- var lastGreater = str.substr(0, i).lastIndexOf(">");
- var lastLess = str.substr(0, i).lastIndexOf("<");
- if (lastLess <= lastGreater && lastNewLine == i - 1) {
- i = i;
- } else {
- if (lastSpace != -1 && lastSpace > lastGreater && lastGreater > lastLess) {
- i = lastSpace + 1;
- } else {
- if (lastLess > lastGreater) {
- i = lastLess;
- } else {
- if (lastGreater != -1) {
- i = lastGreater + 1;
- }
- }
- }
- }
- }
- str = str.substr(0, i);
- var ret = html.substr(str.length);
- var doPush = true;
- var tags = str.split("<");
- tags.shift();
- for (var j = 0; j < tags.length; j++) {
- tags[j] = tags[j].split(">")[0];
- if (tags[j].charAt(tags[j].length - 1) == "/") {
- continue;
- }
- if (tags[j].charAt(0) != "/") {
- for (var k = 0; k < singletons.length; k++) {
- if (tags[j].split(" ")[0].toLowerCase() == singletons[k]) {
- doPush = false;
- }
- }
- if (doPush) {
- openTags.push(tags[j]);
- }
- doPush = true;
- } else {
- openTags.pop();
- }
- }
- for (var j = 0; j < chop.length; j++) {
- if (ret.charAt(0) == "\n") {
- ret = ret.substr(1);
- }
- while (ret.indexOf(chop[j]) == 0) {
- ret = ret.substr(chop[j].length);
- }
- }
- for (var j = openTags.length - 1; j >= 0; j--) {
- if (str.lastIndexOf(openTags[j]) == (str.length - openTags[j].length - 1)) {
- str = str.substring(0, str.lastIndexOf(openTags[j]));
- } else {
- str += "</" + openTags[j] + ">";
- }
- if (ret.length > 0) {
- ret = "<" + openTags[j] + ">" + ret;
- }
- }
- for (var j = 0; j < chop.length; j++) {
- if (ret.charAt(0) == "\n") {
- ret = ret.substr(1);
- }
- while (ret.indexOf(chop[j]) == 0) {
- ret = ret.substr(chop[j].length);
- }
- }
- node.innerHTML = str;
- clone.parentNode.removeChild(clone);
- clone = null;
- return ret;
-};
-
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/selection.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/selection.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/selection.js
deleted file mode 100644
index 3a6b063..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/selection.js
+++ /dev/null
@@ -1,339 +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.html.common");
-dojo.provide("dojo.html.selection");
-dojo.require("dojo.dom");
-dojo.require("dojo.lang.common");
-dojo.html.selectionType = {NONE:0, TEXT:1, CONTROL:2};
-dojo.html.clearSelection = function () {
- var _window = dojo.global();
- var _document = dojo.doc();
- try {
- if (_window["getSelection"]) {
- if (dojo.render.html.safari) {
- _window.getSelection().collapse();
- } else {
- _window.getSelection().removeAllRanges();
- }
- } else {
- if (_document.selection) {
- if (_document.selection.empty) {
- _document.selection.empty();
- } else {
- if (_document.selection.clear) {
- _document.selection.clear();
- }
- }
- }
- }
- return true;
- }
- catch (e) {
- dojo.debug(e);
- return false;
- }
-};
-dojo.html.disableSelection = function (element) {
- element = dojo.byId(element) || dojo.body();
- var h = dojo.render.html;
- if (h.mozilla) {
- element.style.MozUserSelect = "none";
- } else {
- if (h.safari) {
- element.style.KhtmlUserSelect = "none";
- } else {
- if (h.ie) {
- element.unselectable = "on";
- } else {
- return false;
- }
- }
- }
- return true;
-};
-dojo.html.enableSelection = function (element) {
- element = dojo.byId(element) || dojo.body();
- var h = dojo.render.html;
- if (h.mozilla) {
- element.style.MozUserSelect = "";
- } else {
- if (h.safari) {
- element.style.KhtmlUserSelect = "";
- } else {
- if (h.ie) {
- element.unselectable = "off";
- } else {
- return false;
- }
- }
- }
- return true;
-};
-dojo.html.selectElement = function (element) {
- dojo.deprecated("dojo.html.selectElement", "replaced by dojo.html.selection.selectElementChildren", 0.5);
-};
-dojo.html.selectInputText = function (element) {
- var _window = dojo.global();
- var _document = dojo.doc();
- element = dojo.byId(element);
- if (_document["selection"] && dojo.body()["createTextRange"]) {
- var range = element.createTextRange();
- range.moveStart("character", 0);
- range.moveEnd("character", element.value.length);
- range.select();
- } else {
- if (_window["getSelection"]) {
- var selection = _window.getSelection();
- element.setSelectionRange(0, element.value.length);
- }
- }
- element.focus();
-};
-dojo.html.isSelectionCollapsed = function () {
- dojo.deprecated("dojo.html.isSelectionCollapsed", "replaced by dojo.html.selection.isCollapsed", 0.5);
- return dojo.html.selection.isCollapsed();
-};
-dojo.lang.mixin(dojo.html.selection, {getType:function () {
- if (dojo.doc()["selection"]) {
- return dojo.html.selectionType[dojo.doc().selection.type.toUpperCase()];
- } else {
- var stype = dojo.html.selectionType.TEXT;
- var oSel;
- try {
- oSel = dojo.global().getSelection();
- }
- catch (e) {
- }
- if (oSel && oSel.rangeCount == 1) {
- var oRange = oSel.getRangeAt(0);
- if (oRange.startContainer == oRange.endContainer && (oRange.endOffset - oRange.startOffset) == 1 && oRange.startContainer.nodeType != dojo.dom.TEXT_NODE) {
- stype = dojo.html.selectionType.CONTROL;
- }
- }
- return stype;
- }
-}, isCollapsed:function () {
- var _window = dojo.global();
- var _document = dojo.doc();
- if (_document["selection"]) {
- return _document.selection.createRange().text == "";
- } else {
- if (_window["getSelection"]) {
- var selection = _window.getSelection();
- if (dojo.lang.isString(selection)) {
- return selection == "";
- } else {
- return selection.isCollapsed || selection.toString() == "";
- }
- }
- }
-}, getSelectedElement:function () {
- if (dojo.html.selection.getType() == dojo.html.selectionType.CONTROL) {
- if (dojo.doc()["selection"]) {
- var range = dojo.doc().selection.createRange();
- if (range && range.item) {
- return dojo.doc().selection.createRange().item(0);
- }
- } else {
- var selection = dojo.global().getSelection();
- return selection.anchorNode.childNodes[selection.anchorOffset];
- }
- }
-}, getParentElement:function () {
- if (dojo.html.selection.getType() == dojo.html.selectionType.CONTROL) {
- var p = dojo.html.selection.getSelectedElement();
- if (p) {
- return p.parentNode;
- }
- } else {
- if (dojo.doc()["selection"]) {
- return dojo.doc().selection.createRange().parentElement();
- } else {
- var selection = dojo.global().getSelection();
- if (selection) {
- var node = selection.anchorNode;
- while (node && node.nodeType != dojo.dom.ELEMENT_NODE) {
- node = node.parentNode;
- }
- return node;
- }
- }
- }
-}, getSelectedText:function () {
- if (dojo.doc()["selection"]) {
- if (dojo.html.selection.getType() == dojo.html.selectionType.CONTROL) {
- return null;
- }
- return dojo.doc().selection.createRange().text;
- } else {
- var selection = dojo.global().getSelection();
- if (selection) {
- return selection.toString();
- }
- }
-}, getSelectedHtml:function () {
- if (dojo.doc()["selection"]) {
- if (dojo.html.selection.getType() == dojo.html.selectionType.CONTROL) {
- return null;
- }
- return dojo.doc().selection.createRange().htmlText;
- } else {
- var selection = dojo.global().getSelection();
- if (selection && selection.rangeCount) {
- var frag = selection.getRangeAt(0).cloneContents();
- var div = document.createElement("div");
- div.appendChild(frag);
- return div.innerHTML;
- }
- return null;
- }
-}, hasAncestorElement:function (tagName) {
- return (dojo.html.selection.getAncestorElement.apply(this, arguments) != null);
-}, getAncestorElement:function (tagName) {
- var node = dojo.html.selection.getSelectedElement() || dojo.html.selection.getParentElement();
- while (node) {
- if (dojo.html.selection.isTag(node, arguments).length > 0) {
- return node;
- }
- node = node.parentNode;
- }
- return null;
-}, isTag:function (node, tags) {
- if (node && node.tagName) {
- for (var i = 0; i < tags.length; i++) {
- if (node.tagName.toLowerCase() == String(tags[i]).toLowerCase()) {
- return String(tags[i]).toLowerCase();
- }
- }
- }
- return "";
-}, selectElement:function (element) {
- var _window = dojo.global();
- var _document = dojo.doc();
- element = dojo.byId(element);
- if (_document.selection && dojo.body().createTextRange) {
- try {
- var range = dojo.body().createControlRange();
- range.addElement(element);
- range.select();
- }
- catch (e) {
- dojo.html.selection.selectElementChildren(element);
- }
- } else {
- if (_window["getSelection"]) {
- var selection = _window.getSelection();
- if (selection["removeAllRanges"]) {
- var range = _document.createRange();
- range.selectNode(element);
- selection.removeAllRanges();
- selection.addRange(range);
- }
- }
- }
-}, selectElementChildren:function (element) {
- var _window = dojo.global();
- var _document = dojo.doc();
- element = dojo.byId(element);
- if (_document.selection && dojo.body().createTextRange) {
- var range = dojo.body().createTextRange();
- range.moveToElementText(element);
- range.select();
- } else {
- if (_window["getSelection"]) {
- var selection = _window.getSelection();
- if (selection["setBaseAndExtent"]) {
- selection.setBaseAndExtent(element, 0, element, element.innerText.length - 1);
- } else {
- if (selection["selectAllChildren"]) {
- selection.selectAllChildren(element);
- }
- }
- }
- }
-}, getBookmark:function () {
- var bookmark;
- var _document = dojo.doc();
- if (_document["selection"]) {
- var range = _document.selection.createRange();
- bookmark = range.getBookmark();
- } else {
- var selection;
- try {
- selection = dojo.global().getSelection();
- }
- catch (e) {
- }
- if (selection) {
- var range = selection.getRangeAt(0);
- bookmark = range.cloneRange();
- } else {
- dojo.debug("No idea how to store the current selection for this browser!");
- }
- }
- return bookmark;
-}, moveToBookmark:function (bookmark) {
- var _document = dojo.doc();
- if (_document["selection"]) {
- var range = _document.selection.createRange();
- range.moveToBookmark(bookmark);
- range.select();
- } else {
- var selection;
- try {
- selection = dojo.global().getSelection();
- }
- catch (e) {
- }
- if (selection && selection["removeAllRanges"]) {
- selection.removeAllRanges();
- selection.addRange(bookmark);
- } else {
- dojo.debug("No idea how to restore selection for this browser!");
- }
- }
-}, collapse:function (beginning) {
- if (dojo.global()["getSelection"]) {
- var selection = dojo.global().getSelection();
- if (selection.removeAllRanges) {
- if (beginning) {
- selection.collapseToStart();
- } else {
- selection.collapseToEnd();
- }
- } else {
- dojo.global().getSelection().collapse(beginning);
- }
- } else {
- if (dojo.doc().selection) {
- var range = dojo.doc().selection.createRange();
- range.collapse(beginning);
- range.select();
- }
- }
-}, remove:function () {
- if (dojo.doc().selection) {
- var selection = dojo.doc().selection;
- if (selection.type.toUpperCase() != "NONE") {
- selection.clear();
- }
- return selection;
- } else {
- var selection = dojo.global().getSelection();
- for (var i = 0; i < selection.rangeCount; i++) {
- selection.getRangeAt(i).deleteContents();
- }
- return selection;
- }
-}});
-
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/shadow.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/shadow.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/shadow.js
deleted file mode 100644
index ac73cce..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/shadow.js
+++ /dev/null
@@ -1,17 +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.html.shadow");
-dojo.require("dojo.lfx.shadow");
-dojo.deprecated("dojo.html.shadow has been moved to dojo.lfx.", "0.5");
-dojo.html.shadow = dojo.lfx.shadow;
-
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/style.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/style.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/style.js
deleted file mode 100644
index 0f67645..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/style.js
+++ /dev/null
@@ -1,483 +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.html.style");
-dojo.require("dojo.html.common");
-dojo.require("dojo.uri.Uri");
-dojo.html.getClass = function (node) {
- node = dojo.byId(node);
- if (!node) {
- return "";
- }
- var cs = "";
- if (node.className) {
- cs = node.className;
- } else {
- if (dojo.html.hasAttribute(node, "class")) {
- cs = dojo.html.getAttribute(node, "class");
- }
- }
- return cs.replace(/^\s+|\s+$/g, "");
-};
-dojo.html.getClasses = function (node) {
- var c = dojo.html.getClass(node);
- return (c == "") ? [] : c.split(/\s+/g);
-};
-dojo.html.hasClass = function (node, classname) {
- return (new RegExp("(^|\\s+)" + classname + "(\\s+|$)")).test(dojo.html.getClass(node));
-};
-dojo.html.prependClass = function (node, classStr) {
- classStr += " " + dojo.html.getClass(node);
- return dojo.html.setClass(node, classStr);
-};
-dojo.html.addClass = function (node, classStr) {
- if (dojo.html.hasClass(node, classStr)) {
- return false;
- }
- classStr = (dojo.html.getClass(node) + " " + classStr).replace(/^\s+|\s+$/g, "");
- return dojo.html.setClass(node, classStr);
-};
-dojo.html.setClass = function (node, classStr) {
- node = dojo.byId(node);
- var cs = new String(classStr);
- try {
- if (typeof node.className == "string") {
- node.className = cs;
- } else {
- if (node.setAttribute) {
- node.setAttribute("class", classStr);
- node.className = cs;
- } else {
- return false;
- }
- }
- }
- catch (e) {
- dojo.debug("dojo.html.setClass() failed", e);
- }
- return true;
-};
-dojo.html.removeClass = function (node, classStr, allowPartialMatches) {
- try {
- if (!allowPartialMatches) {
- var newcs = dojo.html.getClass(node).replace(new RegExp("(^|\\s+)" + classStr + "(\\s+|$)"), "$1$2");
- } else {
- var newcs = dojo.html.getClass(node).replace(classStr, "");
- }
- dojo.html.setClass(node, newcs);
- }
- catch (e) {
- dojo.debug("dojo.html.removeClass() failed", e);
- }
- return true;
-};
-dojo.html.replaceClass = function (node, newClass, oldClass) {
- dojo.html.removeClass(node, oldClass);
- dojo.html.addClass(node, newClass);
-};
-dojo.html.classMatchType = {ContainsAll:0, ContainsAny:1, IsOnly:2};
-dojo.html.getElementsByClass = function (classStr, parent, nodeType, classMatchType, useNonXpath) {
- useNonXpath = false;
- var _document = dojo.doc();
- parent = dojo.byId(parent) || _document;
- var classes = classStr.split(/\s+/g);
- var nodes = [];
- if (classMatchType != 1 && classMatchType != 2) {
- classMatchType = 0;
- }
- var reClass = new RegExp("(\\s|^)((" + classes.join(")|(") + "))(\\s|$)");
- var srtLength = classes.join(" ").length;
- var candidateNodes = [];
- if (!useNonXpath && _document.evaluate) {
- var xpath = ".//" + (nodeType || "*") + "[contains(";
- if (classMatchType != dojo.html.classMatchType.ContainsAny) {
- xpath += "concat(' ',@class,' '), ' " + classes.join(" ') and contains(concat(' ',@class,' '), ' ") + " ')";
- if (classMatchType == 2) {
- xpath += " and string-length(@class)=" + srtLength + "]";
- } else {
- xpath += "]";
- }
- } else {
- xpath += "concat(' ',@class,' '), ' " + classes.join(" ') or contains(concat(' ',@class,' '), ' ") + " ')]";
- }
- var xpathResult = _document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
- var result = xpathResult.iterateNext();
- while (result) {
- try {
- candidateNodes.push(result);
- result = xpathResult.iterateNext();
- }
- catch (e) {
- break;
- }
- }
- return candidateNodes;
- } else {
- if (!nodeType) {
- nodeType = "*";
- }
- candidateNodes = parent.getElementsByTagName(nodeType);
- var node, i = 0;
- outer:
- while (node = candidateNodes[i++]) {
- var nodeClasses = dojo.html.getClasses(node);
- if (nodeClasses.length == 0) {
- continue outer;
- }
- var matches = 0;
- for (var j = 0; j < nodeClasses.length; j++) {
- if (reClass.test(nodeClasses[j])) {
- if (classMatchType == dojo.html.classMatchType.ContainsAny) {
- nodes.push(node);
- continue outer;
- } else {
- matches++;
- }
- } else {
- if (classMatchType == dojo.html.classMatchType.IsOnly) {
- continue outer;
- }
- }
- }
- if (matches == classes.length) {
- if ((classMatchType == dojo.html.classMatchType.IsOnly) && (matches == nodeClasses.length)) {
- nodes.push(node);
- } else {
- if (classMatchType == dojo.html.classMatchType.ContainsAll) {
- nodes.push(node);
- }
- }
- }
- }
- return nodes;
- }
-};
-dojo.html.getElementsByClassName = dojo.html.getElementsByClass;
-dojo.html.toCamelCase = function (selector) {
- var arr = selector.split("-"), cc = arr[0];
- for (var i = 1; i < arr.length; i++) {
- cc += arr[i].charAt(0).toUpperCase() + arr[i].substring(1);
- }
- return cc;
-};
-dojo.html.toSelectorCase = function (selector) {
- return selector.replace(/([A-Z])/g, "-$1").toLowerCase();
-};
-if (dojo.render.html.ie) {
- dojo.html.getComputedStyle = function (node, property, value) {
- node = dojo.byId(node);
- if (!node || !node.currentStyle) {
- return value;
- }
- return node.currentStyle[dojo.html.toCamelCase(property)];
- };
- dojo.html.getComputedStyles = function (node) {
- return node.currentStyle;
- };
-} else {
- dojo.html.getComputedStyle = function (node, property, value) {
- node = dojo.byId(node);
- if (!node || !node.style) {
- return value;
- }
- var s = document.defaultView.getComputedStyle(node, null);
- return (s && s[dojo.html.toCamelCase(property)]) || "";
- };
- dojo.html.getComputedStyles = function (node) {
- return document.defaultView.getComputedStyle(node, null);
- };
-}
-dojo.html.getStyleProperty = function (node, cssSelector) {
- node = dojo.byId(node);
- return (node && node.style ? node.style[dojo.html.toCamelCase(cssSelector)] : undefined);
-};
-dojo.html.getStyle = function (node, cssSelector) {
- var value = dojo.html.getStyleProperty(node, cssSelector);
- return (value ? value : dojo.html.getComputedStyle(node, cssSelector));
-};
-dojo.html.setStyle = function (node, cssSelector, value) {
- node = dojo.byId(node);
- if (node && node.style) {
- var camelCased = dojo.html.toCamelCase(cssSelector);
- node.style[camelCased] = value;
- }
-};
-dojo.html.setStyleText = function (target, text) {
- try {
- target.style.cssText = text;
- }
- catch (e) {
- target.setAttribute("style", text);
- }
-};
-dojo.html.copyStyle = function (target, source) {
- if (!source.style.cssText) {
- target.setAttribute("style", source.getAttribute("style"));
- } else {
- target.style.cssText = source.style.cssText;
- }
- dojo.html.addClass(target, dojo.html.getClass(source));
-};
-dojo.html.getUnitValue = function (node, cssSelector, autoIsZero) {
- var s = dojo.html.getComputedStyle(node, cssSelector);
- if ((!s) || ((s == "auto") && (autoIsZero))) {
- return {value:0, units:"px"};
- }
- var match = s.match(/(\-?[\d.]+)([a-z%]*)/i);
- if (!match) {
- return dojo.html.getUnitValue.bad;
- }
- return {value:Number(match[1]), units:match[2].toLowerCase()};
-};
-dojo.html.getUnitValue.bad = {value:NaN, units:""};
-if (dojo.render.html.ie) {
- dojo.html.toPixelValue = function (element, styleValue) {
- if (!styleValue) {
- return 0;
- }
- if (styleValue.slice(-2) == "px") {
- return parseFloat(styleValue);
- }
- var pixelValue = 0;
- with (element) {
- var sLeft = style.left;
- var rsLeft = runtimeStyle.left;
- runtimeStyle.left = currentStyle.left;
- try {
- style.left = styleValue || 0;
- pixelValue = style.pixelLeft;
- style.left = sLeft;
- runtimeStyle.left = rsLeft;
- }
- catch (e) {
- }
- }
- return pixelValue;
- };
-} else {
- dojo.html.toPixelValue = function (element, styleValue) {
- return (styleValue && (styleValue.slice(-2) == "px") ? parseFloat(styleValue) : 0);
- };
-}
-dojo.html.getPixelValue = function (node, styleProperty, autoIsZero) {
- return dojo.html.toPixelValue(node, dojo.html.getComputedStyle(node, styleProperty));
-};
-dojo.html.setPositivePixelValue = function (node, selector, value) {
- if (isNaN(value)) {
- return false;
- }
- node.style[selector] = Math.max(0, value) + "px";
- return true;
-};
-dojo.html.styleSheet = null;
-dojo.html.insertCssRule = function (selector, declaration, index) {
- if (!dojo.html.styleSheet) {
- if (document.createStyleSheet) {
- dojo.html.styleSheet = document.createStyleSheet();
- } else {
- if (document.styleSheets[0]) {
- dojo.html.styleSheet = document.styleSheets[0];
- } else {
- return null;
- }
- }
- }
- if (arguments.length < 3) {
- if (dojo.html.styleSheet.cssRules) {
- index = dojo.html.styleSheet.cssRules.length;
- } else {
- if (dojo.html.styleSheet.rules) {
- index = dojo.html.styleSheet.rules.length;
- } else {
- return null;
- }
- }
- }
- if (dojo.html.styleSheet.insertRule) {
- var rule = selector + " { " + declaration + " }";
- return dojo.html.styleSheet.insertRule(rule, index);
- } else {
- if (dojo.html.styleSheet.addRule) {
- return dojo.html.styleSheet.addRule(selector, declaration, index);
- } else {
- return null;
- }
- }
-};
-dojo.html.removeCssRule = function (index) {
- if (!dojo.html.styleSheet) {
- dojo.debug("no stylesheet defined for removing rules");
- return false;
- }
- if (dojo.render.html.ie) {
- if (!index) {
- index = dojo.html.styleSheet.rules.length;
- dojo.html.styleSheet.removeRule(index);
- }
- } else {
- if (document.styleSheets[0]) {
- if (!index) {
- index = dojo.html.styleSheet.cssRules.length;
- }
- dojo.html.styleSheet.deleteRule(index);
- }
- }
- return true;
-};
-dojo.html._insertedCssFiles = [];
-dojo.html.insertCssFile = function (URI, doc, checkDuplicates, fail_ok) {
- if (!URI) {
- return;
- }
- if (!doc) {
- doc = document;
- }
- var cssStr = dojo.hostenv.getText(URI, false, fail_ok);
- if (cssStr === null) {
- return;
- }
- cssStr = dojo.html.fixPathsInCssText(cssStr, URI);
- if (checkDuplicates) {
- var idx = -1, node, ent = dojo.html._insertedCssFiles;
- for (var i = 0; i < ent.length; i++) {
- if ((ent[i].doc == doc) && (ent[i].cssText == cssStr)) {
- idx = i;
- node = ent[i].nodeRef;
- break;
- }
- }
- if (node) {
- var styles = doc.getElementsByTagName("style");
- for (var i = 0; i < styles.length; i++) {
- if (styles[i] == node) {
- return;
- }
- }
- dojo.html._insertedCssFiles.shift(idx, 1);
- }
- }
- var style = dojo.html.insertCssText(cssStr, doc);
- dojo.html._insertedCssFiles.push({"doc":doc, "cssText":cssStr, "nodeRef":style});
- if (style && djConfig.isDebug) {
- style.setAttribute("dbgHref", URI);
- }
- return style;
-};
-dojo.html.insertCssText = function (cssStr, doc, URI) {
- if (!cssStr) {
- return;
- }
- if (!doc) {
- doc = document;
- }
- if (URI) {
- cssStr = dojo.html.fixPathsInCssText(cssStr, URI);
- }
- var style = doc.createElement("style");
- style.setAttribute("type", "text/css");
- var head = doc.getElementsByTagName("head")[0];
- if (!head) {
- dojo.debug("No head tag in document, aborting styles");
- return;
- } else {
- head.appendChild(style);
- }
- if (style.styleSheet) {
- var setFunc = function () {
- try {
- style.styleSheet.cssText = cssStr;
- }
- catch (e) {
- dojo.debug(e);
- }
- };
- if (style.styleSheet.disabled) {
- setTimeout(setFunc, 10);
- } else {
- setFunc();
- }
- } else {
- var cssText = doc.createTextNode(cssStr);
- style.appendChild(cssText);
- }
- return style;
-};
-dojo.html.fixPathsInCssText = function (cssStr, URI) {
- if (!cssStr || !URI) {
- return;
- }
- var match, str = "", url = "", urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";
- var regex = new RegExp("url\\(\\s*(" + urlChrs + ")\\s*\\)");
- var regexProtocol = /(file|https?|ftps?):\/\//;
- regexTrim = new RegExp("^[\\s]*(['\"]?)(" + urlChrs + ")\\1[\\s]*?$");
- if (dojo.render.html.ie55 || dojo.render.html.ie60) {
- var regexIe = new RegExp("AlphaImageLoader\\((.*)src=['\"](" + urlChrs + ")['\"]");
- while (match = regexIe.exec(cssStr)) {
- url = match[2].replace(regexTrim, "$2");
- if (!regexProtocol.exec(url)) {
- url = (new dojo.uri.Uri(URI, url).toString());
- }
- str += cssStr.substring(0, match.index) + "AlphaImageLoader(" + match[1] + "src='" + url + "'";
- cssStr = cssStr.substr(match.index + match[0].length);
- }
- cssStr = str + cssStr;
- str = "";
- }
- while (match = regex.exec(cssStr)) {
- url = match[1].replace(regexTrim, "$2");
- if (!regexProtocol.exec(url)) {
- url = (new dojo.uri.Uri(URI, url).toString());
- }
- str += cssStr.substring(0, match.index) + "url(" + url + ")";
- cssStr = cssStr.substr(match.index + match[0].length);
- }
- return str + cssStr;
-};
-dojo.html.setActiveStyleSheet = function (title) {
- var i = 0, a, els = dojo.doc().getElementsByTagName("link");
- while (a = els[i++]) {
- if (a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
- a.disabled = true;
- if (a.getAttribute("title") == title) {
- a.disabled = false;
- }
- }
- }
-};
-dojo.html.getActiveStyleSheet = function () {
- var i = 0, a, els = dojo.doc().getElementsByTagName("link");
- while (a = els[i++]) {
- if (a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) {
- return a.getAttribute("title");
- }
- }
- return null;
-};
-dojo.html.getPreferredStyleSheet = function () {
- var i = 0, a, els = dojo.doc().getElementsByTagName("link");
- while (a = els[i++]) {
- if (a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("rel").indexOf("alt") == -1 && a.getAttribute("title")) {
- return a.getAttribute("title");
- }
- }
- return null;
-};
-dojo.html.applyBrowserClass = function (node) {
- var drh = dojo.render.html;
- var classes = {dj_ie:drh.ie, dj_ie55:drh.ie55, dj_ie6:drh.ie60, dj_ie7:drh.ie70, dj_iequirks:drh.ie && drh.quirks, dj_opera:drh.opera, dj_opera8:drh.opera && (Math.floor(dojo.render.version) == 8), dj_opera9:drh.opera && (Math.floor(dojo.render.version) == 9), dj_khtml:drh.khtml, dj_safari:drh.safari, dj_gecko:drh.mozilla};
- for (var p in classes) {
- if (classes[p]) {
- dojo.html.addClass(node, p);
- }
- }
-};
-
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/util.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/util.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/util.js
deleted file mode 100644
index c57259c..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/html/util.js
+++ /dev/null
@@ -1,356 +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.html.util");
-dojo.require("dojo.html.layout");
-dojo.html.getElementWindow = function (element) {
- return dojo.html.getDocumentWindow(element.ownerDocument);
-};
-dojo.html.getDocumentWindow = function (doc) {
- if (dojo.render.html.safari && !doc._parentWindow) {
- var fix = function (win) {
- win.document._parentWindow = win;
- for (var i = 0; i < win.frames.length; i++) {
- fix(win.frames[i]);
- }
- };
- fix(window.top);
- }
- if (dojo.render.html.ie && window !== document.parentWindow && !doc._parentWindow) {
- doc.parentWindow.execScript("document._parentWindow = window;", "Javascript");
- var win = doc._parentWindow;
- doc._parentWindow = null;
- return win;
- }
- return doc._parentWindow || doc.parentWindow || doc.defaultView;
-};
-dojo.html.gravity = function (node, e) {
- node = dojo.byId(node);
- var mouse = dojo.html.getCursorPosition(e);
- with (dojo.html) {
- var absolute = getAbsolutePosition(node, true);
- var bb = getBorderBox(node);
- var nodecenterx = absolute.x + (bb.width / 2);
- var nodecentery = absolute.y + (bb.height / 2);
- }
- with (dojo.html.gravity) {
- return ((mouse.x < nodecenterx ? WEST : EAST) | (mouse.y < nodecentery ? NORTH : SOUTH));
- }
-};
-dojo.html.gravity.NORTH = 1;
-dojo.html.gravity.SOUTH = 1 << 1;
-dojo.html.gravity.EAST = 1 << 2;
-dojo.html.gravity.WEST = 1 << 3;
-dojo.html.overElement = function (element, e) {
- element = dojo.byId(element);
- var mouse = dojo.html.getCursorPosition(e);
- var bb = dojo.html.getBorderBox(element);
- var absolute = dojo.html.getAbsolutePosition(element, true, dojo.html.boxSizing.BORDER_BOX);
- var top = absolute.y;
- var bottom = top + bb.height;
- var left = absolute.x;
- var right = left + bb.width;
- return (mouse.x >= left && mouse.x <= right && mouse.y >= top && mouse.y <= bottom);
-};
-dojo.html.renderedTextContent = function (node) {
- node = dojo.byId(node);
- var result = "";
- if (node == null) {
- return result;
- }
- for (var i = 0; i < node.childNodes.length; i++) {
- switch (node.childNodes[i].nodeType) {
- case 1:
- case 5:
- var display = "unknown";
- try {
- display = dojo.html.getStyle(node.childNodes[i], "display");
- }
- catch (E) {
- }
- switch (display) {
- case "block":
- case "list-item":
- case "run-in":
- case "table":
- case "table-row-group":
- case "table-header-group":
- case "table-footer-group":
- case "table-row":
- case "table-column-group":
- case "table-column":
- case "table-cell":
- case "table-caption":
- result += "\n";
- result += dojo.html.renderedTextContent(node.childNodes[i]);
- result += "\n";
- break;
- case "none":
- break;
- default:
- if (node.childNodes[i].tagName && node.childNodes[i].tagName.toLowerCase() == "br") {
- result += "\n";
- } else {
- result += dojo.html.renderedTextContent(node.childNodes[i]);
- }
- break;
- }
- break;
- case 3:
- case 2:
- case 4:
- var text = node.childNodes[i].nodeValue;
- var textTransform = "unknown";
- try {
- textTransform = dojo.html.getStyle(node, "text-transform");
- }
- catch (E) {
- }
- switch (textTransform) {
- case "capitalize":
- var words = text.split(" ");
- for (var i = 0; i < words.length; i++) {
- words[i] = words[i].charAt(0).toUpperCase() + words[i].substring(1);
- }
- text = words.join(" ");
- break;
- case "uppercase":
- text = text.toUpperCase();
- break;
- case "lowercase":
- text = text.toLowerCase();
- break;
- default:
- break;
- }
- switch (textTransform) {
- case "nowrap":
- break;
- case "pre-wrap":
- break;
- case "pre-line":
- break;
- case "pre":
- break;
- default:
- text = text.replace(/\s+/, " ");
- if (/\s$/.test(result)) {
- text.replace(/^\s/, "");
- }
- break;
- }
- result += text;
- break;
- default:
- break;
- }
- }
- return result;
-};
-dojo.html.createNodesFromText = function (txt, trim) {
- if (trim) {
- txt = txt.replace(/^\s+|\s+$/g, "");
- }
- var tn = dojo.doc().createElement("div");
- tn.style.visibility = "hidden";
- dojo.body().appendChild(tn);
- var tableType = "none";
- if ((/^<t[dh][\s\r\n>]/i).test(txt.replace(/^\s+/))) {
- txt = "<table><tbody><tr>" + txt + "</tr></tbody></table>";
- tableType = "cell";
- } else {
- if ((/^<tr[\s\r\n>]/i).test(txt.replace(/^\s+/))) {
- txt = "<table><tbody>" + txt + "</tbody></table>";
- tableType = "row";
- } else {
- if ((/^<(thead|tbody|tfoot)[\s\r\n>]/i).test(txt.replace(/^\s+/))) {
- txt = "<table>" + txt + "</table>";
- tableType = "section";
- }
- }
- }
- tn.innerHTML = txt;
- if (tn["normalize"]) {
- tn.normalize();
- }
- var parent = null;
- switch (tableType) {
- case "cell":
- parent = tn.getElementsByTagName("tr")[0];
- break;
- case "row":
- parent = tn.getElementsByTagName("tbody")[0];
- break;
- case "section":
- parent = tn.getElementsByTagName("table")[0];
- break;
- default:
- parent = tn;
- break;
- }
- var nodes = [];
- for (var x = 0; x < parent.childNodes.length; x++) {
- nodes.push(parent.childNodes[x].cloneNode(true));
- }
- tn.style.display = "none";
- dojo.html.destroyNode(tn);
- return nodes;
-};
-dojo.html.placeOnScreen = function (node, desiredX, desiredY, padding, hasScroll, corners, tryOnly) {
- if (desiredX instanceof Array || typeof desiredX == "array") {
- tryOnly = corners;
- corners = hasScroll;
- hasScroll = padding;
- padding = desiredY;
- desiredY = desiredX[1];
- desiredX = desiredX[0];
- }
- if (corners instanceof String || typeof corners == "string") {
- corners = corners.split(",");
- }
- if (!isNaN(padding)) {
- padding = [Number(padding), Number(padding)];
- } else {
- if (!(padding instanceof Array || typeof padding == "array")) {
- padding = [0, 0];
- }
- }
- var scroll = dojo.html.getScroll().offset;
- var view = dojo.html.getViewport();
- node = dojo.byId(node);
- var oldDisplay = node.style.display;
- node.style.display = "";
- var bb = dojo.html.getBorderBox(node);
- var w = bb.width;
- var h = bb.height;
- node.style.display = oldDisplay;
- if (!(corners instanceof Array || typeof corners == "array")) {
- corners = ["TL"];
- }
- var bestx, besty, bestDistance = Infinity, bestCorner;
- for (var cidex = 0; cidex < corners.length; ++cidex) {
- var corner = corners[cidex];
- var match = true;
- var tryX = desiredX - (corner.charAt(1) == "L" ? 0 : w) + padding[0] * (corner.charAt(1) == "L" ? 1 : -1);
- var tryY = desiredY - (corner.charAt(0) == "T" ? 0 : h) + padding[1] * (corner.charAt(0) == "T" ? 1 : -1);
- if (hasScroll) {
- tryX -= scroll.x;
- tryY -= scroll.y;
- }
- if (tryX < 0) {
- tryX = 0;
- match = false;
- }
- if (tryY < 0) {
- tryY = 0;
- match = false;
- }
- var x = tryX + w;
- if (x > view.width) {
- x = view.width - w;
- match = false;
- } else {
- x = tryX;
- }
- x = Math.max(padding[0], x) + scroll.x;
- var y = tryY + h;
- if (y > view.height) {
- y = view.height - h;
- match = false;
- } else {
- y = tryY;
- }
- y = Math.max(padding[1], y) + scroll.y;
- if (match) {
- bestx = x;
- besty = y;
- bestDistance = 0;
- bestCorner = corner;
- break;
- } else {
- var dist = Math.pow(x - tryX - scroll.x, 2) + Math.pow(y - tryY - scroll.y, 2);
- if (bestDistance > dist) {
- bestDistance = dist;
- bestx = x;
- besty = y;
- bestCorner = corner;
- }
- }
- }
- if (!tryOnly) {
- node.style.left = bestx + "px";
- node.style.top = besty + "px";
- }
- return {left:bestx, top:besty, x:bestx, y:besty, dist:bestDistance, corner:bestCorner};
-};
-dojo.html.placeOnScreenPoint = function (node, desiredX, desiredY, padding, hasScroll) {
- dojo.deprecated("dojo.html.placeOnScreenPoint", "use dojo.html.placeOnScreen() instead", "0.5");
- return dojo.html.placeOnScreen(node, desiredX, desiredY, padding, hasScroll, ["TL", "TR", "BL", "BR"]);
-};
-dojo.html.placeOnScreenAroundElement = function (node, aroundNode, padding, aroundType, aroundCorners, tryOnly) {
- var best, bestDistance = Infinity;
- aroundNode = dojo.byId(aroundNode);
- var oldDisplay = aroundNode.style.display;
- aroundNode.style.display = "";
- var mb = dojo.html.getElementBox(aroundNode, aroundType);
- var aroundNodeW = mb.width;
- var aroundNodeH = mb.height;
- var aroundNodePos = dojo.html.getAbsolutePosition(aroundNode, true, aroundType);
- aroundNode.style.display = oldDisplay;
- for (var nodeCorner in aroundCorners) {
- var pos, desiredX, desiredY;
- var corners = aroundCorners[nodeCorner];
- desiredX = aroundNodePos.x + (nodeCorner.charAt(1) == "L" ? 0 : aroundNodeW);
- desiredY = aroundNodePos.y + (nodeCorner.charAt(0) == "T" ? 0 : aroundNodeH);
- pos = dojo.html.placeOnScreen(node, desiredX, desiredY, padding, true, corners, true);
- if (pos.dist == 0) {
- best = pos;
- break;
- } else {
- if (bestDistance > pos.dist) {
- bestDistance = pos.dist;
- best = pos;
- }
- }
- }
- if (!tryOnly) {
- node.style.left = best.left + "px";
- node.style.top = best.top + "px";
- }
- return best;
-};
-dojo.html.scrollIntoView = function (node) {
- if (!node) {
- return;
- }
- if (dojo.render.html.ie) {
- if (dojo.html.getBorderBox(node.parentNode).height <= node.parentNode.scrollHeight) {
- node.scrollIntoView(false);
- }
- } else {
- if (dojo.render.html.mozilla) {
- node.scrollIntoView(false);
- } else {
- var parent = node.parentNode;
- var parentBottom = parent.scrollTop + dojo.html.getBorderBox(parent).height;
- var nodeBottom = node.offsetTop + dojo.html.getMarginBox(node).height;
- if (parentBottom < nodeBottom) {
- parent.scrollTop += (nodeBottom - parentBottom);
- } else {
- if (parent.scrollTop > node.offsetTop) {
- parent.scrollTop -= (parent.scrollTop - node.offsetTop);
- }
- }
- }
- }
-};
-
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/README
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/README b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/README
deleted file mode 100644
index f96be71..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/README
+++ /dev/null
@@ -1,6 +0,0 @@
-All files within this directory and subdirectories were manually derived from http://unicode.org/cldr
-
-See terms of use: http://www.unicode.org/copyright.html#Exhibit1
-
-Eventually, this data should be generated directly from the XML in the CLDR repository to provide
-accurate and full support for the full set of locales.
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/de/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/de/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/de/gregorian.js
deleted file mode 100644
index b674c4b..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/de/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"Wochentag", "dateFormat-medium":"dd.MM.yyyy", "field-second":"Sekunde", "field-week":"Woche", "pm":"nachm.", "timeFormat-full":"H:mm' Uhr 'z", "months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "am":"vorm.", "days-standAlone-narrow":["S", "M", "D", "M", "D", "F", "S"], "field-year":"Jahr", "eras":["v. Chr.", "n. Chr."], "field-hour":"Stunde", "dateFormat-long":"d. MMMM yyyy", "field-day":"Tag", "field-dayperiod":"Tagesh\xe4lfte", "field-month":"Monat", "dateFormat-short":"dd.MM.yy", "months-format-wide":["Januar", "Februar", "M\xe4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], "field-era":"Epoche", "months-format-abbr":["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], "days-format-wide":["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dateFormat-full":"EEEE, d. MMMM yyyy", "field-zone":"Zone", "days-format-ab
br":["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "field-minute":"Minute", "timeFormat-medium":"HH:mm:ss", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/en/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/en/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/en/gregorian.js
deleted file mode 100644
index d0b2184..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/en/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "dateFormat-long":"MMMM d, yyyy", "timeFormat-full":"h:mm:ss a v", "eras":["BC", "AD"], "timeFormat-medium":"h:mm:ss a", "dateFormat-medium":"MMM d, yyyy", "months-format-abbr":["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], "dateFormat-full":"EEEE, MMMM d, yyyy", "days-format-abbr":["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], "timeFormat-long":"h:mm:ss a z", "timeFormat-short":"h:mm a", "dateFormat-short":"M/d/yy", "months-format-wide":["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "days-standAlone-narrow":["S", "M", "T", "W", "T", "F", "S"], "days-format-wide":["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "field-weekday":"Day of the Week", "field-second":"Second", "field-week":"Week", "pm":"PM", "am":"AM", "field-year":"Year", "field-minut
e":"Minute", "field-hour":"Hour", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "field-era":"Era", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/es/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/es/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/es/gregorian.js
deleted file mode 100644
index 8cc1a7b..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/es/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"d\xeda de la semana", "dateFormat-medium":"dd-MMM-yy", "field-second":"segundo", "field-week":"semana", "pm":"p.m.", "timeFormat-full":"HH'H'mm''ss\" z", "months-standAlone-narrow":["E", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "am":"a.m.", "days-standAlone-narrow":["D", "L", "M", "M", "J", "V", "S"], "field-year":"a\xf1o", "eras":["a.C.", "d.C."], "field-minute":"minuto", "field-hour":"hora", "dateFormat-long":"d' de 'MMMM' de 'yyyy", "field-day":"d\xeda", "field-dayperiod":"periodo del d\xeda", "field-month":"mes", "dateFormat-short":"d/MM/yy", "months-format-wide":["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"], "field-era":"era", "months-format-abbr":["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"], "days-format-wide":["domingo", "lunes", "martes", "mi\xe9rcoles", "jueves", "viernes", "s\xe1bado"], "dateFormat-full":"EEEE d' de 'MMMM
' de 'yyyy", "field-zone":"zona", "days-format-abbr":["dom", "lun", "mar", "mi\xe9", "jue", "vie", "s\xe1b"], "timeFormat-medium":"HH:mm:ss", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fi/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fi/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fi/gregorian.js
deleted file mode 100644
index 4014ac3..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fi/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"viikonp\xe4iv\xe4", "dateFormat-medium":"d.M.yyyy", "field-second":"sekunti", "field-week":"viikko", "pm":"ip.", "timeFormat-full":"H.mm.ss v", "months-standAlone-narrow":["T", "H", "M", "H", "T", "K", "H", "E", "S", "L", "M", "J"], "am":"ap.", "days-standAlone-narrow":["S", "M", "T", "K", "T", "P", "L"], "field-year":"vuosi", "eras":["eKr.", "jKr."], "field-minute":"minuutti", "timeFormat-medium":"H.mm.ss", "field-hour":"tunti", "dateFormat-long":"d. MMMM'ta 'yyyy", "field-day":"p\xe4iv\xe4", "field-dayperiod":"ap/ip-valinta", "field-month":"kuukausi", "dateFormat-short":"d.M.yyyy", "months-format-wide":["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kes\xe4kuu", "hein\xe4kuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"], "field-era":"aikakausi", "timeFormat-short":"H.mm", "months-format-abbr":["tammi", "helmi", "maalis", "huhti", "touko", "kes\xe4", "hein\xe4", "elo", "syys", "loka", "marras", "joulu"], "timeFormat-long":"'klo 'H.mm.s
s", "days-format-wide":["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dateFormat-full":"EEEE'na 'd. MMMM'ta 'yyyy", "field-zone":"aikavy\xf6hyke", "days-format-abbr":["su", "ma", "ti", "ke", "to", "pe", "la"]})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fr/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fr/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fr/gregorian.js
deleted file mode 100644
index 68cf494..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/fr/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"jour de la semaine", "dateFormat-medium":"d MMM yy", "field-second":"seconde", "field-week":"semaine", "pm":"ap. m.", "timeFormat-full":"HH' h 'mm z", "months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "am":"matin", "days-standAlone-narrow":["D", "L", "M", "M", "J", "V", "S"], "field-year":"ann\xe9e", "eras":["av. J.-C.", "apr. J.-C."], "field-minute":"minute", "field-hour":"heure", "dateFormat-long":"d MMMM yyyy", "field-day":"jour", "field-dayperiod":"p\xe9riode de la journ\xe9e", "field-month":"mois", "dateFormat-short":"dd/MM/yy", "months-format-wide":["janvier", "f\xe9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\xfbt", "septembre", "octobre", "novembre", "d\xe9cembre"], "field-era":"\xe9poque", "months-format-abbr":["janv.", "f\xe9vr.", "mars", "avr.", "mai", "juin", "juil.", "ao\xfbt", "sept.", "oct.", "nov.", "d\xe9c."], "days-format-wide":["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi
"], "dateFormat-full":"EEEE d MMMM yyyy", "field-zone":"zone", "days-format-abbr":["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], "timeFormat-medium":"HH:mm:ss", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorian.js
deleted file mode 100644
index b352f38..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"Day of the Week", "dateFormat-medium":"yyyy MMM d", "field-second":"Second", "field-week":"Week", "pm":"PM", "timeFormat-full":"HH:mm:ss z", "months-standAlone-narrow":["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "am":"AM", "days-standAlone-narrow":["1", "2", "3", "4", "5", "6", "7"], "field-year":"Year", "eras":["BCE", "CE"], "field-minute":"Minute", "timeFormat-medium":"HH:mm:ss", "field-hour":"Hour", "dateFormat-long":"yyyy MMMM d", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "dateFormat-short":"yy/MM/dd", "months-format-wide":["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "field-era":"Era", "timeFormat-short":"HH:mm", "months-format-abbr":["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-long":"HH:mm:ss z", "days-format-wide":["1", "2", "3", "4", "5", "6", "7"], "dateFormat-full":"EEEE, yyyy MMMM dd", "field-zone":"Zone", "days-format-abbr":["1", "2", "3", "4", "5", "
6", "7"]})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorianExtras.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorianExtras.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorianExtras.js
deleted file mode 100644
index 1c814c9..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/gregorianExtras.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"dateFormat-yearOnly":"yyyy"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/hu/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/hu/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/hu/gregorian.js
deleted file mode 100644
index 5360dc4..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/hu/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"h\xe9t napja", "dateFormat-medium":"yyyy MMM d", "field-second":"m\xe1sodperc", "field-week":"h\xe9t", "pm":"d.u.", "timeFormat-full":"h:mm:ss a v", "months-standAlone-narrow":["J", "F", "M", "\xc1", "M", "J", "J", "A", "S", "O", "N", "D"], "am":"d.e.", "days-standAlone-narrow":["V", "H", "K", "Sz", "Cs", "P", "Sz"], "field-year":"\xe9v", "eras":["k.e.", "k.u."], "field-minute":"perc", "timeFormat-medium":"h:mm:ss a", "field-hour":"\xf3ra", "dateFormat-long":"yyyy MMMM d", "field-day":"nap", "field-dayperiod":"napszak", "field-month":"h\xf3nap", "dateFormat-short":"yyyy-M-d", "months-format-wide":["janu\xe1r", "febru\xe1r", "m\xe1rcius", "\xe1prilis", "m\xe1jus", "j\xfanius", "j\xfalius", "augusztus", "szeptember", "okt\xf3ber", "november", "december"], "field-era":"\xe9ra", "timeFormat-short":"h:mm a", "months-format-abbr":["jan", "feb", "m\xe1r", "apr", "m\xe1j", "j\xfan", "j\xfal", "aug", "sze", "okt", "nov", "dec"], "timeFormat-long":"h:mm:ss a z", "days-forma
t-wide":["vas\xe1rnap", "h\xe9tf\u0151", "kedd", "szerda", "cs\xfct\xf6rt\xf6k", "p\xe9ntek", "szombat"], "dateFormat-full":"yyyy MMMM d, EEEE", "field-zone":"z\xf3na", "days-format-abbr":["Va", "H\xe9", "Ke", "Sze", "Cs\xfc", "P\xe9", "Szo"]})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/it/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/it/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/it/gregorian.js
deleted file mode 100644
index d924aa2..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/it/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"giorno della settimana", "dateFormat-medium":"dd/MMM/yy", "field-second":"secondo", "field-week":"settimana", "pm":"p.", "months-standAlone-narrow":["G", "F", "M", "A", "M", "G", "L", "A", "S", "O", "N", "D"], "am":"m.", "days-standAlone-narrow":["D", "L", "M", "M", "G", "V", "S"], "field-year":"anno", "eras":["aC", "dC"], "field-minute":"minuto", "field-hour":"ora", "dateFormat-long":"dd MMMM yyyy", "field-day":"giorno", "field-dayperiod":"periodo del giorno", "field-month":"mese", "dateFormat-short":"dd/MM/yy", "months-format-wide":["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre"], "field-era":"era", "months-format-abbr":["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic"], "days-format-wide":["domenica", "luned\xec", "marted\xec", "mercoled\xec", "gioved\xec", "venerd\xec", "sabato"], "dateFormat-full":"EEEE d MMMM yyyy", "field-zone":"zona", "days-f
ormat-abbr":["dom", "lun", "mar", "mer", "gio", "ven", "sab"], "timeFormat-full":"HH:mm:ss z", "timeFormat-medium":"HH:mm:ss", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorian.js
deleted file mode 100644
index 5e6d192..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"days-standAlone-narrow":["\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f"], "timeFormat-full":"H'\u6642'mm'\u5206'ss'\u79d2'z", "eras":["\u7d00\u5143\u524d", "\u897f\u66a6"], "timeFormat-medium":"H:mm:ss", "dateFormat-medium":"yyyy/MM/dd", "am":"\u5348\u524d", "months-format-abbr":["1 \u6708", "2 \u6708", "3 \u6708", "4 \u6708", "5 \u6708", "6 \u6708", "7 \u6708", "8 \u6708", "9 \u6708", "10 \u6708", "11 \u6708", "12 \u6708"], "dateFormat-full":"yyyy'\u5e74'M'\u6708'd'\u65e5'EEEE", "days-format-abbr":["\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f"], "timeFormat-long":"H:mm:ss:z", "timeFormat-short":"H:mm", "pm":"\u5348\u5f8c", "months-format-wide":["1 \u6708", "2 \u6708", "3 \u6708", "4 \u6708", "5 \u6708", "6 \u6708", "7 \u6708", "8 \u6708", "9 \u6708", "10 \u6708", "11 \u6708", "12 \u6708"], "dateFormat-long":"yyyy'\u5e74'M'\u6708'd'\u65e5'", "days-format-wide":["\u65e5\u66dc\u65e5", "\u6708\u66dc\u65e5", "\u706b\u66dc\u65e5", "\u6c34\u
66dc\u65e5", "\u6728\u66dc\u65e5", "\u91d1\u66dc\u65e5", "\u571f\u66dc\u65e5"], "field-weekday":"Day of the Week", "field-second":"Second", "field-week":"Week", "months-standAlone-narrow":["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "field-year":"Year", "field-minute":"Minute", "field-hour":"Hour", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "dateFormat-short":"yy/MM/dd", "field-era":"Era", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorianExtras.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorianExtras.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorianExtras.js
deleted file mode 100644
index 45747bc..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ja/gregorianExtras.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"dateFormat-yearOnly":"yyyy\u5e74"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ko/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ko/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ko/gregorian.js
deleted file mode 100644
index 9db25bf..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/ko/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"months-standAlone-narrow":["1\uc6d4", "2\uc6d4", "3\uc6d4", "4\uc6d4", "5\uc6d4", "6\uc6d4", "7\uc6d4", "8\uc6d4", "9\uc6d4", "10\uc6d4", "11\uc6d4", "12\uc6d4"], "dateFormat-long":"yyyy'\ub144' M'\uc6d4' d'\uc77c'", "timeFormat-full":"a hh'\uc2dc' mm'\ubd84' ss'\ucd08' z", "eras":["\uae30\uc6d0\uc804", "\uc11c\uae30"], "timeFormat-medium":"a hh'\uc2dc' mm'\ubd84'", "dateFormat-medium":"yyyy. MM. dd", "am":"\uc624\uc804", "months-format-abbr":["1\uc6d4", "2\uc6d4", "3\uc6d4", "4\uc6d4", "5\uc6d4", "6\uc6d4", "7\uc6d4", "8\uc6d4", "9\uc6d4", "10\uc6d4", "11\uc6d4", "12\uc6d4"], "dateFormat-full":"yyyy'\ub144' M'\uc6d4' d'\uc77c' EEEE", "days-format-abbr":["\uc77c", "\uc6d4", "\ud654", "\uc218", "\ubaa9", "\uae08", "\ud1a0"], "timeFormat-long":"a hh'\uc2dc' mm'\ubd84' ss'\ucd08'", "timeFormat-short":"a hh'\uc2dc' mm'\ubd84'", "dateFormat-short":"yy. MM. dd", "pm":"\uc624\ud6c4", "months-format-wide":["1\uc6d4", "2\uc6d4", "3\uc6d4", "4\uc6d4", "5\uc6d4", "6\uc6d4", "7\uc6d4", "8\uc
6d4", "9\uc6d4", "10\uc6d4", "11\uc6d4", "12\uc6d4"], "days-standAlone-narrow":["\uc77c", "\uc6d4", "\ud654", "\uc218", "\ubaa9", "\uae08", "\ud1a0"], "days-format-wide":["\uc77c\uc694\uc77c", "\uc6d4\uc694\uc77c", "\ud654\uc694\uc77c", "\uc218\uc694\uc77c", "\ubaa9\uc694\uc77c", "\uae08\uc694\uc77c", "\ud1a0\uc694\uc77c"], "field-weekday":"Day of the Week", "field-second":"Second", "field-week":"Week", "field-year":"Year", "field-minute":"Minute", "field-hour":"Hour", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "field-era":"Era", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/nl/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/nl/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/nl/gregorian.js
deleted file mode 100644
index 926db42..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/nl/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"dateFormat-medium":"d MMM yyyy", "field-second":"Seconde", "timeFormat-full":"HH:mm:ss v", "months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow":["Z", "M", "D", "W", "D", "V", "Z"], "field-year":"Jaar", "eras":["v. Chr.", "n. Chr."], "field-minute":"Minuut", "field-hour":"Uur", "dateFormat-long":"d MMMM yyyy", "field-day":"Dag", "field-dayperiod":"Dagdeel", "field-month":"Maand", "dateFormat-short":"dd-MM-yy", "months-format-wide":["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"], "field-era":"Tijdperk", "months-format-abbr":["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec"], "days-format-wide":["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dateFormat-full":"EEEE d MMMM yyyy", "days-format-abbr":["zo", "ma", "di", "wo", "do", "vr", "za"], "field-weekday":"Dag van de week", "fiel
d-week":"Week", "pm":"PM", "am":"AM", "timeFormat-medium":"HH:mm:ss", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt-br/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt-br/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt-br/gregorian.js
deleted file mode 100644
index e3fd55a..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt-br/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-hour":"Hora", "field-dayperiod":"Per\xedodo do dia", "field-minute":"Minuto", "timeFormat-full":"HH'h'mm'min'ss's' z", "field-weekday":"Dia da semana", "field-week":"Semana", "field-second":"Segundo", "dateFormat-medium":"dd/MM/yyyy", "field-day":"Dia", "timeFormat-long":"H'h'm'min's's' z", "field-month":"M\xeas", "field-year":"Ano", "dateFormat-short":"dd/MM/yy", "field-zone":"Fuso", "months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "dateFormat-long":"d' de 'MMMM' de 'yyyy", "eras":["a.C.", "d.C."], "months-format-abbr":["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"], "dateFormat-full":"EEEE, d' de 'MMMM' de 'yyyy", "days-format-abbr":["dom", "seg", "ter", "qua", "qui", "sex", "s\xe1b"], "months-format-wide":["janeiro", "fevereiro", "mar\xe7o", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"], "days-standAlone-narrow":["D", "S", "T", "Q", "Q", "S", "S"], "
days-format-wide":["domingo", "segunda-feira", "ter\xe7a-feira", "quarta-feira", "quinta-feira", "sexta-feira", "s\xe1bado"], "pm":"PM", "am":"AM", "timeFormat-medium":"HH:mm:ss", "field-era":"Era", "timeFormat-short":"HH:mm"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt/gregorian.js
deleted file mode 100644
index ea9b004..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/pt/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "dateFormat-long":"d' de 'MMMM' de 'yyyy", "timeFormat-full":"HH'H'mm'm'ss's' z", "eras":["a.C.", "d.C."], "dateFormat-medium":"d/MMM/yyyy", "months-format-abbr":["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"], "dateFormat-full":"EEEE, d' de 'MMMM' de 'yyyy", "days-format-abbr":["dom", "seg", "ter", "qua", "qui", "sex", "s\xe1b"], "dateFormat-short":"dd-MM-yyyy", "months-format-wide":["janeiro", "fevereiro", "mar\xe7o", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"], "days-standAlone-narrow":["D", "S", "T", "Q", "Q", "S", "S"], "days-format-wide":["domingo", "segunda-feira", "ter\xe7a-feira", "quarta-feira", "quinta-feira", "sexta-feira", "s\xe1bado"], "field-weekday":"Day of the Week", "field-second":"Second", "field-week":"Week", "pm":"PM", "am":"AM", "field-year":"Year", "field-minute":"Minute", "timeFormat-me
dium":"HH:mm:ss", "field-hour":"Hour", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "field-era":"Era", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/sv/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/sv/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/sv/gregorian.js
deleted file mode 100644
index a0b0746..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/sv/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"field-weekday":"veckodag", "dateFormat-medium":"d MMM yyyy", "field-second":"sekund", "field-week":"vecka", "pm":"em", "timeFormat-full":"'kl. 'HH.mm.ss z", "months-standAlone-narrow":["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "am":"fm", "days-standAlone-narrow":["S", "M", "T", "O", "T", "F", "L"], "field-year":"\xe5r", "eras":["f.Kr.", "e.Kr."], "field-minute":"minut", "timeFormat-medium":"HH.mm.ss", "field-hour":"timme", "dateFormat-long":"EEEE d MMM yyyy", "field-day":"dag", "field-dayperiod":"dagsperiod", "field-month":"m\xe5nad", "dateFormat-short":"yyyy-MM-dd", "months-format-wide":["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"], "field-era":"era", "timeFormat-short":"HH.mm", "months-format-abbr":["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec"], "timeFormat-long":"HH.mm.ss z", "days-format-wide":["s\xf6ndag", "m\xe5ndag", "tisdag", "onsdag", "tor
sdag", "fredag", "l\xf6rdag"], "dateFormat-full":"EEEE'en den' d MMMM yyyy", "field-zone":"tidszon", "days-format-abbr":["s\xf6", "m\xe5", "ti", "on", "to", "fr", "l\xf6"]})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-cn/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-cn/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-cn/gregorian.js
deleted file mode 100644
index 014d1d9..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-cn/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"dateFormat-medium":"yyyy-M-d", "field-second":"\u79d2\u949f", "field-week":"\u5468", "timeFormat-full":"ahh'\u65f6'mm'\u5206'ss'\u79d2' z", "field-year":"\u5e74", "field-minute":"\u5206\u949f", "timeFormat-medium":"ahh:mm:ss", "field-hour":"\u5c0f\u65f6", "dateFormat-long":"yyyy'\u5e74'M'\u6708'd'\u65e5'", "field-day":"\u65e5", "field-dayperiod":"\u4e0a\u5348/\u4e0b\u5348", "field-month":"\u6708", "dateFormat-short":"yy-M-d", "field-era":"\u65f6\u671f", "timeFormat-short":"ah:mm", "timeFormat-long":"ahh'\u65f6'mm'\u5206'ss'\u79d2'", "dateFormat-full":"yyyy'\u5e74'M'\u6708'd'\u65e5'EEEE", "field-weekday":"\u5468\u5929", "field-zone":"\u533a\u57df", "days-standAlone-narrow":["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"], "eras":["\u516c\u5143\u524d", "\u516c\u5143"], "am":"\u4e0a\u5348", "months-format-abbr":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341
\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "days-format-abbr":["\u5468\u65e5", "\u5468\u4e00", "\u5468\u4e8c", "\u5468\u4e09", "\u5468\u56db", "\u5468\u4e94", "\u5468\u516d"], "pm":"\u4e0b\u5348", "months-format-wide":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "months-standAlone-narrow":["1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"], "days-format-wide":["\u661f\u671f\u65e5", "\u661f\u671f\u4e00", "\u661f\u671f\u4e8c", "\u661f\u671f\u4e09", "\u661f\u671f\u56db", "\u661f\u671f\u4e94", "\u661f\u671f\u516d"]})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-hk/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-hk/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-hk/gregorian.js
deleted file mode 100644
index a796a48..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-hk/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"timeFormat-full":"ahh'\u6642'mm'\u5206'ss'\u79d2' z", "eras":["\u897f\u5143\u524d", "\u897f\u5143"], "timeFormat-medium":"a h:mm:ss", "dateFormat-medium":"yyyy/M/d", "dateFormat-full":"yyyy'\u5e74'M'\u6708'd'\u65e5'EEEE", "days-format-abbr":["\u9031\u65e5", "\u9031\u4e00", "\u9031\u4e8c", "\u9031\u4e09", "\u9031\u56db", "\u9031\u4e94", "\u9031\u516d"], "timeFormat-long":"ahh'\u6642'mm'\u5206'ss'\u79d2'", "timeFormat-short":"a h:mm", "dateFormat-short":"yyyy/M/d", "dateFormat-long":"yyyy'\u5e74'M'\u6708'd'\u65e5'", "days-standAlone-narrow":["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"], "am":"\u4e0a\u5348", "months-format-abbr":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "pm":"\u4e0b\u5348", "months-format-wide":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516
d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "months-standAlone-narrow":["1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"], "days-format-wide":["\u661f\u671f\u65e5", "\u661f\u671f\u4e00", "\u661f\u671f\u4e8c", "\u661f\u671f\u4e09", "\u661f\u671f\u56db", "\u661f\u671f\u4e94", "\u661f\u671f\u516d"], "field-weekday":"Day of the Week", "field-second":"Second", "field-week":"Week", "field-year":"Year", "field-minute":"Minute", "field-hour":"Hour", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "field-era":"Era", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-tw/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-tw/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-tw/gregorian.js
deleted file mode 100644
index f48011f..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh-tw/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"dateFormat-medium":"yyyy'\u5e74'M'\u6708'd'\u65e5'", "field-second":"\u79d2", "field-week":"\u9031", "timeFormat-full":"ahh'\u6642'mm'\u5206'ss'\u79d2' z", "eras":["\u897f\u5143\u524d", "\u897f\u5143"], "field-year":"\u5e74", "field-minute":"\u5206\u9418", "timeFormat-medium":"ahh:mm:ss", "field-hour":"\u5c0f\u6642", "dateFormat-long":"yyyy'\u5e74'M'\u6708'd'\u65e5'", "field-day":"\u6574\u65e5", "field-dayperiod":"\u65e5\u9593", "field-month":"\u6708", "dateFormat-short":"yy'\u5e74'M'\u6708'd'\u65e5'", "field-era":"\u5e74\u4ee3", "timeFormat-short":"ah:mm", "months-format-abbr":["1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"], "timeFormat-long":"ahh'\u6642'mm'\u5206'ss'\u79d2'", "field-weekday":"\u9031\u5929", "dateFormat-full":"yyyy'\u5e74'M'\u6708'd'\u65e5'EEEE", "field-zone":"\u5340\u57df", "days-standAlone-narrow":["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"], "am":
"\u4e0a\u5348", "days-format-abbr":["\u5468\u65e5", "\u5468\u4e00", "\u5468\u4e8c", "\u5468\u4e09", "\u5468\u56db", "\u5468\u4e94", "\u5468\u516d"], "pm":"\u4e0b\u5348", "months-format-wide":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "months-standAlone-narrow":["1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"], "days-format-wide":["\u661f\u671f\u65e5", "\u661f\u671f\u4e00", "\u661f\u671f\u4e8c", "\u661f\u671f\u4e09", "\u661f\u671f\u56db", "\u661f\u671f\u4e94", "\u661f\u671f\u516d"]})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorian.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorian.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorian.js
deleted file mode 100644
index 97a6616..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorian.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"days-standAlone-narrow":["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"], "eras":["\u516c\u5143\u524d", "\u516c\u5143"], "am":"\u4e0a\u5348", "months-format-abbr":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "days-format-abbr":["\u5468\u65e5", "\u5468\u4e00", "\u5468\u4e8c", "\u5468\u4e09", "\u5468\u56db", "\u5468\u4e94", "\u5468\u516d"], "pm":"\u4e0b\u5348", "months-format-wide":["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"], "months-standAlone-narrow":["1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"], "days-format-wide":["\u661f\u671f\u65e5", "\u661f\u671f\u4
e00", "\u661f\u671f\u4e8c", "\u661f\u671f\u4e09", "\u661f\u671f\u56db", "\u661f\u671f\u4e94", "\u661f\u671f\u516d"], "field-weekday":"Day of the Week", "dateFormat-medium":"yyyy MMM d", "field-second":"Second", "field-week":"Week", "timeFormat-full":"HH:mm:ss z", "field-year":"Year", "field-minute":"Minute", "timeFormat-medium":"HH:mm:ss", "field-hour":"Hour", "dateFormat-long":"yyyy MMMM d", "field-day":"Day", "field-dayperiod":"Dayperiod", "field-month":"Month", "dateFormat-short":"yy/MM/dd", "field-era":"Era", "timeFormat-short":"HH:mm", "timeFormat-long":"HH:mm:ss z", "dateFormat-full":"EEEE, yyyy MMMM dd", "field-zone":"Zone"})
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorianExtras.js
----------------------------------------------------------------------
diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorianExtras.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorianExtras.js
deleted file mode 100644
index 568ff15..0000000
--- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/i18n/calendar/nls/zh/gregorianExtras.js
+++ /dev/null
@@ -1,13 +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
-*/
-
-
-
-({"dateFormat-yearOnly":"yyyy'\u5e74'"})
\ No newline at end of file