camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [19/54] [partial] camel git commit: CAMEL-7263: Remove not maintained and deprecated camel-web module.
Date Sun, 22 Mar 2015 16:05:11 GMT
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/render/html.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/render/html.js b/components/camel-web/src/main/webapp/js/dojox/dtl/render/html.js
deleted file mode 100644
index 3079cbd..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/render/html.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.render.html"]){
-dojo._hasResource["dojox.dtl.render.html"]=true;
-dojo.provide("dojox.dtl.render.html");
-dojo.require("dojox.dtl.render.dom");
-dojox.dtl.render.html.Render=dojox.dtl.render.dom.Render;
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/tag/date.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/date.js b/components/camel-web/src/main/webapp/js/dojox/dtl/tag/date.js
deleted file mode 100644
index 6d6e6a7..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/date.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.tag.date"]){
-dojo._hasResource["dojox.dtl.tag.date"]=true;
-dojo.provide("dojox.dtl.tag.date");
-dojo.require("dojox.dtl._base");
-dojo.require("dojox.dtl.utils.date");
-dojox.dtl.tag.date.NowNode=function(_1,_2){
-this._format=_1;
-this.format=new dojox.dtl.utils.date.DateFormat(_1);
-this.contents=_2;
-};
-dojo.extend(dojox.dtl.tag.date.NowNode,{render:function(_3,_4){
-this.contents.set(this.format.format(new Date()));
-return this.contents.render(_3,_4);
-},unrender:function(_5,_6){
-return this.contents.unrender(_5,_6);
-},clone:function(_7){
-return new this.constructor(this._format,this.contents.clone(_7));
-}});
-dojox.dtl.tag.date.now=function(_8,_9){
-var _a=_9.split_contents();
-if(_a.length!=2){
-throw new Error("'now' statement takes one argument");
-}
-return new dojox.dtl.tag.date.NowNode(_a[1].slice(1,-1),_8.create_text_node());
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loader.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loader.js b/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loader.js
deleted file mode 100644
index 3368f9e..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loader.js
+++ /dev/null
@@ -1,260 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.tag.loader"]){
-dojo._hasResource["dojox.dtl.tag.loader"]=true;
-dojo.provide("dojox.dtl.tag.loader");
-dojo.require("dojox.dtl._base");
-(function(){
-var dd=dojox.dtl;
-var _2=dd.tag.loader;
-_2.BlockNode=dojo.extend(function(_3,_4){
-this.name=_3;
-this.nodelist=_4;
-},{"super":function(){
-if(this.parent){
-var _5=this.parent.nodelist.dummyRender(this.context,null,true);
-if(typeof _5=="string"){
-_5=new String(_5);
-}
-_5.safe=true;
-return _5;
-}
-return "";
-},render:function(_6,_7){
-var _8=this.name;
-var _9=this.nodelist;
-var _a;
-if(_7.blocks){
-var _b=_7.blocks[_8];
-if(_b){
-_a=_b.parent;
-_9=_b.nodelist;
-_b.used=true;
-}
-}
-this.rendered=_9;
-_6=_6.push();
-this.context=_6;
-this.parent=null;
-if(_9!=this.nodelist){
-this.parent=this;
-}
-_6.block=this;
-if(_7.getParent){
-var _c=_7.getParent();
-var _d=dojo.connect(_7,"onSetParent",function(_e,up,_10){
-if(up&&_10){
-_7.setParent(_c);
-}
-});
-}
-_7=_9.render(_6,_7,this);
-_d&&dojo.disconnect(_d);
-_6=_6.pop();
-return _7;
-},unrender:function(_11,_12){
-return this.rendered.unrender(_11,_12);
-},clone:function(_13){
-return new this.constructor(this.name,this.nodelist.clone(_13));
-},toString:function(){
-return "dojox.dtl.tag.loader.BlockNode";
-}});
-_2.ExtendsNode=dojo.extend(function(_14,_15,_16,_17,key){
-this.getTemplate=_14;
-this.nodelist=_15;
-this.shared=_16;
-this.parent=_17;
-this.key=key;
-},{parents:{},getParent:function(_19){
-var _1a=this.parent;
-if(!_1a){
-var _1b;
-_1a=this.parent=_19.get(this.key,false);
-if(!_1a){
-throw new Error("extends tag used a variable that did not resolve");
-}
-if(typeof _1a=="object"){
-var url=_1a.url||_1a.templatePath;
-if(_1a.shared){
-this.shared=true;
-}
-if(url){
-_1a=this.parent=url.toString();
-}else{
-if(_1a.templateString){
-_1b=_1a.templateString;
-_1a=this.parent=" ";
-}else{
-_1a=this.parent=this.parent.toString();
-}
-}
-}
-if(_1a&&_1a.indexOf("shared:")===0){
-this.shared=true;
-_1a=this.parent=_1a.substring(7,_1a.length);
-}
-}
-if(!_1a){
-throw new Error("Invalid template name in 'extends' tag.");
-}
-if(_1a.render){
-return _1a;
-}
-if(this.parents[_1a]){
-return this.parents[_1a];
-}
-this.parent=this.getTemplate(_1b||dojox.dtl.text.getTemplateString(_1a));
-if(this.shared){
-this.parents[_1a]=this.parent;
-}
-return this.parent;
-},render:function(_1d,_1e){
-var _1f=this.getParent(_1d);
-_1f.blocks=_1f.blocks||{};
-_1e.blocks=_1e.blocks||{};
-for(var i=0,_21;_21=this.nodelist.contents[i];i++){
-if(_21 instanceof dojox.dtl.tag.loader.BlockNode){
-var old=_1f.blocks[_21.name];
-if(old&&old.nodelist!=_21.nodelist){
-_1e=old.nodelist.unrender(_1d,_1e);
-}
-_1f.blocks[_21.name]=_1e.blocks[_21.name]={shared:this.shared,nodelist:_21.nodelist,used:false};
-}
-}
-this.rendered=_1f;
-return _1f.nodelist.render(_1d,_1e,this);
-},unrender:function(_23,_24){
-return this.rendered.unrender(_23,_24,this);
-},toString:function(){
-return "dojox.dtl.block.ExtendsNode";
-}});
-_2.IncludeNode=dojo.extend(function(_25,_26,_27,_28,_29){
-this._path=_25;
-this.constant=_26;
-this.path=(_26)?_25:new dd._Filter(_25);
-this.getTemplate=_27;
-this.text=_28;
-this.parsed=(arguments.length==5)?_29:true;
-},{_cache:[{},{}],render:function(_2a,_2b){
-var _2c=((this.constant)?this.path:this.path.resolve(_2a)).toString();
-var _2d=Number(this.parsed);
-var _2e=false;
-if(_2c!=this.last){
-_2e=true;
-if(this.last){
-_2b=this.unrender(_2a,_2b);
-}
-this.last=_2c;
-}
-var _2f=this._cache[_2d];
-if(_2d){
-if(!_2f[_2c]){
-_2f[_2c]=dd.text._resolveTemplateArg(_2c,true);
-}
-if(_2e){
-var _30=this.getTemplate(_2f[_2c]);
-this.rendered=_30.nodelist;
-}
-return this.rendered.render(_2a,_2b,this);
-}else{
-if(this.text instanceof dd._TextNode){
-if(_2e){
-this.rendered=this.text;
-this.rendered.set(dd.text._resolveTemplateArg(_2c,true));
-}
-return this.rendered.render(_2a,_2b);
-}else{
-if(!_2f[_2c]){
-var _31=[];
-var div=document.createElement("div");
-div.innerHTML=dd.text._resolveTemplateArg(_2c,true);
-var _33=div.childNodes;
-while(_33.length){
-var _34=div.removeChild(_33[0]);
-_31.push(_34);
-}
-_2f[_2c]=_31;
-}
-if(_2e){
-this.nodelist=[];
-var _35=true;
-for(var i=0,_37;_37=_2f[_2c][i];i++){
-this.nodelist.push(_37.cloneNode(true));
-}
-}
-for(var i=0,_38;_38=this.nodelist[i];i++){
-_2b=_2b.concat(_38);
-}
-}
-}
-return _2b;
-},unrender:function(_39,_3a){
-if(this.rendered){
-_3a=this.rendered.unrender(_39,_3a);
-}
-if(this.nodelist){
-for(var i=0,_3c;_3c=this.nodelist[i];i++){
-_3a=_3a.remove(_3c);
-}
-}
-return _3a;
-},clone:function(_3d){
-return new this.constructor(this._path,this.constant,this.getTemplate,this.text.clone(_3d),this.parsed);
-}});
-dojo.mixin(_2,{block:function(_3e,_3f){
-var _40=_3f.contents.split();
-var _41=_40[1];
-_3e._blocks=_3e._blocks||{};
-_3e._blocks[_41]=_3e._blocks[_41]||[];
-_3e._blocks[_41].push(_41);
-var _42=_3e.parse(["endblock","endblock "+_41]).rtrim();
-_3e.next_token();
-return new dojox.dtl.tag.loader.BlockNode(_41,_42);
-},extends_:function(_43,_44){
-var _45=_44.contents.split();
-var _46=false;
-var _47=null;
-var key=null;
-if(_45[1].charAt(0)=="\""||_45[1].charAt(0)=="'"){
-_47=_45[1].substring(1,_45[1].length-1);
-}else{
-key=_45[1];
-}
-if(_47&&_47.indexOf("shared:")==0){
-_46=true;
-_47=_47.substring(7,_47.length);
-}
-var _49=_43.parse();
-return new dojox.dtl.tag.loader.ExtendsNode(_43.getTemplate,_49,_46,_47,key);
-},include:function(_4a,_4b){
-var _4c=_4b.contents.split();
-if(_4c.length!=2){
-throw new Error(_4c[0]+" tag takes one argument: the name of the template to be included");
-}
-var _4d=_4c[1];
-var _4e=false;
-if((_4d.charAt(0)=="\""||_4d.slice(-1)=="'")&&_4d.charAt(0)==_4d.slice(-1)){
-_4d=_4d.slice(1,-1);
-_4e=true;
-}
-return new _2.IncludeNode(_4d,_4e,_4a.getTemplate,_4a.create_text_node());
-},ssi:function(_4f,_50){
-var _51=_50.contents.split();
-var _52=false;
-if(_51.length==3){
-_52=(_51.pop()=="parsed");
-if(!_52){
-throw new Error("Second (optional) argument to ssi tag must be 'parsed'");
-}
-}
-var _53=_2.include(_4f,new dd.Token(_50.token_type,_51.join(" ")));
-_53.parsed=_52;
-return _53;
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/tag/logic.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/logic.js b/components/camel-web/src/main/webapp/js/dojox/dtl/tag/logic.js
deleted file mode 100644
index 1a1fbaa..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/logic.js
+++ /dev/null
@@ -1,247 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.tag.logic"]){
-dojo._hasResource["dojox.dtl.tag.logic"]=true;
-dojo.provide("dojox.dtl.tag.logic");
-dojo.require("dojox.dtl._base");
-(function(){
-var dd=dojox.dtl;
-var _2=dd.text;
-var _3=dd.tag.logic;
-_3.IfNode=dojo.extend(function(_4,_5,_6,_7){
-this.bools=_4;
-this.trues=_5;
-this.falses=_6;
-this.type=_7;
-},{render:function(_8,_9){
-var i,_b,_c,_d,_e;
-if(this.type=="or"){
-for(i=0;_b=this.bools[i];i++){
-_c=_b[0];
-_d=_b[1];
-_e=_d.resolve(_8);
-if((_e&&!_c)||(_c&&!_e)){
-if(this.falses){
-_9=this.falses.unrender(_8,_9);
-}
-return (this.trues)?this.trues.render(_8,_9,this):_9;
-}
-}
-if(this.trues){
-_9=this.trues.unrender(_8,_9);
-}
-return (this.falses)?this.falses.render(_8,_9,this):_9;
-}else{
-for(i=0;_b=this.bools[i];i++){
-_c=_b[0];
-_d=_b[1];
-_e=_d.resolve(_8);
-if(_e==_c){
-if(this.trues){
-_9=this.trues.unrender(_8,_9);
-}
-return (this.falses)?this.falses.render(_8,_9,this):_9;
-}
-}
-if(this.falses){
-_9=this.falses.unrender(_8,_9);
-}
-return (this.trues)?this.trues.render(_8,_9,this):_9;
-}
-return _9;
-},unrender:function(_f,_10){
-_10=(this.trues)?this.trues.unrender(_f,_10):_10;
-_10=(this.falses)?this.falses.unrender(_f,_10):_10;
-return _10;
-},clone:function(_11){
-var _12=(this.trues)?this.trues.clone(_11):null;
-var _13=(this.falses)?this.falses.clone(_11):null;
-return new this.constructor(this.bools,_12,_13,this.type);
-}});
-_3.IfEqualNode=dojo.extend(function(_14,_15,_16,_17,_18){
-this.var1=new dd._Filter(_14);
-this.var2=new dd._Filter(_15);
-this.trues=_16;
-this.falses=_17;
-this.negate=_18;
-},{render:function(_19,_1a){
-var _1b=this.var1.resolve(_19);
-var _1c=this.var2.resolve(_19);
-_1b=(typeof _1b!="undefined")?_1b:"";
-_1c=(typeof _1b!="undefined")?_1c:"";
-if((this.negate&&_1b!=_1c)||(!this.negate&&_1b==_1c)){
-if(this.falses){
-_1a=this.falses.unrender(_19,_1a,this);
-}
-return (this.trues)?this.trues.render(_19,_1a,this):_1a;
-}
-if(this.trues){
-_1a=this.trues.unrender(_19,_1a,this);
-}
-return (this.falses)?this.falses.render(_19,_1a,this):_1a;
-},unrender:function(_1d,_1e){
-return _3.IfNode.prototype.unrender.call(this,_1d,_1e);
-},clone:function(_1f){
-var _20=this.trues?this.trues.clone(_1f):null;
-var _21=this.falses?this.falses.clone(_1f):null;
-return new this.constructor(this.var1.getExpression(),this.var2.getExpression(),_20,_21,this.negate);
-}});
-_3.ForNode=dojo.extend(function(_22,_23,_24,_25){
-this.assign=_22;
-this.loop=new dd._Filter(_23);
-this.reversed=_24;
-this.nodelist=_25;
-this.pool=[];
-},{render:function(_26,_27){
-var i,j,k;
-var _2b=false;
-var _2c=this.assign;
-for(k=0;k<_2c.length;k++){
-if(typeof _26[_2c[k]]!="undefined"){
-_2b=true;
-_26=_26.push();
-break;
-}
-}
-if(!_2b&&_26.forloop){
-_2b=true;
-_26=_26.push();
-}
-var _2d=this.loop.resolve(_26)||[];
-for(i=_2d.length;i<this.pool.length;i++){
-this.pool[i].unrender(_26,_27,this);
-}
-if(this.reversed){
-_2d=_2d.slice(0).reverse();
-}
-var _2e=dojo.isObject(_2d)&&!dojo.isArrayLike(_2d);
-var _2f=[];
-if(_2e){
-for(var key in _2d){
-_2f.push(_2d[key]);
-}
-}else{
-_2f=_2d;
-}
-var _31=_26.forloop={parentloop:_26.get("forloop",{})};
-var j=0;
-for(i=0;i<_2f.length;i++){
-var _32=_2f[i];
-_31.counter0=j;
-_31.counter=j+1;
-_31.revcounter0=_2f.length-j-1;
-_31.revcounter=_2f.length-j;
-_31.first=!j;
-_31.last=(j==_2f.length-1);
-if(_2c.length>1&&dojo.isArrayLike(_32)){
-if(!_2b){
-_2b=true;
-_26=_26.push();
-}
-var _33={};
-for(k=0;k<_32.length&&k<_2c.length;k++){
-_33[_2c[k]]=_32[k];
-}
-dojo.mixin(_26,_33);
-}else{
-_26[_2c[0]]=_32;
-}
-if(j+1>this.pool.length){
-this.pool.push(this.nodelist.clone(_27));
-}
-_27=this.pool[j++].render(_26,_27,this);
-}
-delete _26.forloop;
-if(_2b){
-_26=_26.pop();
-}else{
-for(k=0;k<_2c.length;k++){
-delete _26[_2c[k]];
-}
-}
-return _27;
-},unrender:function(_34,_35){
-for(var i=0,_37;_37=this.pool[i];i++){
-_35=_37.unrender(_34,_35);
-}
-return _35;
-},clone:function(_38){
-return new this.constructor(this.assign,this.loop.getExpression(),this.reversed,this.nodelist.clone(_38));
-}});
-dojo.mixin(_3,{if_:function(_39,_3a){
-var i,_3c,_3d,_3e=[],_3f=_3a.contents.split();
-_3f.shift();
-_3a=_3f.join(" ");
-_3f=_3a.split(" and ");
-if(_3f.length==1){
-_3d="or";
-_3f=_3a.split(" or ");
-}else{
-_3d="and";
-for(i=0;i<_3f.length;i++){
-if(_3f[i].indexOf(" or ")!=-1){
-throw new Error("'if' tags can't mix 'and' and 'or'");
-}
-}
-}
-for(i=0;_3c=_3f[i];i++){
-var not=false;
-if(_3c.indexOf("not ")==0){
-_3c=_3c.slice(4);
-not=true;
-}
-_3e.push([not,new dd._Filter(_3c)]);
-}
-var _41=_39.parse(["else","endif"]);
-var _42=false;
-var _3a=_39.next_token();
-if(_3a.contents=="else"){
-_42=_39.parse(["endif"]);
-_39.next_token();
-}
-return new _3.IfNode(_3e,_41,_42,_3d);
-},_ifequal:function(_43,_44,_45){
-var _46=_44.split_contents();
-if(_46.length!=3){
-throw new Error(_46[0]+" takes two arguments");
-}
-var end="end"+_46[0];
-var _48=_43.parse(["else",end]);
-var _49=false;
-var _44=_43.next_token();
-if(_44.contents=="else"){
-_49=_43.parse([end]);
-_43.next_token();
-}
-return new _3.IfEqualNode(_46[1],_46[2],_48,_49,_45);
-},ifequal:function(_4a,_4b){
-return _3._ifequal(_4a,_4b);
-},ifnotequal:function(_4c,_4d){
-return _3._ifequal(_4c,_4d,true);
-},for_:function(_4e,_4f){
-var _50=_4f.contents.split();
-if(_50.length<4){
-throw new Error("'for' statements should have at least four words: "+_4f.contents);
-}
-var _51=_50[_50.length-1]=="reversed";
-var _52=(_51)?-3:-2;
-if(_50[_50.length+_52]!="in"){
-throw new Error("'for' tag received an invalid argument: "+_4f.contents);
-}
-var _53=_50.slice(1,_52).join(" ").split(/ *, */);
-for(var i=0;i<_53.length;i++){
-if(!_53[i]||_53[i].indexOf(" ")!=-1){
-throw new Error("'for' tag received an invalid argument: "+_4f.contents);
-}
-}
-var _55=_4e.parse(["endfor"]);
-_4e.next_token();
-return new _3.ForNode(_53,_50[_50.length+_52+1],_51,_55);
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loop.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loop.js b/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loop.js
deleted file mode 100644
index c0a52bc..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/loop.js
+++ /dev/null
@@ -1,164 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.tag.loop"]){
-dojo._hasResource["dojox.dtl.tag.loop"]=true;
-dojo.provide("dojox.dtl.tag.loop");
-dojo.require("dojox.dtl._base");
-dojo.require("dojox.string.tokenize");
-(function(){
-var dd=dojox.dtl;
-var _2=dd.tag.loop;
-_2.CycleNode=dojo.extend(function(_3,_4,_5,_6){
-this.cyclevars=_3;
-this.name=_4;
-this.contents=_5;
-this.shared=_6||{counter:-1,map:{}};
-},{render:function(_7,_8){
-if(_7.forloop&&!_7.forloop.counter0){
-this.shared.counter=-1;
-}
-++this.shared.counter;
-var _9=this.cyclevars[this.shared.counter%this.cyclevars.length];
-var _a=this.shared.map;
-if(!_a[_9]){
-_a[_9]=new dd._Filter(_9);
-}
-_9=_a[_9].resolve(_7,_8);
-if(this.name){
-_7[this.name]=_9;
-}
-this.contents.set(_9);
-return this.contents.render(_7,_8);
-},unrender:function(_b,_c){
-return this.contents.unrender(_b,_c);
-},clone:function(_d){
-return new this.constructor(this.cyclevars,this.name,this.contents.clone(_d),this.shared);
-}});
-_2.IfChangedNode=dojo.extend(function(_e,_f,_10){
-this.nodes=_e;
-this._vars=_f;
-this.shared=_10||{last:null,counter:0};
-this.vars=dojo.map(_f,function(_11){
-return new dojox.dtl._Filter(_11);
-});
-},{render:function(_12,_13){
-if(_12.forloop){
-if(_12.forloop.counter<=this.shared.counter){
-this.shared.last=null;
-}
-this.shared.counter=_12.forloop.counter;
-}
-var _14;
-if(this.vars.length){
-_14=dojo.toJson(dojo.map(this.vars,function(_15){
-return _15.resolve(_12);
-}));
-}else{
-_14=this.nodes.dummyRender(_12,_13);
-}
-if(_14!=this.shared.last){
-var _16=(this.shared.last===null);
-this.shared.last=_14;
-_12=_12.push();
-_12.ifchanged={firstloop:_16};
-_13=this.nodes.render(_12,_13);
-_12=_12.pop();
-}else{
-_13=this.nodes.unrender(_12,_13);
-}
-return _13;
-},unrender:function(_17,_18){
-return this.nodes.unrender(_17,_18);
-},clone:function(_19){
-return new this.constructor(this.nodes.clone(_19),this._vars,this.shared);
-}});
-_2.RegroupNode=dojo.extend(function(_1a,key,_1c){
-this._expression=_1a;
-this.expression=new dd._Filter(_1a);
-this.key=key;
-this.alias=_1c;
-},{_push:function(_1d,_1e,_1f){
-if(_1f.length){
-_1d.push({grouper:_1e,list:_1f});
-}
-},render:function(_20,_21){
-_20[this.alias]=[];
-var _22=this.expression.resolve(_20);
-if(_22){
-var _23=null;
-var _24=[];
-for(var i=0;i<_22.length;i++){
-var id=_22[i][this.key];
-if(_23!==id){
-this._push(_20[this.alias],_23,_24);
-_23=id;
-_24=[_22[i]];
-}else{
-_24.push(_22[i]);
-}
-}
-this._push(_20[this.alias],_23,_24);
-}
-return _21;
-},unrender:function(_27,_28){
-return _28;
-},clone:function(_29,_2a){
-return this;
-}});
-dojo.mixin(_2,{cycle:function(_2b,_2c){
-var _2d=_2c.split_contents();
-if(_2d.length<2){
-throw new Error("'cycle' tag requires at least two arguments");
-}
-if(_2d[1].indexOf(",")!=-1){
-var _2e=_2d[1].split(",");
-_2d=[_2d[0]];
-for(var i=0;i<_2e.length;i++){
-_2d.push("\""+_2e[i]+"\"");
-}
-}
-if(_2d.length==2){
-var _30=_2d[_2d.length-1];
-if(!_2b._namedCycleNodes){
-throw new Error("No named cycles in template: '"+_30+"' is not defined");
-}
-if(!_2b._namedCycleNodes[_30]){
-throw new Error("Named cycle '"+_30+"' does not exist");
-}
-return _2b._namedCycleNodes[_30];
-}
-if(_2d.length>4&&_2d[_2d.length-2]=="as"){
-var _30=_2d[_2d.length-1];
-var _31=new _2.CycleNode(_2d.slice(1,_2d.length-2),_30,_2b.create_text_node());
-if(!_2b._namedCycleNodes){
-_2b._namedCycleNodes={};
-}
-_2b._namedCycleNodes[_30]=_31;
-}else{
-_31=new _2.CycleNode(_2d.slice(1),null,_2b.create_text_node());
-}
-return _31;
-},ifchanged:function(_32,_33){
-var _34=_33.contents.split();
-var _35=_32.parse(["endifchanged"]);
-_32.delete_first_token();
-return new _2.IfChangedNode(_35,_34.slice(1));
-},regroup:function(_36,_37){
-var _38=dojox.string.tokenize(_37.contents,/(\s+)/g,function(_39){
-return _39;
-});
-if(_38.length<11||_38[_38.length-3]!="as"||_38[_38.length-7]!="by"){
-throw new Error("Expected the format: regroup list by key as newList");
-}
-var _3a=_38.slice(2,-8).join("");
-var key=_38[_38.length-5];
-var _3c=_38[_38.length-1];
-return new _2.RegroupNode(_3a,key,_3c);
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/tag/misc.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/misc.js b/components/camel-web/src/main/webapp/js/dojox/dtl/tag/misc.js
deleted file mode 100644
index ab90b1d..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/tag/misc.js
+++ /dev/null
@@ -1,223 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.tag.misc"]){
-dojo._hasResource["dojox.dtl.tag.misc"]=true;
-dojo.provide("dojox.dtl.tag.misc");
-dojo.require("dojox.dtl._base");
-(function(){
-var dd=dojox.dtl;
-var _2=dd.tag.misc;
-_2.DebugNode=dojo.extend(function(_3){
-this.text=_3;
-},{render:function(_4,_5){
-var _6=_4.getKeys();
-var _7=[];
-var _8={};
-for(var i=0,_a;_a=_6[i];i++){
-_8[_a]=_4[_a];
-_7+="["+_a+": "+typeof _4[_a]+"]\n";
-}
-
-return this.text.set(_7).render(_4,_5,this);
-},unrender:function(_b,_c){
-return _c;
-},clone:function(_d){
-return new this.constructor(this.text.clone(_d));
-},toString:function(){
-return "ddtm.DebugNode";
-}});
-_2.FilterNode=dojo.extend(function(_e,_f){
-this._varnode=_e;
-this._nodelist=_f;
-},{render:function(_10,_11){
-var _12=this._nodelist.render(_10,new dojox.string.Builder());
-_10=_10.update({"var":_12.toString()});
-var _13=this._varnode.render(_10,_11);
-_10=_10.pop();
-return _11;
-},unrender:function(_14,_15){
-return _15;
-},clone:function(_16){
-return new this.constructor(this._expression,this._nodelist.clone(_16));
-}});
-_2.FirstOfNode=dojo.extend(function(_17,_18){
-this._vars=_17;
-this.vars=dojo.map(_17,function(_19){
-return new dojox.dtl._Filter(_19);
-});
-this.contents=_18;
-},{render:function(_1a,_1b){
-for(var i=0,_1d;_1d=this.vars[i];i++){
-var _1e=_1d.resolve(_1a);
-if(typeof _1e!="undefined"){
-if(_1e===null){
-_1e="null";
-}
-this.contents.set(_1e);
-return this.contents.render(_1a,_1b);
-}
-}
-return this.contents.unrender(_1a,_1b);
-},unrender:function(_1f,_20){
-return this.contents.unrender(_1f,_20);
-},clone:function(_21){
-return new this.constructor(this._vars,this.contents.clone(_21));
-}});
-_2.SpacelessNode=dojo.extend(function(_22,_23){
-this.nodelist=_22;
-this.contents=_23;
-},{render:function(_24,_25){
-if(_25.getParent){
-var _26=[dojo.connect(_25,"onAddNodeComplete",this,"_watch"),dojo.connect(_25,"onSetParent",this,"_watchParent")];
-_25=this.nodelist.render(_24,_25);
-dojo.disconnect(_26[0]);
-dojo.disconnect(_26[1]);
-}else{
-var _27=this.nodelist.dummyRender(_24);
-this.contents.set(_27.replace(/>\s+</g,"><"));
-_25=this.contents.render(_24,_25);
-}
-return _25;
-},unrender:function(_28,_29){
-return this.nodelist.unrender(_28,_29);
-},clone:function(_2a){
-return new this.constructor(this.nodelist.clone(_2a),this.contents.clone(_2a));
-},_isEmpty:function(_2b){
-return (_2b.nodeType==3&&!_2b.data.match(/[^\s\n]/));
-},_watch:function(_2c){
-if(this._isEmpty(_2c)){
-var _2d=false;
-if(_2c.parentNode.firstChild==_2c){
-_2c.parentNode.removeChild(_2c);
-}
-}else{
-var _2e=_2c.parentNode.childNodes;
-if(_2c.nodeType==1&&_2e.length>2){
-for(var i=2,_30;_30=_2e[i];i++){
-if(_2e[i-2].nodeType==1&&this._isEmpty(_2e[i-1])){
-_2c.parentNode.removeChild(_2e[i-1]);
-return;
-}
-}
-}
-}
-},_watchParent:function(_31){
-var _32=_31.childNodes;
-if(_32.length){
-while(_31.childNodes.length){
-var _33=_31.childNodes[_31.childNodes.length-1];
-if(!this._isEmpty(_33)){
-return;
-}
-_31.removeChild(_33);
-}
-}
-}});
-_2.TemplateTagNode=dojo.extend(function(tag,_35){
-this.tag=tag;
-this.contents=_35;
-},{mapping:{openblock:"{%",closeblock:"%}",openvariable:"{{",closevariable:"}}",openbrace:"{",closebrace:"}",opencomment:"{#",closecomment:"#}"},render:function(_36,_37){
-this.contents.set(this.mapping[this.tag]);
-return this.contents.render(_36,_37);
-},unrender:function(_38,_39){
-return this.contents.unrender(_38,_39);
-},clone:function(_3a){
-return new this.constructor(this.tag,this.contents.clone(_3a));
-}});
-_2.WidthRatioNode=dojo.extend(function(_3b,max,_3d,_3e){
-this.current=new dd._Filter(_3b);
-this.max=new dd._Filter(max);
-this.width=_3d;
-this.contents=_3e;
-},{render:function(_3f,_40){
-var _41=+this.current.resolve(_3f);
-var max=+this.max.resolve(_3f);
-if(typeof _41!="number"||typeof max!="number"||!max){
-this.contents.set("");
-}else{
-this.contents.set(""+Math.round((_41/max)*this.width));
-}
-return this.contents.render(_3f,_40);
-},unrender:function(_43,_44){
-return this.contents.unrender(_43,_44);
-},clone:function(_45){
-return new this.constructor(this.current.getExpression(),this.max.getExpression(),this.width,this.contents.clone(_45));
-}});
-_2.WithNode=dojo.extend(function(_46,_47,_48){
-this.target=new dd._Filter(_46);
-this.alias=_47;
-this.nodelist=_48;
-},{render:function(_49,_4a){
-var _4b=this.target.resolve(_49);
-_49=_49.push();
-_49[this.alias]=_4b;
-_4a=this.nodelist.render(_49,_4a);
-_49=_49.pop();
-return _4a;
-},unrender:function(_4c,_4d){
-return _4d;
-},clone:function(_4e){
-return new this.constructor(this.target.getExpression(),this.alias,this.nodelist.clone(_4e));
-}});
-dojo.mixin(_2,{comment:function(_4f,_50){
-_4f.skip_past("endcomment");
-return dd._noOpNode;
-},debug:function(_51,_52){
-return new _2.DebugNode(_51.create_text_node());
-},filter:function(_53,_54){
-var _55=_54.contents.split(null,1)[1];
-var _56=_53.create_variable_node("var|"+_55);
-var _57=_53.parse(["endfilter"]);
-_53.next_token();
-return new _2.FilterNode(_56,_57);
-},firstof:function(_58,_59){
-var _5a=_59.split_contents().slice(1);
-if(!_5a.length){
-throw new Error("'firstof' statement requires at least one argument");
-}
-return new _2.FirstOfNode(_5a,_58.create_text_node());
-},spaceless:function(_5b,_5c){
-var _5d=_5b.parse(["endspaceless"]);
-_5b.delete_first_token();
-return new _2.SpacelessNode(_5d,_5b.create_text_node());
-},templatetag:function(_5e,_5f){
-var _60=_5f.contents.split();
-if(_60.length!=2){
-throw new Error("'templatetag' statement takes one argument");
-}
-var tag=_60[1];
-var _62=_2.TemplateTagNode.prototype.mapping;
-if(!_62[tag]){
-var _63=[];
-for(var key in _62){
-_63.push(key);
-}
-throw new Error("Invalid templatetag argument: '"+tag+"'. Must be one of: "+_63.join(", "));
-}
-return new _2.TemplateTagNode(tag,_5e.create_text_node());
-},widthratio:function(_65,_66){
-var _67=_66.contents.split();
-if(_67.length!=4){
-throw new Error("widthratio takes three arguments");
-}
-var _68=+_67[3];
-if(typeof _68!="number"){
-throw new Error("widthratio final argument must be an integer");
-}
-return new _2.WidthRatioNode(_67[1],_67[2],_68,_65.create_text_node());
-},with_:function(_69,_6a){
-var _6b=_6a.split_contents();
-if(_6b.length!=4||_6b[2]!="as"){
-throw new Error("do_width expected format as 'with value as name'");
-}
-var _6c=_69.parse(["endwith"]);
-_69.next_token();
-return new _2.WithNode(_6b[1],_6b[3],_6c);
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/dtl/utils/date.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/dtl/utils/date.js b/components/camel-web/src/main/webapp/js/dojox/dtl/utils/date.js
deleted file mode 100644
index 1df6d20..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/dtl/utils/date.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.dtl.utils.date"]){
-dojo._hasResource["dojox.dtl.utils.date"]=true;
-dojo.provide("dojox.dtl.utils.date");
-dojo.require("dojox.date.php");
-dojox.dtl.utils.date.DateFormat=function(_1){
-dojox.date.php.DateFormat.call(this,_1);
-};
-dojo.extend(dojox.dtl.utils.date.DateFormat,dojox.date.php.DateFormat.prototype,{f:function(){
-return (!this.date.getMinutes())?this.g():this.g()+":"+this.i();
-},N:function(){
-return dojox.dtl.utils.date._months_ap[this.date.getMonth()];
-},P:function(){
-if(!this.date.getMinutes()&&!this.date.getHours()){
-return "midnight";
-}
-if(!this.date.getMinutes()&&this.date.getHours()==12){
-return "noon";
-}
-return this.f()+" "+this.a();
-}});
-dojo.mixin(dojox.dtl.utils.date,{format:function(_2,_3){
-var df=new dojox.dtl.utils.date.DateFormat(_3);
-return df.format(_2);
-},timesince:function(d,_6){
-if(!(d instanceof Date)){
-d=new Date(d.year,d.month,d.day);
-}
-if(!_6){
-_6=new Date();
-}
-var _7=Math.abs(_6.getTime()-d.getTime());
-for(var i=0,_9;_9=dojox.dtl.utils.date._chunks[i];i++){
-var _a=Math.floor(_7/_9[0]);
-if(_a){
-break;
-}
-}
-return _a+" "+_9[1](_a);
-},_chunks:[[60*60*24*365*1000,function(n){
-return (n==1)?"year":"years";
-}],[60*60*24*30*1000,function(n){
-return (n==1)?"month":"months";
-}],[60*60*24*7*1000,function(n){
-return (n==1)?"week":"weeks";
-}],[60*60*24*1000,function(n){
-return (n==1)?"day":"days";
-}],[60*60*1000,function(n){
-return (n==1)?"hour":"hours";
-}],[60*1000,function(n){
-return (n==1)?"minute":"minutes";
-}]],_months_ap:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."]});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/README
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/README b/components/camel-web/src/main/webapp/js/dojox/editor/README
deleted file mode 100644
index 550a085..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/README
+++ /dev/null
@@ -1,44 +0,0 @@
--------------------------------------------------------------------------------
-dojox.editor
--------------------------------------------------------------------------------
-Version 0.5
-Release date: 7/10/2008
--------------------------------------------------------------------------------
-Project state:
-experimental
--------------------------------------------------------------------------------
-Credits
-	Mike Wilcox 	- Author
-    Dustin Machi 	- Technical Assistance
--------------------------------------------------------------------------------
-Project description
-
-Space for extensions and additional plugins for dijit.Editor 
--------------------------------------------------------------------------------
-Dependencies:
-
-dijit
-dojox.form
-
--------------------------------------------------------------------------------
-Documentation
-
-The plugins directory contains extensions which work with dijit.Editor.
-
--------------------------------------------------------------------------------
-Plugin Installation instructions
-
-Get dojo and dijit from svn. Include the Editor and plugins in your page:
-
-dojo.require("dijit.Editor");
-dojo.require("dojox.editor.plugins.TablePlugins");
-dojo.require("dojox.editor.plugins.UploadImage");
-
-And the style sheet:
-
-<link href="[path]dojox/editor/plugins/resources/editorPlugins.css" type="text/css" rel="stylesheet" />
-<link href="[path]dojox/form/resources/FileInput.css" type="text/css" rel="stylesheet" />
-
-See tests for examples:
-dojox/editor/plugins/tests/editorTablePlugs.html
-dojox/editor/plugins/tests/editorUploadPlug.html

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/TablePlugins.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/TablePlugins.js b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/TablePlugins.js
deleted file mode 100644
index bd320f1..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/TablePlugins.js
+++ /dev/null
@@ -1,609 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.editor.plugins.TablePlugins"]){
-dojo._hasResource["dojox.editor.plugins.TablePlugins"]=true;
-dojo.provide("dojox.editor.plugins.TablePlugins");
-dojo.require("dijit._editor._Plugin");
-dojo.require("dijit._editor.selection");
-dojo.require("dijit.Menu");
-dojo.require("dojo.i18n");
-dojo.requireLocalization("dojox.editor.plugins","TableDialog",null,"ROOT");
-dojo.experimental("dojox.editor.plugins.TablePlugins");
-dojo.declare("dojox.editor.plugins.GlobalTableHandler",dijit._editor._Plugin,{tablesConnected:false,currentlyAvailable:false,alwaysAvailable:false,availableCurrentlySet:false,initialized:false,tableData:null,shiftKeyDown:false,editorDomNode:null,undoEnabled:dojo.isIE,doMixins:function(){
-dojo.mixin(this.editor,{getAncestorElement:function(_1){
-return dojo.withGlobal(this.window,"getAncestorElement",dijit._editor.selection,[_1]);
-},hasAncestorElement:function(_2){
-return true;
-return dojo.withGlobal(this.window,"hasAncestorElement",dijit._editor.selection,[_2]);
-},selectElement:function(_3){
-dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[_3]);
-},byId:function(id){
-return dojo.withGlobal(this.window,"byId",dojo,[id]);
-},query:function(_5,_6,_7){
-var ar=dojo.withGlobal(this.window,"query",dojo,[_5,_6]);
-return (_7)?ar[0]:ar;
-}});
-},initialize:function(_9){
-if(this.initialized){
-return;
-}
-this.initialized=true;
-this.editor=_9;
-this.editorDomNode=this.editor.editNode||this.editor.iframe.document.body.firstChild;
-dojo.connect(this.editorDomNode,"mouseup",this.editor,"onClick");
-dojo.connect(this.editor,"onDisplayChanged",this,"checkAvailable");
-this.doMixins();
-this.connectDraggable();
-},getTableInfo:function(_a){
-if(_a){
-this._tempStoreTableData(false);
-}
-if(this.tableData){
-
-return this.tableData;
-}
-var tr,_c,td,_e,_f,_10,_11,_12;
-td=this.editor.getAncestorElement("td");
-if(td){
-tr=td.parentNode;
-}
-_f=this.editor.getAncestorElement("table");
-_e=dojo.query("td",_f);
-_e.forEach(function(d,i){
-if(td==d){
-_11=i;
-}
-});
-_c=dojo.query("tr",_f);
-_c.forEach(function(r,i){
-if(tr==r){
-_12=i;
-}
-});
-_10=_e.length/_c.length;
-var o={tbl:_f,td:td,tr:tr,trs:_c,tds:_e,rows:_c.length,cols:_10,tdIndex:_11,trIndex:_12,colIndex:_11%_10};
-
-this.tableData=o;
-this._tempStoreTableData(500);
-return this.tableData;
-},connectDraggable:function(){
-if(!dojo.isIE){
-return;
-}
-this.editorDomNode.ondragstart=dojo.hitch(this,"onDragStart");
-this.editorDomNode.ondragend=dojo.hitch(this,"onDragEnd");
-},onDragStart:function(){
-var e=window.event;
-if(!e.srcElement.id){
-e.srcElement.id="tbl_"+(new Date().getTime());
-}
-},onDragEnd:function(){
-var e=window.event;
-var _1a=e.srcElement;
-var id=_1a.id;
-var win=this.editor.window;
-if(_1a.tagName.toLowerCase()=="table"){
-setTimeout(function(){
-var _1d=dojo.withGlobal(win,"byId",dojo,[id]);
-dojo.removeAttr(_1d,"align");
-},100);
-}
-},checkAvailable:function(){
-if(this.availableCurrentlySet){
-return this.currentlyAvailable;
-}
-if(!this.editor){
-return false;
-}
-if(this.alwaysAvailable){
-return true;
-}
-this.currentlyAvailable=this.editor.hasAncestorElement("table");
-if(this.currentlyAvailable){
-this.connectTableKeys();
-}else{
-this.disconnectTableKeys();
-}
-this._tempAvailability(500);
-dojo.publish("available",[this.currentlyAvailable]);
-return this.currentlyAvailable;
-},_prepareTable:function(tbl){
-var tds=this.editor.query("td",tbl);
-
-if(!tds[0].id){
-tds.forEach(function(td,i){
-if(!td.id){
-td.id="tdid"+i+this.getTimeStamp();
-}
-},this);
-}
-return tds;
-},getTimeStamp:function(){
-return Math.floor(new Date().getTime()*1e-8);
-},_tempStoreTableData:function(_22){
-if(_22===true){
-}else{
-if(_22===false){
-this.tableData=null;
-}else{
-if(_22===undefined){
-console.warn("_tempStoreTableData must be passed an argument");
-}else{
-setTimeout(dojo.hitch(this,function(){
-this.tableData=null;
-}),_22);
-}
-}
-}
-},_tempAvailability:function(_23){
-if(_23===true){
-this.availableCurrentlySet=true;
-}else{
-if(_23===false){
-this.availableCurrentlySet=false;
-}else{
-if(_23===undefined){
-console.warn("_tempAvailability must be passed an argument");
-}else{
-this.availableCurrentlySet=true;
-setTimeout(dojo.hitch(this,function(){
-this.availableCurrentlySet=false;
-}),_23);
-}
-}
-}
-},connectTableKeys:function(){
-if(this.tablesConnected){
-return;
-}
-this.tablesConnected=true;
-var _24=(this.editor.iframe)?this.editor.document:this.editor.editNode;
-this.cnKeyDn=dojo.connect(_24,"onkeydown",this,"onKeyDown");
-this.cnKeyUp=dojo.connect(_24,"onkeyup",this,"onKeyUp");
-dojo.connect(_24,"onkeypress",this,"onKeyUp");
-},disconnectTableKeys:function(){
-dojo.disconnect(this.cnKeyDn);
-dojo.disconnect(this.cnKeyUp);
-this.tablesConnected=false;
-},onKeyDown:function(evt){
-var key=evt.keyCode;
-if(key==16){
-this.shiftKeyDown=true;
-}
-if(key==9){
-
-var o=this.getTableInfo();
-o.tdIndex=(this.shiftKeyDown)?o.tdIndex-1:tabTo=o.tdIndex+1;
-if(o.tdIndex>=0&&o.tdIndex<o.tds.length){
-this.editor.selectElement(o.tds[o.tdIndex]);
-this.currentlyAvailable=true;
-this._tempAvailability(true);
-this._tempStoreTableData(true);
-this.stopEvent=true;
-}else{
-this.stopEvent=false;
-this.onDisplayChanged();
-}
-if(this.stopEvent){
-dojo.stopEvent(evt);
-}
-}
-},onKeyUp:function(evt){
-var key=evt.keyCode;
-if(key==16){
-this.shiftKeyDown=false;
-}
-if(key==37||key==38||key==39||key==40){
-this.onDisplayChanged();
-}
-if(key==9&&this.stopEvent){
-dojo.stopEvent(evt);
-}
-},onDisplayChanged:function(){
-this.currentlyAvailable=false;
-this._tempStoreTableData(false);
-this._tempAvailability(false);
-this.checkAvailable();
-}});
-tablePluginHandler=new dojox.editor.plugins.GlobalTableHandler();
-dojo.declare("dojox.editor.plugins.TablePlugins",dijit._editor._Plugin,{iconClassPrefix:"editorIcon",useDefaultCommand:false,buttonClass:dijit.form.Button,commandName:"",label:"",alwaysAvailable:false,undoEnabled:false,constructor:function(){
-switch(this.commandName){
-case "colorTableCell":
-this.buttonClass=dijit.form.DropDownButton;
-this.dropDown=new dijit.ColorPalette();
-this.connect(this.dropDown,"onChange",function(_2a){
-this.modTable(null,_2a);
-});
-break;
-case "modifyTable":
-this.buttonClass=dijit.form.DropDownButton;
-this.modTable=this.launchModifyDialog;
-break;
-case "insertTable":
-this.alwaysAvailable=true;
-this.buttonClass=dijit.form.DropDownButton;
-this.modTable=this.launchInsertDialog;
-break;
-case "tableContextMenu":
-this.connect(this,"setEditor",function(){
-this._createContextMenu();
-this.button.domNode.style.display="none";
-});
-break;
-}
-dojo.subscribe("available",this,"onDisplayChanged");
-},onDisplayChanged:function(_2b){
-if(!this.alwaysAvailable){
-this.available=_2b;
-this.button.attr("disabled",!this.available);
-}
-},setEditor:function(){
-this.inherited(arguments);
-this.onEditorLoaded();
-},onEditorLoaded:function(){
-tablePluginHandler.initialize(this.editor);
-},_createContextMenu:function(){
-var _2c=dojo.isFF?this.editor.editNode:this.editorDomNode;
-pMenu=new dijit.Menu({targetNodeIds:[_2c],id:"progMenu",contextMenuForWindow:dojo.isIE});
-var _M=dijit.MenuItem;
-var _2e=dojo.i18n.getLocalization("dojox.editor.plugins","TableDialog",this.lang);
-pMenu.addChild(new _M({label:_2e.selectTableLabel,onClick:dojo.hitch(this,"selectTable")}));
-pMenu.addChild(new dijit.MenuSeparator());
-pMenu.addChild(new _M({label:_2e.insertTableRowBeforeLabel,onClick:dojo.hitch(this,"modTable","insertTableRowBefore")}));
-pMenu.addChild(new _M({label:_2e.insertTableRowAfterLabel,onClick:dojo.hitch(this,"modTable","insertTableRowAfter")}));
-pMenu.addChild(new _M({label:_2e.insertTableColumnBeforeLabel,onClick:dojo.hitch(this,"modTable","insertTableColumnBefore")}));
-pMenu.addChild(new _M({label:_2e.insertTableColumnAfterLabel,onClick:dojo.hitch(this,"modTable","insertTableColumnAfter")}));
-pMenu.addChild(new dijit.MenuSeparator());
-pMenu.addChild(new _M({label:_2e.deleteTableRowLabel,onClick:dojo.hitch(this,"modTable","deleteTableRow")}));
-pMenu.addChild(new _M({label:_2e.deleteTableColumnLabel,onClick:dojo.hitch(this,"modTable","deleteTableColumn")}));
-pMenu._openMyself=function(e){
-if(!tablePluginHandler.checkAvailable()){
-return;
-}
-if(this.leftClickToOpen&&e.button>0){
-return;
-}
-dojo.stopEvent(e);
-var x,y;
-if(dojo.isIE){
-x=e.x;
-y=e.y;
-}else{
-x=e.screenX;
-y=e.screenY+25;
-}
-var _32=this;
-var _33=dijit.getFocus(this);
-function _34(){
-dijit.focus(_33);
-dijit.popup.close(_32);
-};
-var res=dijit.popup.open({popup:this,x:x,y:y,onExecute:_34,onCancel:_34,orient:this.isLeftToRight()?"L":"R"});
-var v=dijit.getViewport();
-if(res.y+res.h>v.h){
-if(e.screenY-res.h>=0){
-y=e.screenY-res.h;
-}else{
-y=0;
-}
-dijit.popup.close(this);
-res=dijit.popup.open({popup:this,x:x,y:y,onExecute:_34,onCancel:_34,orient:this.isLeftToRight()?"L":"R"});
-}
-
-this.focus();
-this._onBlur=function(){
-this.inherited("_onBlur",arguments);
-dijit.popup.close(this);
-};
-};
-this.menu=pMenu;
-},selectTable:function(){
-var o=this.getTableInfo();
-dojo.withGlobal(this.editor.window,"selectElement",dijit._editor.selection,[o.tbl]);
-},launchInsertDialog:function(){
-var w=new dojox.editor.plugins.EditorTableDialog({});
-w.show();
-var c=dojo.connect(w,"onBuildTable",this,function(obj){
-dojo.disconnect(c);
-var res=this.editor.execCommand("inserthtml",obj.htmlText);
-});
-},launchModifyDialog:function(){
-var o=this.getTableInfo();
-
-var w=new dojox.editor.plugins.EditorModifyTableDialog({table:o.tbl});
-w.show();
-this.connect(w,"onSetTable",function(_3e){
-var o=this.getTableInfo();
-
-dojo.attr(o.td,"bgcolor",_3e);
-});
-},_initButton:function(){
-this.command=this.commandName;
-this.label=this.editor.commands[this.command]=this._makeTitle(this.command);
-this.inherited(arguments);
-delete this.command;
-if(this.commandName!="colorTableCell"){
-this.connect(this.button.domNode,"click","modTable");
-}
-if(this.commandName=="tableContextMenu"){
-this.button.domNode.display="none";
-}
-this.onDisplayChanged(false);
-},modTable:function(cmd,_41){
-this.begEdit();
-var o=this.getTableInfo();
-var sw=(dojo.isString(cmd))?cmd:this.commandName;
-var r,c,i;
-var _47=false;
-switch(sw){
-case "insertTableRowBefore":
-r=o.tbl.insertRow(o.trIndex);
-for(i=0;i<o.cols;i++){
-c=r.insertCell(-1);
-c.innerHTML="&nbsp;";
-}
-break;
-case "insertTableRowAfter":
-r=o.tbl.insertRow(o.trIndex+1);
-for(i=0;i<o.cols;i++){
-c=r.insertCell(-1);
-c.innerHTML="&nbsp;";
-}
-break;
-case "insertTableColumnBefore":
-o.trs.forEach(function(r){
-c=r.insertCell(o.colIndex);
-c.innerHTML="&nbsp;";
-});
-_47=true;
-break;
-case "insertTableColumnAfter":
-o.trs.forEach(function(r){
-c=r.insertCell(o.colIndex+1);
-c.innerHTML="&nbsp;";
-});
-_47=true;
-break;
-case "deleteTableRow":
-o.tbl.deleteRow(o.trIndex);
-
-break;
-case "deleteTableColumn":
-o.trs.forEach(function(tr){
-tr.deleteCell(o.colIndex);
-});
-_47=true;
-break;
-case "colorTableCell":
-var tds=this.getSelectedCells(o.tbl);
-dojo.forEach(tds,function(td){
-dojo.style(td,"backgroundColor",_41);
-});
-break;
-case "modifyTable":
-break;
-case "insertTable":
-break;
-}
-if(_47){
-this.makeColumnsEven();
-}
-this.endEdit();
-},begEdit:function(){
-if(tablePluginHandler.undoEnabled){
-
-if(this.editor.customUndo){
-this.editor.beginEditing();
-}else{
-this.valBeforeUndo=this.editor.getValue();
-
-}
-}
-},endEdit:function(){
-if(tablePluginHandler.undoEnabled){
-if(this.editor.customUndo){
-this.editor.endEditing();
-}else{
-var _4d=this.editor.getValue();
-this.editor.setValue(this.valBeforeUndo);
-this.editor.replaceValue(_4d);
-}
-this.editor.onDisplayChanged();
-}
-},makeColumnsEven:function(){
-setTimeout(dojo.hitch(this,function(){
-var o=this.getTableInfo(true);
-var w=Math.floor(100/o.cols);
-o.tds.forEach(function(d){
-dojo.attr(d,"width",w+"%");
-});
-}),10);
-},getTableInfo:function(_51){
-return tablePluginHandler.getTableInfo(_51);
-},_makeTitle:function(str){
-var s=str.split(""),ns=[];
-dojo.forEach(str,function(c,i){
-if(c.charCodeAt(0)<91&&i>0&&ns[i-1].charCodeAt(0)!=32){
-ns.push(" ");
-}
-if(i==0){
-c=c.toUpperCase();
-}
-ns.push(c);
-});
-return ns.join("");
-},getSelectedCells:function(){
-var _57=[];
-var tbl=this.getTableInfo().tbl;
-var tds=tablePluginHandler._prepareTable(tbl);
-var e=this.editor;
-var r;
-if(!dojo.isIE){
-r=dijit.range.getSelection(e.window);
-var _5c=false;
-var _5d=false;
-if(r.anchorNode&&r.anchorNode.tagName&&r.anchorNode.tagName.toLowerCase()=="tr"){
-var trs=dojo.query("tr",tbl);
-var _5f=[];
-trs.forEach(function(tr,i){
-if(!_5c&&(tr==r.anchorNode||tr==r.focusNode)){
-_5f.push(tr);
-_5c=true;
-if(r.anchorNode==r.focusNode){
-_5d=true;
-}
-}else{
-if(_5c&&!_5d){
-_5f.push(tr);
-if(tr==r.anchorNode||tr==r.focusNode){
-_5d=true;
-}
-}
-}
-});
-dojo.forEach(_5f,function(tr){
-_57=_57.concat(dojo.query("td",tr));
-},this);
-}else{
-tds.forEach(function(td,i){
-if(!_5c&&(td.id==r.anchorNode.parentNode.id||td.id==r.focusNode.parentNode.id)){
-_57.push(td);
-_5c=true;
-if(r.anchorNode.parentNode.id==r.focusNode.parentNode.id){
-_5d=true;
-}
-}else{
-if(_5c&&!_5d){
-_57.push(td);
-if(td.id==r.focusNode.parentNode.id||td.id==r.anchorNode.parentNode.id){
-_5d=true;
-}
-}
-}
-});
-
-}
-}
-if(dojo.isIE){
-r=document.selection.createRange();
-var str=r.htmlText.match(/id=\w*/g);
-dojo.forEach(str,function(a){
-var id=a.substring(3,a.length);
-_57.push(e.byId(id));
-},this);
-}
-return _57;
-}});
-dojo.provide("dojox.editor.plugins.EditorTableDialog");
-dojo.require("dijit.Dialog");
-dojo.require("dijit.form.TextBox");
-dojo.require("dijit.form.FilteringSelect");
-dojo.require("dijit.form.Button");
-dojo.declare("dojox.editor.plugins.EditorTableDialog",[dijit.Dialog],{baseClass:"EditorTableDialog",widgetsInTemplate:true,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\">${insertTableTitle}</span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n    <div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\">\n        <table class=\"etdTable\"><tr>\n            <td class=\"left\">\n                <span dojoAttachPoint=\"selectRow\" dojoType=\"dijit.form.TextBox\" value=\"2\"></span>\n                <label>${rows}</label>\n            </td><td cla
 ss=\"right\">\n                <span dojoAttachPoint=\"selectCol\" dojoType=\"dijit.form.TextBox\" value=\"2\"></span>\n                <label>${columns}</label>\n            </td></tr><tr><td>\n                <span dojoAttachPoint=\"selectWidth\" dojoType=\"dijit.form.TextBox\" value=\"100\"></span>\n                <label>${tableWidth}</label>\n            </td><td>\n                <select dojoAttachPoint=\"selectWidthType\" hasDownArrow=\"true\" dojoType=\"dijit.form.FilteringSelect\">\n                  <option value=\"percent\">${percent}</option>\n                  <option value=\"pixels\">${pixels}</option>\n                </select></td></tr>\n          <tr><td>\n                <span dojoAttachPoint=\"selectBorder\" dojoType=\"dijit.form.TextBox\" value=\"1\"></span>\n                <label>${borderThickness}</label></td>\n            <td>\n                ${pixels}\n            </td></tr><tr><td>\n                <span dojoAttachPoint=\"selectPad\" dojoType=\"dijit.form.
 TextBox\" value=\"0\"></span>\n                <label>${cellPadding}</label></td>\n            <td class=\"cellpad\"></td></tr><tr><td>\n                <span dojoAttachPoint=\"selectSpace\" dojoType=\"dijit.form.TextBox\" value=\"0\"></span>\n                <label>${cellSpacing}</label>\n            </td><td class=\"cellspace\"></td></tr></table>\n        <div class=\"dialogButtonContainer\">\n            <div dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick: onInsert\">${buttonInsert}</div>\n            <div dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick: onCancel\">${buttonCancel}</div>\n        </div>\n\t</div>\n</div>\n",postMixInProperties:function(){
-var _68=dojo.i18n.getLocalization("dojox.editor.plugins","TableDialog",this.lang);
-dojo.mixin(this,_68);
-this.inherited(arguments);
-},postCreate:function(){
-dojo.addClass(this.domNode,this.baseClass);
-this.inherited(arguments);
-},onInsert:function(){
-
-var _69=this.selectRow.attr("value")||1,_6a=this.selectCol.attr("value")||1,_6b=this.selectWidth.attr("value"),_6c=this.selectWidthType.attr("value"),_6d=this.selectBorder.attr("value"),pad=this.selectPad.attr("value"),_6f=this.selectSpace.attr("value"),_id="tbl_"+(new Date().getTime()),t="<table id=\""+_id+"\"width=\""+_6b+((_6c=="percent")?"%":"")+"\" border=\""+_6d+"\" cellspacing=\""+_6f+"\" cellpadding=\""+pad+"\">\n";
-for(var r=0;r<_69;r++){
-t+="\t<tr>\n";
-for(var c=0;c<_6a;c++){
-t+="\t\t<td width=\""+(Math.floor(100/_6a))+"%\">&nbsp;</td>\n";
-}
-t+="\t</tr>\n";
-}
-t+="</table>";
-this.onBuildTable({htmlText:t,id:_id});
-this.hide();
-},onBuildTable:function(_74){
-}});
-dojo.provide("dojox.editor.plugins.EditorModifyTableDialog");
-dojo.require("dijit.ColorPalette");
-dojo.declare("dojox.editor.plugins.EditorModifyTableDialog",[dijit.Dialog],{baseClass:"EditorTableDialog",widgetsInTemplate:true,table:null,tableAtts:{},templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\">${modifyTableTitle}</span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n    <div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\">\n        <table class=\"etdTable\">\n          <tr><td class=\"left\">\n                <span class=\"colorSwatchBtn\" dojoAttachPoint=\"backgroundCol\"></span>\n                <label>${backgroundColor}</label>\n
             </td><td class=\"right\">\n                <span class=\"colorSwatchBtn\" dojoAttachPoint=\"borderCol\"></span>\n                <label>${borderColor}</label>\n            </td></tr><tr><td>\n                <span dojoAttachPoint=\"selectBorder\" dojoType=\"dijit.form.TextBox\" value=\"1\"></span>\n                <label>${borderThickness}</label>\n            </td><td>\n            ${pixels}\n            </td></tr><tr><td>\n                <select class=\"floatDijit\" dojoAttachPoint=\"selectAlign\" dojoType=\"dijit.form.FilteringSelect\">\n                  <option value=\"default\">${default}</option>\n                  <option value=\"left\">${left}</option>\n                  <option value=\"center\">${center}</option>\n                  <option value=\"right\">${right}</option>\n                </select>\n                <label>${align}</label>\n            </td><td></td></tr><tr><td>\n                <span dojoAttachPoint=\"selectWidth\" dojoType=\"dijit.form.Text
 Box\" value=\"100\"></span>\n                <label>${tableWidth}</label>\n            </td><td>\n                <select dojoAttachPoint=\"selectWidthType\" hasDownArrow=\"true\" dojoType=\"dijit.form.FilteringSelect\">\n                  <option value=\"percent\">${percent}</option>\n                  <option value=\"pixels\">${pixels}</option>\n                </select>\n                </td></tr><tr><td>\n                <span dojoAttachPoint=\"selectPad\" dojoType=\"dijit.form.TextBox\" value=\"0\"></span>\n                <label>${cellPadding}</label></td>\n            <td class=\"cellpad\"></td></tr><tr><td>\n                <span dojoAttachPoint=\"selectSpace\" dojoType=\"dijit.form.TextBox\" value=\"0\"></span>\n                <label>${cellSpacing}</label>\n            </td><td class=\"cellspace\"></td></tr>\n        </table>\n        <div class=\"dialogButtonContainer\">\n            <div dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick: onSet\">${buttonSet}</div>
 \n            <div dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick: onCancel\">${buttonCancel}</div>\n        </div>\n\t</div>\n</div>\n",postMixInProperties:function(){
-var _75=dojo.i18n.getLocalization("dojox.editor.plugins","TableDialog",this.lang);
-dojo.mixin(this,_75);
-this.inherited(arguments);
-},postCreate:function(){
-dojo.addClass(this.domNode,this.baseClass);
-this.inherited(arguments);
-this.connect(this.borderCol,"click",function(){
-var div=document.createElement("div");
-var w=new dijit.ColorPalette({},div);
-dijit.popup.open({popup:w,around:this.borderCol});
-this.connect(w,"onChange",function(_78){
-dijit.popup.close(w);
-this.setBrdColor(_78);
-});
-});
-this.connect(this.backgroundCol,"click",function(){
-var div=document.createElement("div");
-var w=new dijit.ColorPalette({},div);
-dijit.popup.open({popup:w,around:this.backgroundCol});
-this.connect(w,"onChange",function(_7b){
-dijit.popup.close(w);
-this.setBkColor(_7b);
-});
-});
-this.setBrdColor(dojo.attr(this.table,"bordercolor"));
-this.setBkColor(dojo.attr(this.table,"bgcolor"));
-var w=dojo.attr(this.table,"width");
-var p="pixels";
-if(w.indexOf("%")>-1){
-p="percent";
-w=w.replace(/%/,"");
-}
-this.selectWidth.attr("value",w);
-this.selectWidthType.attr("value",p);
-this.selectBorder.attr("value",dojo.attr(this.table,"border"));
-this.selectPad.attr("value",dojo.attr(this.table,"cellpadding"));
-this.selectSpace.attr("value",dojo.attr(this.table,"cellspacing"));
-this.selectAlign.attr("value",dojo.attr(this.table,"align"));
-},setBrdColor:function(_7e){
-this.brdColor=_7e;
-dojo.style(this.borderCol,"backgroundColor",_7e);
-},setBkColor:function(_7f){
-this.bkColor=_7f;
-dojo.style(this.backgroundCol,"backgroundColor",_7f);
-},onSet:function(){
-dojo.attr(this.table,"bordercolor",this.brdColor);
-dojo.attr(this.table,"bgcolor",this.bkColor);
-dojo.attr(this.table,"width",(this.selectWidth.attr("value")+((this.selectWidthType.attr("value")=="pixels")?"":"%")));
-dojo.attr(this.table,"border",this.selectBorder.attr("value"));
-dojo.attr(this.table,"cellpadding",this.selectPad.attr("value"));
-dojo.attr(this.table,"cellspacing",this.selectSpace.attr("value"));
-dojo.attr(this.table,"align",this.selectAlign.attr("value"));
-this.hide();
-},onSetTable:function(_80){
-}});
-dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){
-if(o.plugin){
-return;
-}
-if(o.args&&o.args.command){
-var cmd=o.args.command.charAt(0).toLowerCase()+o.args.command.substring(1,o.args.command.length);
-switch(cmd){
-case "insertTableRowBefore":
-case "insertTableRowAfter":
-case "insertTableColumnBefore":
-case "insertTableColumnAfter":
-case "deleteTableRow":
-case "deleteTableColumn":
-case "colorTableCell":
-case "modifyTable":
-case "insertTable":
-case "tableContextMenu":
-o.plugin=new dojox.editor.plugins.TablePlugins({commandName:cmd});
-break;
-}
-}
-});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/UploadImage.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/UploadImage.js b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/UploadImage.js
deleted file mode 100644
index 4de9649..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/UploadImage.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.editor.plugins.UploadImage"]){
-dojo._hasResource["dojox.editor.plugins.UploadImage"]=true;
-dojo.provide("dojox.editor.plugins.UploadImage");
-dojo.require("dijit._editor._Plugin");
-dojo.require("dojox.form.FileUploader");
-dojo.experimental("dojox.editor.plugins.UploadImage");
-dojo.declare("dojox.editor.plugins.UploadImage",dijit._editor._Plugin,{tempImageUrl:"",iconClassPrefix:"editorIcon",useDefaultCommand:false,uploadUrl:"",fileInput:null,label:"Mike",_initButton:function(){
-this.command="uploadImage";
-this.editor.commands[this.command]="Upload Image";
-this.inherited("_initButton",arguments);
-delete this.command;
-setTimeout(dojo.hitch(this,"createFileInput"),200);
-},createFileInput:function(){
-var _1=[["Jpeg File","*.jpg;*.jpeg"],["GIF File","*.gif"],["PNG File","*.png"],["All Images","*.jpg;*.jpeg;*.gif;*.png"]];
-console.warn("downloadPath:",this.downloadPath);
-this.fileInput=new dojox.form.FileUploader({isDebug:true,button:this.button,uploadUrl:this.uploadUrl,uploadOnChange:true,selectMultipleFiles:false,fileMask:_1});
-dojo.connect(this.fileInput,"onChange",this,"insertTempImage");
-dojo.connect(this.fileInput,"onComplete",this,"onComplete");
-},onComplete:function(_2,_3,_4){
-_2=_2[0];
-var _5=dojo.withGlobal(this.editor.window,"byId",dojo,[this.currentImageId]);
-var _6;
-if(this.downloadPath){
-_6=this.downloadPath+_2.name;
-}else{
-_6=_2.file;
-}
-_5.src=_6;
-if(_2.width){
-_5.width=_2.width;
-_5.height=_2.height;
-}
-},insertTempImage:function(){
-this.currentImageId="img_"+(new Date().getTime());
-var _7="<img id=\""+this.currentImageId+"\" src=\""+this.tempImageUrl+"\" width=\"32\" height=\"32\"/>";
-this.editor.execCommand("inserthtml",_7);
-}});
-dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){
-if(o.plugin){
-return;
-}
-switch(o.args.name){
-case "uploadImage":
-o.plugin=new dojox.editor.plugins.UploadImage({url:o.args.url});
-}
-});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/nls/TableDialog.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/nls/TableDialog.js b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/nls/TableDialog.js
deleted file mode 100644
index 3e2f71f..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/nls/TableDialog.js
+++ /dev/null
@@ -1 +0,0 @@
-({"buttonSet":"Set","insertTableTitle":"Insert Table","insertTableRowAfterLabel":"Add Row After","center":"center","deleteTableColumnLabel":"Delete Column","right":"right","insertTableColumnBeforeLabel":"Add Column Before","tableWidth":"Table Width:","buttonInsert":"Insert","default":"default","align":"Align:","insertTableRowBeforeLabel":"Add Row Before","cellSpacing":"Cell Spacing:","pixels":"pixels","selectTableLabel":"Select Table","rows":"Rows:","modifyTableTitle":"Modify Table","cellPadding":"Cell Padding:","deleteTableRowLabel":"Delete Row","backgroundColor":"Background Color:","insertTableColumnAfterLabel":"Add Column After","left":"left","borderThickness":"BorderThickness","columns":"Columns:","percent":"percent","borderColor":"Border Color:"})
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/editorPlugins.css
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/editorPlugins.css b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/editorPlugins.css
deleted file mode 100644
index 0e6b71d..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/editorPlugins.css
+++ /dev/null
@@ -1,142 +0,0 @@
-
-.EditorTableDialog{
-}
-.EditorTableDialog .etdTable{
-	width:350px;
-	border:none;
-	table-layout:fixed;
-	border-collapse:collapse;
-}
-.EditorTableDialog .etdTable td{
-	width:200px;
-	border:#CCCCCC 0px solid;
-	padding:5px;
-}
-.EditorTableDialog .etdTable td.left{
-	width:200px;
-}
-.EditorTableDialog .etdTable td.right{
-	width:150px;
-}
-.EditorTableDialog .dijitTextBox{
-	width:50px;
-	float:right;
-	padding-left:3px;
-}
-.EditorTableDialog .dijitComboBox{
-	width:85px;
-	padding-left:5px;
-}
-.EditorTableDialog .etdTable .floatDijit{
-	float:right;
-}
-.EditorTableDialog label{
-	float:right;
-	margin:0;
-	margin-right:5px;
-}
-.EditorTableDialog .cellpad{
-	background:url(images/cellpad.png) no-repeat 5px;
-}
-.EditorTableDialog .cellspace{
-	background:url(images/cellspace.png) no-repeat 5px;
-}
-.dialogButtonContainer{
-	text-align:right;
-	margin-top:10px;
-	cursor:pointer;
-}
-.colorSwatchBtn{
-	display:block;
-	border:#666666 2px solid;
-	background-color:#CCCCCC;
-	width:16px;
-	height:16px;
-	cursor:pointer;
-	float:right;
-}
-.colorSwatchBtn:hover{
-	border:#0099FF 2px solid;
-}
-.colorSwatchBtn div{
-	background-color:#CCCCCC;
-	width:16px;
-	height:16px;
-	cursor:pointer;
-}
-.editorIcon{
-	background-image:url(images/tableIcons.png);
-	background-repeat: no-repeat;
-	width: 16px;
-	height: 16px;
-	text-align: center;
-}
-.editorIconUploadImage{
-	background:url(images/uploadImageIcon.gif) no-repeat 0px 4px;
-}
-.editorIconInsertTable{				
-	background-position:0px 0px;	}
-.editorIconInsertTableRowBefore{ 	
-	background-position:-19px 0px;	}
-.dijitDisabled .editorIconInsertTableRowBefore{ 	
-	background-position:-120px 0px;	}
-	
-.editorIconInsertTableRowAfter{ 	
-	background-position:-35px 0px;	}
-.dijitDisabled .editorIconInsertTableRowAfter{ 	
-	background-position:-136px 0px;	}
-.editorIconInsertTableColumnBefore{ 	
-	background-position:-52px 0px;	}
-.dijitDisabled .editorIconInsertTableColumnBefore{ 	
-	background-position:-154px 0px;	}
-	
-.editorIconInsertTableColumnAfter{ 	
-	background-position:-69px 0px;	}
-.dijitDisabled .editorIconInsertTableColumnAfter{ 	
-	background-position:-171px 0px;	}
-	
-.editorIconDeleteTableRow{ 	
-	background-position:-86px 0px;	}
-.dijitDisabled .editorIconDeleteTableRow{ 	
-	background-position:-205px 0px;	}
-	
-.editorIconDeleteTableColumn{ 	
-	background-position:-103px 0px;	}
-.dijitDisabled .editorIconDeleteTableColumn{ 	
-	background-position:-188px 0px;	}
-	
-.editorIconColorTableCell{ 	
-	background-position:-222px 0px;	}
-.dijitDisabled .editorIconColorTableCell{ 	
-	background-position:-239px 0px;	}
-.editorIconModifyTable{ 	
-	background-position:-256px 0px;	}
-.dijitDisabled .editorIconModifyTable{ 	
-	background-position:-273px 0px;	}
-.RichTextEditable .dijitTextBox, 
-.RichTextEditable .dijitComboBox,
-.RichTextEditable  .dijitSpinner {
-	width: 5em;
-}
-.dojoxDropDownSelect {
-background:#FFFFFF url(images/dropBk.png) repeat-x scroll left top;
-border: 1px solid;
-border-top-color:#cccccc;
-border-right-color:#cccccc;
-border-left-color:#999999;
-border-bottom-color:#ffffff;
-}
-.dojoxDropDownSelect.dojoxDropDownSelectHover{
-background-image:url(images/dropBkOver.png);
-}
-.dojoxDropDownSelect button{
-line-height:16px;
-height:16px;
-width:100px;
-text-align:left;
-color:#8397b9;
-}
-.dijitButtonNode .dijitArrowButtonInner{
-background:url(../../../../dijit/themes/tundra/images/spriteArrows.png) no-repeat left top;
-width:7px;
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/busy.gif
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/busy.gif b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/busy.gif
deleted file mode 100644
index 7519974..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/busy.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellpad.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellpad.png b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellpad.png
deleted file mode 100644
index e8d1b9b..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellpad.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellspace.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellspace.png b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellspace.png
deleted file mode 100644
index d080221..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/cellspace.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/tableIcons.png
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/tableIcons.png b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/tableIcons.png
deleted file mode 100644
index 898ecd8..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/tableIcons.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/uploadImageIcon.gif
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/uploadImageIcon.gif b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/uploadImageIcon.gif
deleted file mode 100644
index 83ed316..0000000
Binary files a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/images/uploadImageIcon.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/insertTable.html
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/insertTable.html b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/insertTable.html
deleted file mode 100644
index 5d4b6b9..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/insertTable.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<div class="dijitDialog" tabindex="-1" waiRole="dialog" waiState="labelledby-${id}_title">
-	<div dojoAttachPoint="titleBar" class="dijitDialogTitleBar">
-	<span dojoAttachPoint="titleNode" class="dijitDialogTitle" id="${id}_title">${insertTableTitle}</span>
-	<span dojoAttachPoint="closeButtonNode" class="dijitDialogCloseIcon" dojoAttachEvent="onclick: onCancel" title="${buttonCancel}">
-		<span dojoAttachPoint="closeText" class="closeText" title="${buttonCancel}">x</span>
-	</span>
-	</div>
-    <div dojoAttachPoint="containerNode" class="dijitDialogPaneContent">
-        <table class="etdTable"><tr>
-            <td class="left">
-                <span dojoAttachPoint="selectRow" dojoType="dijit.form.TextBox" value="2"></span>
-                <label>${rows}</label>
-            </td><td class="right">
-                <span dojoAttachPoint="selectCol" dojoType="dijit.form.TextBox" value="2"></span>
-                <label>${columns}</label>
-            </td></tr><tr><td>
-                <span dojoAttachPoint="selectWidth" dojoType="dijit.form.TextBox" value="100"></span>
-                <label>${tableWidth}</label>
-            </td><td>
-                <select dojoAttachPoint="selectWidthType" hasDownArrow="true" dojoType="dijit.form.FilteringSelect">
-                  <option value="percent">${percent}</option>
-                  <option value="pixels">${pixels}</option>
-                </select></td></tr>
-          <tr><td>
-                <span dojoAttachPoint="selectBorder" dojoType="dijit.form.TextBox" value="1"></span>
-                <label>${borderThickness}</label></td>
-            <td>
-                ${pixels}
-            </td></tr><tr><td>
-                <span dojoAttachPoint="selectPad" dojoType="dijit.form.TextBox" value="0"></span>
-                <label>${cellPadding}</label></td>
-            <td class="cellpad"></td></tr><tr><td>
-                <span dojoAttachPoint="selectSpace" dojoType="dijit.form.TextBox" value="0"></span>
-                <label>${cellSpacing}</label>
-            </td><td class="cellspace"></td></tr></table>
-        <div class="dialogButtonContainer">
-            <div dojoType="dijit.form.Button" dojoAttachEvent="onClick: onInsert">${buttonInsert}</div>
-            <div dojoType="dijit.form.Button" dojoAttachEvent="onClick: onCancel">${buttonCancel}</div>
-        </div>
-	</div>
-</div>

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/modifyTable.html
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/modifyTable.html b/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/modifyTable.html
deleted file mode 100644
index c1b00c6..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/editor/plugins/resources/modifyTable.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<div class="dijitDialog" tabindex="-1" waiRole="dialog" waiState="labelledby-${id}_title">
-	<div dojoAttachPoint="titleBar" class="dijitDialogTitleBar">
-	<span dojoAttachPoint="titleNode" class="dijitDialogTitle" id="${id}_title">${modifyTableTitle}</span>
-	<span dojoAttachPoint="closeButtonNode" class="dijitDialogCloseIcon" dojoAttachEvent="onclick: onCancel" title="${buttonCancel}">
-		<span dojoAttachPoint="closeText" class="closeText" title="${buttonCancel}">x</span>
-	</span>
-	</div>
-    <div dojoAttachPoint="containerNode" class="dijitDialogPaneContent">
-        <table class="etdTable">
-          <tr><td class="left">
-                <span class="colorSwatchBtn" dojoAttachPoint="backgroundCol"></span>
-                <label>${backgroundColor}</label>
-            </td><td class="right">
-                <span class="colorSwatchBtn" dojoAttachPoint="borderCol"></span>
-                <label>${borderColor}</label>
-            </td></tr><tr><td>
-                <span dojoAttachPoint="selectBorder" dojoType="dijit.form.TextBox" value="1"></span>
-                <label>${borderThickness}</label>
-            </td><td>
-            ${pixels}
-            </td></tr><tr><td>
-                <select class="floatDijit" dojoAttachPoint="selectAlign" dojoType="dijit.form.FilteringSelect">
-                  <option value="default">${default}</option>
-                  <option value="left">${left}</option>
-                  <option value="center">${center}</option>
-                  <option value="right">${right}</option>
-                </select>
-                <label>${align}</label>
-            </td><td></td></tr><tr><td>
-                <span dojoAttachPoint="selectWidth" dojoType="dijit.form.TextBox" value="100"></span>
-                <label>${tableWidth}</label>
-            </td><td>
-                <select dojoAttachPoint="selectWidthType" hasDownArrow="true" dojoType="dijit.form.FilteringSelect">
-                  <option value="percent">${percent}</option>
-                  <option value="pixels">${pixels}</option>
-                </select>
-                </td></tr><tr><td>
-                <span dojoAttachPoint="selectPad" dojoType="dijit.form.TextBox" value="0"></span>
-                <label>${cellPadding}</label></td>
-            <td class="cellpad"></td></tr><tr><td>
-                <span dojoAttachPoint="selectSpace" dojoType="dijit.form.TextBox" value="0"></span>
-                <label>${cellSpacing}</label>
-            </td><td class="cellspace"></td></tr>
-        </table>
-        <div class="dialogButtonContainer">
-            <div dojoType="dijit.form.Button" dojoAttachEvent="onClick: onSet">${buttonSet}</div>
-            <div dojoType="dijit.form.Button" dojoAttachEvent="onClick: onCancel">${buttonCancel}</div>
-        </div>
-	</div>
-</div>


Mime
View raw message