camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r755920 [2/11] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: json/ jsonPath/ lang/ lang/aspect/ lang/functional/ lang/oo/ layout/ layout/dnd/ layout/ext-dijit/ layout/ext-dijit/layout/ layout/nls/ layout/nls/en/ layout/nl...
Date Thu, 19 Mar 2009 11:11:05 GMT
Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/multirec.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/multirec.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/multirec.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/multirec.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,62 @@
+/*
+	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.lang.functional.multirec"]){
+dojo._hasResource["dojox.lang.functional.multirec"]=true;
+dojo.provide("dojox.lang.functional.multirec");
+dojo.require("dojox.lang.functional.lambda");
+dojo.require("dojox.lang.functional.util");
+(function(){
+var df=dojox.lang.functional,_2=df.inlineLambda,_x="_x",_4=["_y.r","_y.o"];
+df.multirec=function(_5,_6,_7,_8){
+var c,t,b,a,cs,ts,bs,as,_11={},_12={},_13=function(x){
+_11[x]=1;
+};
+if(typeof _5=="string"){
+cs=_2(_5,_x,_13);
+}else{
+c=df.lambda(_5);
+cs="_c.apply(this, _x)";
+_12["_c=_t.c"]=1;
+}
+if(typeof _6=="string"){
+ts=_2(_6,_x,_13);
+}else{
+t=df.lambda(_6);
+ts="_t.apply(this, _x)";
+}
+if(typeof _7=="string"){
+bs=_2(_7,_x,_13);
+}else{
+b=df.lambda(_7);
+bs="_b.apply(this, _x)";
+_12["_b=_t.b"]=1;
+}
+if(typeof _8=="string"){
+as=_2(_8,_4,_13);
+}else{
+a=df.lambda(_8);
+as="_a.call(this, _y.r, _y.o)";
+_12["_a=_t.a"]=1;
+}
+var _15=df.keys(_11),_16=df.keys(_12),f=new Function([],"var _y={a:arguments},_x,_r,_z,_i".concat(_15.length?","+_15.join(","):"",_16.length?",_t=arguments.callee,"+_16.join(","):"",t?(_16.length?",_t=_t.t":"_t=arguments.callee.t"):"",";for(;;){for(;;){if(_y.o){_r=",as,";break}_x=_y.a;if(",cs,"){_r=",ts,";break}_y.o=_x;_x=",bs,";_y.r=[];_z=_y;for(_i=_x.length-1;_i>=0;--_i){_y={p:_y,a:_x[_i],z:_z}}}if(!(_z=_y.z)){return _r}_z.r.push(_r);_y=_y.p}"));
+if(c){
+f.c=c;
+}
+if(t){
+f.t=t;
+}
+if(b){
+f.b=b;
+}
+if(a){
+f.a=a;
+}
+return f;
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/multirec.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/numrec.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/numrec.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/numrec.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/numrec.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,33 @@
+/*
+	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.lang.functional.numrec"]){
+dojo._hasResource["dojox.lang.functional.numrec"]=true;
+dojo.provide("dojox.lang.functional.numrec");
+dojo.require("dojox.lang.functional.lambda");
+dojo.require("dojox.lang.functional.util");
+(function(){
+var df=dojox.lang.functional,_2=df.inlineLambda,_3=["_r","_i"];
+df.numrec=function(_4,_5){
+var a,as,_8={},_9=function(x){
+_8[x]=1;
+};
+if(typeof _5=="string"){
+as=_2(_5,_3,_9);
+}else{
+a=df.lambda(_5);
+as="_a.call(this, _r, _i)";
+}
+var _b=df.keys(_8),f=new Function(["_x"],"var _t=arguments.callee,_r=_t.t,_i".concat(_b.length?","+_b.join(","):"",a?",_a=_t.a":"",";for(_i=1;_i<=_x;++_i){_r=",as,"}return _r"));
+f.t=_4;
+if(a){
+f.a=a;
+}
+return f;
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/numrec.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/object.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/object.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/object.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/object.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,64 @@
+/*
+	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.lang.functional.object"]){
+dojo._hasResource["dojox.lang.functional.object"]=true;
+dojo.provide("dojox.lang.functional.object");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var d=dojo,df=dojox.lang.functional,_3={};
+d.mixin(df,{keys:function(_4){
+var t=[];
+for(var i in _4){
+if(!(i in _3)){
+t.push(i);
+}
+}
+return t;
+},values:function(_7){
+var t=[];
+for(var i in _7){
+if(!(i in _3)){
+t.push(_7[i]);
+}
+}
+return t;
+},filterIn:function(_a,f,o){
+o=o||d.global;
+f=df.lambda(f);
+var t={},v,i;
+for(i in _a){
+if(!(i in _3)){
+v=_a[i];
+if(f.call(o,v,i,_a)){
+t[i]=v;
+}
+}
+}
+return t;
+},forIn:function(obj,f,o){
+o=o||d.global;
+f=df.lambda(f);
+for(var i in obj){
+if(!(i in _3)){
+f.call(o,obj[i],i,obj);
+}
+}
+return o;
+},mapIn:function(obj,f,o){
+o=o||d.global;
+f=df.lambda(f);
+var t={},i;
+for(i in obj){
+if(!(i in _3)){
+t[i]=f.call(o,obj[i],i,obj);
+}
+}
+return t;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/object.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/reversed.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/reversed.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/reversed.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/reversed.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,72 @@
+/*
+	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.lang.functional.reversed"]){
+dojo._hasResource["dojox.lang.functional.reversed"]=true;
+dojo.provide("dojox.lang.functional.reversed");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var d=dojo,df=dojox.lang.functional;
+d.mixin(df,{filterRev:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var t=[],v,i=a.length-1;
+for(;i>=0;--i){
+v=a[i];
+if(f.call(o,v,i,a)){
+t.push(v);
+}
+}
+return t;
+},forEachRev:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+for(var i=a.length-1;i>=0;f.call(o,a[i],i,a),--i){
+}
+},mapRev:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var n=a.length,t=new Array(n),i=n-1,j=0;
+for(;i>=0;t[j++]=f.call(o,a[i],i,a),--i){
+}
+return t;
+},everyRev:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+for(var i=a.length-1;i>=0;--i){
+if(!f.call(o,a[i],i,a)){
+return false;
+}
+}
+return true;
+},someRev:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+for(var i=a.length-1;i>=0;--i){
+if(f.call(o,a[i],i,a)){
+return true;
+}
+}
+return false;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/reversed.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/scan.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/scan.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/scan.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/scan.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,98 @@
+/*
+	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.lang.functional.scan"]){
+dojo._hasResource["dojox.lang.functional.scan"]=true;
+dojo.provide("dojox.lang.functional.scan");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var d=dojo,df=dojox.lang.functional,_3={};
+d.mixin(df,{scanl:function(a,f,z,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var t,n,i;
+if(d.isArray(a)){
+t=new Array((n=a.length)+1);
+t[0]=z;
+for(i=0;i<n;z=f.call(o,z,a[i],i,a),t[++i]=z){
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+t=[z];
+for(i=0;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){
+}
+}else{
+t=[z];
+for(i in a){
+if(!(i in _3)){
+t.push(z=f.call(o,z,a[i],i,a));
+}
+}
+}
+}
+return t;
+},scanl1:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var t,n,z,_11=true;
+if(d.isArray(a)){
+t=new Array(n=a.length);
+t[0]=z=a[0];
+for(var i=1;i<n;t[i]=z=f.call(o,z,a[i],i,a),++i){
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+if(a.hasNext()){
+t=[z=a.next()];
+for(var i=1;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){
+}
+}
+}else{
+for(var i in a){
+if(!(i in _3)){
+if(_11){
+t=[z=a[i]];
+_11=false;
+}else{
+t.push(z=f.call(o,z,a[i],i,a));
+}
+}
+}
+}
+}
+return t;
+},scanr:function(a,f,z,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var n=a.length,t=new Array(n+1),i=n;
+t[n]=z;
+for(;i>0;--i,z=f.call(o,z,a[i],i,a),t[i]=z){
+}
+return t;
+},scanr1:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var n=a.length,t=new Array(n),z=a[n-1],i=n-1;
+t[i]=z;
+for(;i>0;--i,z=f.call(o,z,a[i],i,a),t[i]=z){
+}
+return t;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/scan.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/sequence.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/sequence.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/sequence.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/sequence.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,32 @@
+/*
+	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.lang.functional.sequence"]){
+dojo._hasResource["dojox.lang.functional.sequence"]=true;
+dojo.provide("dojox.lang.functional.sequence");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var d=dojo,df=dojox.lang.functional;
+d.mixin(df,{repeat:function(n,f,z,o){
+o=o||d.global;
+f=df.lambda(f);
+var t=new Array(n),i=1;
+t[0]=z;
+for(;i<n;t[i]=z=f.call(o,z),++i){
+}
+return t;
+},until:function(pr,f,z,o){
+o=o||d.global;
+f=df.lambda(f);
+pr=df.lambda(pr);
+var t=[];
+for(;!pr.call(o,z);t.push(z),z=f.call(o,z)){
+}
+return t;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/sequence.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/tailrec.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/tailrec.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/tailrec.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/tailrec.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,52 @@
+/*
+	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.lang.functional.tailrec"]){
+dojo._hasResource["dojox.lang.functional.tailrec"]=true;
+dojo.provide("dojox.lang.functional.tailrec");
+dojo.require("dojox.lang.functional.lambda");
+dojo.require("dojox.lang.functional.util");
+(function(){
+var df=dojox.lang.functional,_2=df.inlineLambda,_x="_x";
+df.tailrec=function(_4,_5,_6){
+var c,t,b,cs,ts,bs,_d={},_e={},_f=function(x){
+_d[x]=1;
+};
+if(typeof _4=="string"){
+cs=_2(_4,_x,_f);
+}else{
+c=df.lambda(_4);
+cs="_c.apply(this, _x)";
+_e["_c=_t.c"]=1;
+}
+if(typeof _5=="string"){
+ts=_2(_5,_x,_f);
+}else{
+t=df.lambda(_5);
+ts="_t.t.apply(this, _x)";
+}
+if(typeof _6=="string"){
+bs=_2(_6,_x,_f);
+}else{
+b=df.lambda(_6);
+bs="_b.apply(this, _x)";
+_e["_b=_t.b"]=1;
+}
+var _11=df.keys(_d),_12=df.keys(_e),f=new Function([],"var _x=arguments,_t=_x.callee,_c=_t.c,_b=_t.b".concat(_11.length?","+_11.join(","):"",_12.length?",_t=_x.callee,"+_12.join(","):t?",_t=_x.callee":"",";for(;!",cs,";_x=",bs,");return ",ts));
+if(c){
+f.c=c;
+}
+if(t){
+f.t=t;
+}
+if(b){
+f.b=b;
+}
+return f;
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/tailrec.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/util.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/util.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/util.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/util.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,33 @@
+/*
+	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.lang.functional.util"]){
+dojo._hasResource["dojox.lang.functional.util"]=true;
+dojo.provide("dojox.lang.functional.util");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var df=dojox.lang.functional;
+dojo.mixin(df,{inlineLambda:function(_2,_3,_4){
+var s=df.rawLambda(_2);
+if(_4){
+df.forEach(s.args,_4);
+}
+var ap=typeof _3=="string",n=ap?s.args.length:Math.min(s.args.length,_3.length),a=new Array(4*n+4),i,j=1;
+for(i=0;i<n;++i){
+a[j++]=s.args[i];
+a[j++]="=";
+a[j++]=ap?_3+"["+i+"]":_3[i];
+a[j++]=",";
+}
+a[0]="(";
+a[j++]="(";
+a[j++]=s.body;
+a[j]="))";
+return a.join("");
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/util.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/zip.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/zip.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/zip.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/zip.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,28 @@
+/*
+	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.lang.functional.zip"]){
+dojo._hasResource["dojox.lang.functional.zip"]=true;
+dojo.provide("dojox.lang.functional.zip");
+(function(){
+var df=dojox.lang.functional;
+dojo.mixin(df,{zip:function(){
+var n=arguments[0].length,m=arguments.length,i=1,t=new Array(n),j,p;
+for(;i<m;n=Math.min(n,arguments[i++].length)){
+}
+for(i=0;i<n;++i){
+p=new Array(m);
+for(j=0;j<m;p[j]=arguments[j][i],++j){
+}
+t[i]=p;
+}
+return t;
+},unzip:function(a){
+return df.zip.apply(null,a);
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/zip.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/mix.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/mix.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/mix.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/mix.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,237 @@
+/*
+	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.lang.mix"]){
+dojo._hasResource["dojox.lang.mix"]=true;
+dojo.provide("dojox.lang.mix");
+(function(){
+var _1={},_2=dojox.lang.mix;
+_2.processProps=function(_3,_4,_5){
+if(_3){
+var t,i,j,l;
+if(_5){
+if(dojo.isArray(_5)){
+for(j=0,l=_5.length;j<l;++j){
+delete _3[_5[j]];
+}
+}else{
+for(i in _5){
+if(_5.hasOwnProperty(i)){
+delete _3[i];
+}
+}
+}
+}
+if(_4){
+for(i in _4){
+if(_4.hasOwnProperty(i)&&_3.hasOwnProperty(i)){
+t=_3[i];
+delete _3[i];
+_3[_4[i]]=t;
+}
+}
+}
+}
+return _3;
+};
+var _a=function(_b,_c,_d){
+this.value=_b;
+this.rename=_c||_1;
+if(_d&&dojo.isArray(_d)){
+var p={};
+for(var j=0,l=_d.length;j<l;++j){
+p[_d[j]]=1;
+}
+this.skip=p;
+}else{
+this.skip=_d||_1;
+}
+};
+dojo.extend(_a,{filter:function(_11){
+if(this.skip.hasOwnProperty(_11)){
+return "";
+}
+return this.rename.hasOwnProperty(_11)?this.rename[_11]:_11;
+}});
+var _12=function(_13){
+this.value=_13;
+};
+dojo.extend(_12,{process:function(_14,_15){
+if(this.value instanceof _12){
+this.value.process(_14,_15);
+}else{
+_14[_15]=this.value;
+}
+}});
+_2.mixer=function(_16,_17){
+var dcr=null,flt=null,i,l=arguments.length,_1c,_1d,_1e;
+for(i=1,l;i<l;++i){
+_17=arguments[i];
+if(_17 instanceof _12){
+dcr=_17;
+_17=dcr.value;
+}
+if(_17 instanceof _a){
+flt=_17;
+_17=flt.value;
+}
+for(_1c in _17){
+if(_17.hasOwnProperty(_1c)){
+_1d=_17[_1c];
+_1e=flt?flt.filter(_1c):_1c;
+if(!_1e){
+continue;
+}
+if(_1d instanceof _12){
+_1d.process(_16,_1e);
+}else{
+if(dcr){
+dcr.value=_1d;
+dcr.process(_16,_1e);
+}else{
+_16[_1e]=_1d;
+}
+}
+}
+}
+if(flt){
+_17=flt;
+flt=null;
+}
+if(dcr){
+dcr.value=_17;
+dcr=null;
+}
+}
+return _16;
+};
+_2.makeFilter=function(_1f){
+dojo.declare("dojox.__temp__",_a,_1f||_1);
+var t=dojox.__temp__;
+delete dojox.__temp__;
+return t;
+};
+_2.createFilter=function(_21){
+var _22=_2.makeFilter(_21&&{filter:_21}||_1);
+return function(_23){
+return new _22(_23);
+};
+};
+_2.makeDecorator=function(_24){
+dojo.declare("dojox.__temp__",_12,_24||_1);
+var t=dojox.__temp__;
+delete dojox.__temp__;
+return t;
+};
+_2.createDecorator=function(_26){
+var _27=_2.makeDecorator(_26&&{process:_26}||_1);
+return function(_28){
+return new _27(_28);
+};
+};
+var _29=_2.makeDecorator({constructor:function(_2a,_2b){
+this.value=_2b;
+this.context=_2a;
+},process:function(_2c,_2d){
+var old=_2c[_2d],_2f=this.value,_30=this.context;
+_2c[_2d]=function(){
+return _2f.call(_30,this,arguments,_2d,old);
+};
+}});
+dojo.mixin(_2,{filter:_2.createFilter(),augment:_2.createDecorator(function(_31,_32){
+if(!(_32 in _31)){
+_31[_32]=this.value;
+}
+}),override:_2.createDecorator(function(_33,_34){
+if(_34 in _33){
+_33[_34]=this.value;
+}
+}),replaceContext:function(_35,_36){
+return new _29(_35,_36);
+},shuffle:_2.createDecorator(function(_37,_38){
+if(_38 in _37){
+var old=_37[_38],_3a=this.value;
+_37[_38]=function(){
+return old.apply(this,_3a.apply(this,arguments));
+};
+}
+}),chainBefore:_2.createDecorator(function(_3b,_3c){
+if(_3c in _3b){
+var old=_3b[_3c],_3e=this.value;
+_3b[_3c]=function(){
+_3e.apply(this,arguments);
+return old.apply(this,arguments);
+};
+}else{
+_3b[_3c]=this.value;
+}
+}),chainAfter:_2.createDecorator(function(_3f,_40){
+if(_40 in _3f){
+var old=_3f[_40],_42=this.value;
+_3f[_40]=function(){
+old.apply(this,arguments);
+return _42.apply(this,arguments);
+};
+}else{
+_3f[_40]=this.value;
+}
+}),before:_2.createDecorator(function(_43,_44){
+var old=_43[_44],_46=this.value;
+_43[_44]=old?function(){
+_46.apply(this,arguments);
+return old.apply(this,arguments);
+}:function(){
+_46.apply(this,arguments);
+};
+}),around:_2.createDecorator(function(_47,_48){
+var old=_47[_48],_4a=this.value;
+_47[_48]=old?function(){
+return _4a.call(this,old,arguments);
+}:function(){
+return _4a.call(this,null,arguments);
+};
+}),afterReturning:_2.createDecorator(function(_4b,_4c){
+var old=_4b[_4c],_4e=this.value;
+_4b[_4c]=old?function(){
+var ret=old.apply(this,arguments);
+_4e.call(this,ret);
+return ret;
+}:function(){
+_4e.call(this);
+};
+}),afterThrowing:_2.createDecorator(function(_50,_51){
+var old=_50[_51],_53=this.value;
+if(old){
+_50[_51]=function(){
+var ret;
+try{
+ret=old.apply(this,arguments);
+}
+catch(e){
+_53.call(this,e);
+throw e;
+}
+return ret;
+};
+}
+}),after:_2.createDecorator(function(_55,_56){
+var old=_55[_56],_58=this.value;
+_55[_56]=old?function(){
+var ret;
+try{
+ret=old.apply(this,arguments);
+}
+finally{
+_58.call(this);
+}
+return ret;
+}:function(){
+_58.call(this);
+};
+})});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/mix.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/observable.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/observable.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/observable.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/observable.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,153 @@
+/*
+	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.lang.observable"]){
+dojo._hasResource["dojox.lang.observable"]=true;
+dojo.provide("dojox.lang.observable");
+dojo.experimental("dojox.lang.observable");
+dojox.lang.observable=function(_1,_2,_3,_4){
+return dojox.lang.makeObservable(_2,_3,_4)(_1);
+};
+dojox.lang.makeObservable=function(_5,_6,_7,_8){
+_8=_8||{};
+_7=_7||function(_9,_a,_b,_c){
+return _a[_b].apply(_9,_c);
+};
+function _d(_e,_f,i){
+return function(){
+return _7(_e,_f,i,arguments);
+};
+};
+if(dojox.lang.lettableWin){
+var _11=dojox.lang.makeObservable;
+_11.inc=(_11.inc||0)+1;
+var _12="gettable_"+_11.inc;
+dojox.lang.lettableWin[_12]=_5;
+var _13="settable_"+_11.inc;
+dojox.lang.lettableWin[_13]=_6;
+var _14={};
+return function(_15){
+if(_15.__observable){
+return _15.__observable;
+}
+if(_15.data__){
+throw new Error("Can wrap an object that is already wrapped");
+}
+var _16=[],i,l;
+for(i in _8){
+_16.push(i);
+}
+var _19={type:1,event:1};
+for(i in _15){
+if(i.match(/^[a-zA-Z][\w\$_]*$/)&&!(i in _8)&&!(i in _19)){
+_16.push(i);
+}
+}
+var _1a=_16.join(",");
+var _1b,_1c=_14[_1a];
+if(!_1c){
+var _1d="dj_lettable_"+(_11.inc++);
+var _1e=_1d+"_dj_getter";
+var _1f=["Class "+_1d,"\tPublic data__"];
+for(i=0,l=_16.length;i<l;i++){
+_1b=_16[i];
+var _20=typeof _15[_1b];
+if(_20=="function"||_8[_1b]){
+_1f.push("  Public "+_1b);
+}else{
+if(_20!="object"){
+_1f.push("\tPublic Property Let "+_1b+"(val)","\t\tCall "+_13+"(me.data__,\""+_1b+"\",val)","\tEnd Property","\tPublic Property Get "+_1b,"\t\t"+_1b+" = "+_12+"(me.data__,\""+_1b+"\")","\tEnd Property");
+}
+}
+}
+_1f.push("End Class");
+_1f.push("Function "+_1e+"()","\tDim tmp","\tSet tmp = New "+_1d,"\tSet "+_1e+" = tmp","End Function");
+dojox.lang.lettableWin.vbEval(_1f.join("\n"));
+_14[_1a]=_1c=function(){
+return dojox.lang.lettableWin.construct(_1e);
+};
+}
+
+var _21=_1c();
+_21.data__=_15;
+
+try{
+_15.__observable=_21;
+}
+catch(e){
+}
+for(i=0,l=_16.length;i<l;i++){
+_1b=_16[i];
+try{
+var val=_15[_1b];
+}
+catch(e){
+
+}
+if(typeof val=="function"||_8[_1b]){
+_21[_1b]=_d(_21,_15,_1b);
+}
+}
+return _21;
+};
+}else{
+return function(_23){
+if(_23.__observable){
+return _23.__observable;
+}
+var _24=_23 instanceof Array?[]:{};
+_24.data__=_23;
+for(var i in _23){
+if(i.charAt(0)!="_"){
+if(typeof _23[i]=="function"){
+_24[i]=_d(_24,_23,i);
+}else{
+if(typeof _23[i]!="object"){
+(function(i){
+_24.__defineGetter__(i,function(){
+return _5(_23,i);
+});
+_24.__defineSetter__(i,function(_27){
+return _6(_23,i,_27);
+});
+})(i);
+}
+}
+}
+}
+for(i in _8){
+_24[i]=_d(_24,_23,i);
+}
+_23.__observable=_24;
+return _24;
+};
+}
+};
+if(!{}.__defineGetter__){
+if(dojo.isIE){
+var frame;
+if(document.body){
+frame=document.createElement("iframe");
+document.body.appendChild(frame);
+}else{
+document.write("<iframe id='dj_vb_eval_frame'></iframe>");
+frame=document.getElementById("dj_vb_eval_frame");
+}
+frame.style.display="none";
+var doc=frame.contentWindow.document;
+dojox.lang.lettableWin=frame.contentWindow;
+doc.write("<html><head><script language=\"VBScript\" type=\"text/VBScript\">"+"Function vb_global_eval(code)"+"ExecuteGlobal(code)"+"End Function"+"</script>"+"<script type=\"text/javascript\">"+"function vbEval(code){ \n"+"return vb_global_eval(code);"+"}"+"function construct(name){ \n"+"return window[name]();"+"}"+"</script>"+"</head><body>vb-eval</body></html>");
+doc.close();
+}else{
+throw new Error("This browser does not support getters and setters");
+}
+}
+dojox.lang.ReadOnlyProxy=dojox.lang.makeObservable(function(obj,i){
+return obj[i];
+},function(obj,i,_2c){
+});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/observable.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Decorator.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Decorator.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Decorator.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Decorator.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,24 @@
+/*
+	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.lang.oo.Decorator"]){
+dojo._hasResource["dojox.lang.oo.Decorator"]=true;
+dojo.provide("dojox.lang.oo.Decorator");
+(function(){
+var oo=dojox.lang.oo,D=oo.Decorator=function(_3,_4){
+this.value=_3;
+this.decorator=typeof _4=="object"?function(){
+return _4.exec.apply(_4,arguments);
+}:_4;
+};
+oo.makeDecorator=function(_5){
+return function(_6){
+return new D(_6,_5);
+};
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Decorator.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Filter.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Filter.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Filter.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Filter.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,28 @@
+/*
+	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.lang.oo.Filter"]){
+dojo._hasResource["dojox.lang.oo.Filter"]=true;
+dojo.provide("dojox.lang.oo.Filter");
+(function(){
+var oo=dojox.lang.oo,F=oo.Filter=function(_3,_4){
+this.bag=_3;
+this.filter=typeof _4=="object"?function(){
+return _4.exec.apply(_4,arguments);
+}:_4;
+};
+var _5=function(_6){
+this.map=_6;
+};
+_5.prototype.exec=function(_7){
+return this.map.hasOwnProperty(_7)?this.map[_7]:_7;
+};
+oo.filter=function(_8,_9){
+return new F(_8,new _5(_9));
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Filter.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/aop.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/aop.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/aop.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/aop.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,55 @@
+/*
+	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.lang.oo.aop"]){
+dojo._hasResource["dojox.lang.oo.aop"]=true;
+dojo.provide("dojox.lang.oo.aop");
+dojo.require("dojox.lang.oo.Decorator");
+dojo.require("dojox.lang.oo.chain");
+dojo.require("dojox.lang.oo.general");
+(function(){
+var oo=dojox.lang.oo,md=oo.makeDecorator,_3=oo.aop;
+_3.before=oo.chain.before;
+_3.around=oo.general.wrap;
+_3.afterReturning=md(function(_4,_5,_6){
+return dojo.isFunction(_6)?function(){
+var _7=_6.apply(this,arguments);
+_5.call(this,_7);
+return _7;
+}:function(){
+_5.call(this);
+};
+});
+_3.afterThrowing=md(function(_8,_9,_a){
+return dojo.isFunction(_a)?function(){
+var _b;
+try{
+_b=_a.apply(this,arguments);
+}
+catch(e){
+_9.call(this,e);
+throw e;
+}
+return _b;
+}:_a;
+});
+_3.after=md(function(_c,_d,_e){
+return dojo.isFunction(_e)?function(){
+var _f;
+try{
+_f=_e.apply(this,arguments);
+}
+finally{
+_d.call(this);
+}
+return _f;
+}:function(){
+_d.call(this);
+};
+});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/aop.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/general.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/general.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/general.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/general.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,49 @@
+/*
+	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.lang.oo.general"]){
+dojo._hasResource["dojox.lang.oo.general"]=true;
+dojo.provide("dojox.lang.oo.general");
+dojo.require("dojox.lang.oo.Decorator");
+(function(){
+var oo=dojox.lang.oo,md=oo.makeDecorator,_3=oo.general;
+_3.augment=md(function(_4,_5,_6){
+return typeof _6=="undefined"?_5:_6;
+});
+_3.override=md(function(_7,_8,_9){
+return typeof _9!="undefined"?_8:_9;
+});
+_3.shuffle=md(function(_a,_b,_c){
+return dojo.isFunction(_c)?function(){
+return _c.apply(this,_b.apply(this,arguments));
+}:_c;
+});
+_3.wrap=md(function(_d,_e,_f){
+return function(){
+return _e.call(this,_f,arguments);
+};
+});
+_3.tap=md(function(_10,_11,_12){
+return function(){
+_11.apply(this,arguments);
+return this;
+};
+});
+_3.before=md(function(_13,_14,_15){
+return dojo.isFunction(_15)?function(){
+_14.apply(this,arguments);
+return _15.apply(this,arguments);
+}:_14;
+});
+_3.after=md(function(_16,_17,_18){
+return dojo.isFunction(_18)?function(){
+_18.apply(this,arguments);
+return _17.apply(this,arguments);
+}:_17;
+});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/general.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/mixin.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/mixin.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/mixin.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/mixin.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,67 @@
+/*
+	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.lang.oo.mixin"]){
+dojo._hasResource["dojox.lang.oo.mixin"]=true;
+dojo.provide("dojox.lang.oo.mixin");
+dojo.experimental("dojox.lang.oo.mixin");
+dojo.require("dojox.lang.oo.Filter");
+dojo.require("dojox.lang.oo.Decorator");
+(function(){
+var oo=dojox.lang.oo,_2=oo.Filter,_3=oo.Decorator,_4={},_5=function(_6){
+return _6;
+},_7=function(_8,_9,_a){
+return _9;
+},_b=function(_c,_d,_e,_f){
+_c[_d]=_e;
+},_10={},_11=oo.applyDecorator=function(_12,_13,_14,_15){
+if(_14 instanceof _3){
+var d=_14.decorator;
+_14=_11(_12,_13,_14.value,_15);
+return d(_13,_14,_15);
+}
+return _12(_13,_14,_15);
+};
+oo.__mixin=function(_17,_18,_19,_1a,_1b){
+var _1c,_1d,_1e,_1f,_20;
+for(_1c in _18){
+if(!(_1c in _4)){
+_1e=_18[_1c];
+_1d=_1a(_1c,_17,_18,_1e);
+if(_1d){
+_20=_17[_1d];
+_1f=_11(_19,_1d,_1e,_20);
+if(_20!==_1f){
+_1b(_17,_1d,_1f,_20);
+}
+}
+}
+}
+return _17;
+};
+oo.mixin=function(_21,_22){
+var _23,_24,i=1,l=arguments.length;
+for(;i<l;++i){
+_22=arguments[i];
+if(_22 instanceof _2){
+_24=_22.filter;
+_22=_22.bag;
+}else{
+_24=_5;
+}
+if(_22 instanceof _3){
+_23=_22.decorator;
+_22=_22.value;
+}else{
+_23=_7;
+}
+oo.__mixin(_21,_22,_23,_24,_b);
+}
+return _21;
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/mixin.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/rearrange.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/rearrange.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/rearrange.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/rearrange.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,25 @@
+/*
+	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.lang.oo.rearrange"]){
+dojo._hasResource["dojox.lang.oo.rearrange"]=true;
+dojo.provide("dojox.lang.oo.rearrange");
+dojox.lang.oo.rearrange=function(_1,_2){
+for(var _3 in _2){
+if(_2.hasOwnProperty(_3)&&_3 in _1){
+var _4=_2[_3],_5=_1[_3];
+if(!(delete _1[_3])){
+_1[_3]=undefined;
+}
+if(_4){
+_1[_4]=_5;
+}
+}
+}
+return _1;
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/rearrange.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/utils.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/utils.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/utils.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/utils.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,59 @@
+/*
+	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.lang.utils"]){
+dojo._hasResource["dojox.lang.utils"]=true;
+dojo.provide("dojox.lang.utils");
+(function(){
+var _1={},du=dojox.lang.utils;
+var _3=function(o){
+if(dojo.isArray(o)){
+return dojo._toArray(o);
+}
+if(!dojo.isObject(o)||dojo.isFunction(o)){
+return o;
+}
+return dojo.delegate(o);
+};
+dojo.mixin(du,{coerceType:function(_5,_6){
+switch(typeof _5){
+case "number":
+return Number(eval("("+_6+")"));
+case "string":
+return String(_6);
+case "boolean":
+return Boolean(eval("("+_6+")"));
+}
+return eval("("+_6+")");
+},updateWithObject:function(_7,_8,_9){
+if(!_8){
+return _7;
+}
+for(var x in _7){
+if(x in _8&&!(x in _1)){
+var t=_7[x];
+if(t&&typeof t=="object"){
+du.updateWithObject(t,_8[x],_9);
+}else{
+_7[x]=_9?du.coerceType(t,_8[x]):_3(_8[x]);
+}
+}
+}
+return _7;
+},updateWithPattern:function(_c,_d,_e,_f){
+if(!_d||!_e){
+return _c;
+}
+for(var x in _e){
+if(x in _d&&!(x in _1)){
+_c[x]=_f?du.coerceType(_e[x],_d[x]):_3(_d[x]);
+}
+}
+return _c;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/utils.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/BorderContainer.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/BorderContainer.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/BorderContainer.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/BorderContainer.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,12 @@
+/*
+	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.layout.BorderContainer"]){
+dojo._hasResource["dojox.layout.BorderContainer"]=true;
+dojo.provide("dojox.layout.BorderContainer");
+console.error("dojox.layout.BorderContainer moved to dijit.layout.BorderContainer");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/BorderContainer.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ContentPane.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ContentPane.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ContentPane.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ContentPane.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,84 @@
+/*
+	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.layout.ContentPane"]){
+dojo._hasResource["dojox.layout.ContentPane"]=true;
+dojo.provide("dojox.layout.ContentPane");
+dojo.require("dijit.layout.ContentPane");
+dojo.require("dojox.html._base");
+(function(){
+dojo.declare("dojox.layout.ContentPane",dijit.layout.ContentPane,{adjustPaths:false,cleanContent:false,renderStyles:false,executeScripts:true,scriptHasHooks:false,constructor:function(){
+this.ioArgs={};
+this.ioMethod=dojo.xhrGet;
+this.onLoadDeferred=new dojo.Deferred();
+this.onUnloadDeferred=new dojo.Deferred();
+},postCreate:function(){
+this._setUpDeferreds();
+dijit.layout.ContentPane.prototype.postCreate.apply(this,arguments);
+},onExecError:function(e){
+},_setContentAttr:function(_2){
+var _3=this._setUpDeferreds();
+this.inherited(arguments);
+return _3;
+},cancel:function(){
+if(this._xhrDfd&&this._xhrDfd.fired==-1){
+this.onUnloadDeferred=null;
+}
+dijit.layout.ContentPane.prototype.cancel.apply(this,arguments);
+},_setUpDeferreds:function(){
+var _t=this,_5=function(){
+_t.cancel();
+};
+var _6=(_t.onLoadDeferred=new dojo.Deferred());
+var _7=(_t._nextUnloadDeferred=new dojo.Deferred());
+return {cancel:_5,addOnLoad:function(_8){
+_6.addCallback(_8);
+},addOnUnload:function(_9){
+_7.addCallback(_9);
+}};
+},_onLoadHandler:function(){
+dijit.layout.ContentPane.prototype._onLoadHandler.apply(this,arguments);
+if(this.onLoadDeferred){
+this.onLoadDeferred.callback(true);
+}
+},_onUnloadHandler:function(){
+this.isLoaded=false;
+this.cancel();
+if(this.onUnloadDeferred){
+this.onUnloadDeferred.callback(true);
+}
+dijit.layout.ContentPane.prototype._onUnloadHandler.apply(this,arguments);
+if(this._nextUnloadDeferred){
+this.onUnloadDeferred=this._nextUnloadDeferred;
+}
+},_onError:function(_a,_b){
+dijit.layout.ContentPane.prototype._onError.apply(this,arguments);
+if(this.onLoadDeferred){
+this.onLoadDeferred.errback(_b);
+}
+},refresh:function(){
+var _c=this._setUpDeferreds();
+this.inherited(arguments);
+return _c;
+},_setContent:function(_d){
+var _e=this._contentSetter;
+if(!(_e&&_e instanceof dojox.html._ContentSetter)){
+_e=this._contentSetter=new dojox.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){
+var _10=this.onContentError(e);
+try{
+this.containerNode.innerHTML=_10;
+}
+catch(e){
+console.error("Fatal "+this.id+" could not change content due to "+e.message,e);
+}
+})});
+}
+this._contentSetterParams={adjustPaths:Boolean(this.adjustPaths&&(this.href||this.referencePath)),referencePath:this.href||this.referencePath,renderStyles:this.renderStyles,executeScripts:this.executeScripts,scriptHasHooks:this.scriptHasHooks,scriptHookReplacement:"dijit.byId('"+this.id+"')"};
+this.inherited("_setContent",arguments);
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ContentPane.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/DragPane.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/DragPane.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/DragPane.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/DragPane.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,36 @@
+/*
+	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.layout.DragPane"]){
+dojo._hasResource["dojox.layout.DragPane"]=true;
+dojo.provide("dojox.layout.DragPane");
+dojo.require("dijit._Widget");
+dojo.declare("dojox.layout.DragPane",dijit._Widget,{invert:true,postCreate:function(){
+this.inherited(arguments);
+this.connect(this.domNode,"onmousedown","_down");
+this.connect(this.domNode,"onmouseup","_up");
+},_down:function(e){
+var t=this.domNode;
+dojo.style(t,"cursor","move");
+this._x=e.pageX;
+this._y=e.pageY;
+if((this._x<t.offsetLeft+t.clientWidth)&&(this._y<t.offsetTop+t.clientHeight)){
+dojo.setSelectable(t,false);
+this._mover=this.connect(t,"onmousemove","_move");
+}
+},_up:function(e){
+dojo.setSelectable(this.domNode,true);
+dojo.style(this.domNode,"cursor","pointer");
+this.disconnect(this._mover);
+},_move:function(e){
+var _5=this.invert?1:-1;
+this.domNode.scrollTop+=(this._y-e.pageY)*_5;
+this.domNode.scrollLeft+=(this._x-e.pageX)*_5;
+this._x=e.pageX;
+this._y=e.pageY;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/DragPane.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ExpandoPane.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ExpandoPane.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ExpandoPane.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ExpandoPane.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,125 @@
+/*
+	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.layout.ExpandoPane"]){
+dojo._hasResource["dojox.layout.ExpandoPane"]=true;
+dojo.provide("dojox.layout.ExpandoPane");
+dojo.experimental("dojox.layout.ExpandoPane");
+dojo.require("dijit.layout.ContentPane");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Container");
+dojo.declare("dojox.layout.ExpandoPane",[dijit.layout.ContentPane,dijit._Templated],{maxHeight:"",maxWidth:"",splitter:"",templateString:"<div class=\"dojoxExpandoPane\" dojoAttachEvent=\"ondblclick:toggle\" >\n\t<div dojoAttachPoint=\"titleWrapper\" class=\"dojoxExpandoTitle\">\n\t\t<div class=\"dojoxExpandoIcon\" dojoAttachPoint=\"iconNode\" dojoAttachEvent=\"onclick:toggle\"><span class=\"a11yNode\">X</span></div>\t\t\t\n\t\t<span class=\"dojoxExpandoTitleNode\" dojoAttachPoint=\"titleNode\">${title}</span>\n\t</div>\n\t<div class=\"dojoxExpandoWrapper\" dojoAttachPoint=\"cwrapper\" dojoAttachEvent=\"ondblclick:_trap\">\n\t\t<div class=\"dojoxExpandoContent\" dojoAttachPoint=\"containerNode\"></div>\n\t</div>\n</div>\n",easeOut:"dojo._DefaultEasing",easeIn:"dojo._DefaultEasing",duration:420,startExpanded:true,baseClass:"dijitExpandoPane",postCreate:function(){
+this.inherited(arguments);
+this._animConnects=[];
+this._isHorizontal=true;
+if(dojo.isString(this.easeOut)){
+this.easeOut=dojo.getObject(this.easeOut);
+}
+if(dojo.isString(this.easeIn)){
+this.easeIn=dojo.getObject(this.easeIn);
+}
+var _1="",_2=!this.isLeftToRight();
+if(this.region){
+switch(this.region){
+case "trailing":
+case "right":
+_1=_2?"Left":"Right";
+break;
+case "leading":
+case "left":
+_1=_2?"Right":"Left";
+break;
+case "top":
+_1="Top";
+break;
+case "bottom":
+_1="Bottom";
+break;
+}
+dojo.addClass(this.domNode,"dojoxExpando"+_1);
+this._isHorizontal=/top|bottom/.test(this.region);
+}
+dojo.style(this.domNode,{overflow:"hidden",padding:0});
+},_startupSizes:function(){
+this._container=this.getParent();
+this._closedSize=this._titleHeight=dojo.marginBox(this.titleWrapper).h;
+if(this.splitter){
+var _3=this.id;
+dijit.registry.filter(function(w){
+return w&&w.child&&w.child.id==_3;
+}).forEach(dojo.hitch(this,function(w){
+this.connect(w,"_stopDrag","_afterResize");
+}));
+}
+this._currentSize=dojo.contentBox(this.domNode);
+this._showSize=this._currentSize[(this._isHorizontal?"h":"w")];
+this._setupAnims();
+if(this.startExpanded){
+this._showing=true;
+}else{
+this._showing=false;
+this._hideWrapper();
+this._hideAnim.gotoPercent(99,true);
+}
+this._hasSizes=true;
+},_afterResize:function(e){
+var _7=this._currentSize;
+this._currentSize=dojo.marginBox(this.domNode);
+var n=this._currentSize[(this._isHorizontal?"h":"w")];
+if(n>this._titleHeight){
+if(!this._showing){
+this._showing=!this._showing;
+this._showEnd();
+}
+this._showSize=n;
+this._setupAnims();
+}else{
+this._showSize=_7[(this._isHorizontal?"h":"w")];
+this._showing=false;
+this._hideWrapper();
+this._hideAnim.gotoPercent(89,true);
+}
+},_setupAnims:function(){
+dojo.forEach(this._animConnects,dojo.disconnect);
+var _9={node:this.domNode,duration:this.duration},_a=this._isHorizontal,_b={},_c={},_d=_a?"height":"width";
+_b[_d]={end:this._showSize,unit:"px"};
+_c[_d]={end:this._closedSize,unit:"px"};
+this._showAnim=dojo.animateProperty(dojo.mixin(_9,{easing:this.easeIn,properties:_b}));
+this._hideAnim=dojo.animateProperty(dojo.mixin(_9,{easing:this.easeOut,properties:_c}));
+this._animConnects=[dojo.connect(this._showAnim,"onEnd",this,"_showEnd"),dojo.connect(this._hideAnim,"onEnd",this,"_hideEnd")];
+},toggle:function(){
+if(this._showing){
+this._hideWrapper();
+this._showAnim&&this._showAnim.stop();
+this._hideAnim.play();
+}else{
+this._hideAnim&&this._hideAnim.stop();
+this._showAnim.play();
+}
+this._showing=!this._showing;
+},_hideWrapper:function(){
+dojo.addClass(this.domNode,"dojoxExpandoClosed");
+dojo.style(this.cwrapper,{visibility:"hidden",opacity:"0",overflow:"hidden"});
+},_showEnd:function(){
+dojo.style(this.cwrapper,{opacity:0,visibility:"visible"});
+dojo.fadeIn({node:this.cwrapper,duration:227}).play(1);
+dojo.removeClass(this.domNode,"dojoxExpandoClosed");
+setTimeout(dojo.hitch(this._container,"layout"),15);
+},_hideEnd:function(){
+setTimeout(dojo.hitch(this._container,"layout"),15);
+},resize:function(_e){
+if(!this._hasSizes){
+this._startupSizes(_e);
+}
+var _f=(_e&&_e.h)?_e:dojo.marginBox(this.domNode);
+this._contentBox={w:_f.w||dojo.marginBox(this.domNode).w,h:_f.h-this._titleHeight};
+dojo.style(this.containerNode,"height",this._contentBox.h+"px");
+this._layoutChildren();
+},_trap:function(e){
+dojo.stopEvent(e);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ExpandoPane.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/FloatingPane.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/FloatingPane.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/FloatingPane.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/FloatingPane.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,222 @@
+/*
+	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.layout.FloatingPane"]){
+dojo._hasResource["dojox.layout.FloatingPane"]=true;
+dojo.provide("dojox.layout.FloatingPane");
+dojo.experimental("dojox.layout.FloatingPane");
+dojo.require("dojox.layout.ContentPane");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Widget");
+dojo.require("dojo.dnd.Moveable");
+dojo.require("dojox.layout.ResizeHandle");
+dojo.declare("dojox.layout.FloatingPane",[dojox.layout.ContentPane,dijit._Templated],{closable:true,dockable:true,resizable:false,maxable:false,resizeAxis:"xy",title:"",dockTo:"",duration:400,contentClass:"dojoxFloatingPaneContent",_showAnim:null,_hideAnim:null,_dockNode:null,_restoreState:{},_allFPs:[],_startZ:100,templateString:null,templateString:"<div class=\"dojoxFloatingPane\" id=\"${id}\">\n\t<div tabindex=\"0\" waiRole=\"button\" class=\"dojoxFloatingPaneTitle\" dojoAttachPoint=\"focusNode\">\n\t\t<span dojoAttachPoint=\"closeNode\" dojoAttachEvent=\"onclick: close\" class=\"dojoxFloatingCloseIcon\"></span>\n\t\t<span dojoAttachPoint=\"maxNode\" dojoAttachEvent=\"onclick: maximize\" class=\"dojoxFloatingMaximizeIcon\">&thinsp;</span>\n\t\t<span dojoAttachPoint=\"restoreNode\" dojoAttachEvent=\"onclick: _restore\" class=\"dojoxFloatingRestoreIcon\">&thinsp;</span>\t\n\t\t<span dojoAttachPoint=\"dockNode\" dojoAttachEvent=\"onclick: minimize\" class=\"dojoxFloatingMini
 mizeIcon\">&thinsp;</span>\n\t\t<span dojoAttachPoint=\"titleNode\" class=\"dijitInline dijitTitleNode\"></span>\n\t</div>\n\t<div dojoAttachPoint=\"canvas\" class=\"dojoxFloatingPaneCanvas\">\n\t\t<div dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\" class=\"${contentClass}\">\n\t\t</div>\n\t\t<span dojoAttachPoint=\"resizeHandle\" class=\"dojoxFloatingResizeHandle\"></span>\n\t</div>\n</div>\n",postCreate:function(){
+this.setTitle(this.title);
+this.inherited(arguments);
+var _1=new dojo.dnd.Moveable(this.domNode,{handle:this.focusNode});
+if(!this.dockable){
+this.dockNode.style.display="none";
+}
+if(!this.closable){
+this.closeNode.style.display="none";
+}
+if(!this.maxable){
+this.maxNode.style.display="none";
+this.restoreNode.style.display="none";
+}
+if(!this.resizable){
+this.resizeHandle.style.display="none";
+}else{
+var _2=dojo.marginBox(this.domNode);
+this.domNode.style.width=_2.w+"px";
+}
+this._allFPs.push(this);
+this.domNode.style.position="absolute";
+this.bgIframe=new dijit.BackgroundIframe(this.domNode);
+},startup:function(){
+if(this._started){
+return;
+}
+this.inherited(arguments);
+if(this.resizable){
+if(dojo.isIE){
+this.canvas.style.overflow="auto";
+}else{
+this.containerNode.style.overflow="auto";
+}
+this._resizeHandle=new dojox.layout.ResizeHandle({targetId:this.id,resizeAxis:this.resizeAxis},this.resizeHandle);
+}
+if(this.dockable){
+var _3=this.dockTo;
+if(this.dockTo){
+this.dockTo=dijit.byId(this.dockTo);
+}else{
+this.dockTo=dijit.byId("dojoxGlobalFloatingDock");
+}
+if(!this.dockTo){
+var _4;
+var _5;
+if(_3){
+_4=_3;
+_5=dojo.byId(_3);
+}else{
+_5=document.createElement("div");
+dojo.body().appendChild(_5);
+dojo.addClass(_5,"dojoxFloatingDockDefault");
+_4="dojoxGlobalFloatingDock";
+}
+this.dockTo=new dojox.layout.Dock({id:_4,autoPosition:"south"},_5);
+this.dockTo.startup();
+}
+if((this.domNode.style.display=="none")||(this.domNode.style.visibility=="hidden")){
+this.minimize();
+}
+}
+this.connect(this.focusNode,"onmousedown","bringToTop");
+this.connect(this.domNode,"onmousedown","bringToTop");
+this.resize(dojo.coords(this.domNode));
+this._started=true;
+},setTitle:function(_6){
+this.titleNode.innerHTML=_6;
+this.title=_6;
+},close:function(){
+if(!this.closable){
+return;
+}
+dojo.unsubscribe(this._listener);
+this.hide(dojo.hitch(this,function(){
+this.destroyRecursive();
+}));
+},hide:function(_7){
+dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,function(){
+this.domNode.style.display="none";
+this.domNode.style.visibility="hidden";
+if(this.dockTo&&this.dockable){
+this.dockTo._positionDock(null);
+}
+if(_7){
+_7();
+}
+})}).play();
+},show:function(_8){
+var _9=dojo.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:dojo.hitch(this,function(){
+this.domNode.style.display="";
+this.domNode.style.visibility="visible";
+if(this.dockTo&&this.dockable){
+this.dockTo._positionDock(null);
+}
+if(typeof _8=="function"){
+_8();
+}
+this._isDocked=false;
+if(this._dockNode){
+this._dockNode.destroy();
+this._dockNode=null;
+}
+})}).play();
+this.resize(dojo.coords(this.domNode));
+},minimize:function(){
+if(!this._isDocked){
+this.hide(dojo.hitch(this,"_dock"));
+}
+},maximize:function(){
+if(this._maximized){
+return;
+}
+this._naturalState=dojo.coords(this.domNode);
+if(this._isDocked){
+this.show();
+setTimeout(dojo.hitch(this,"maximize"),this.duration);
+}
+dojo.addClass(this.focusNode,"floatingPaneMaximized");
+this.resize(dijit.getViewport());
+this._maximized=true;
+},_restore:function(){
+if(this._maximized){
+this.resize(this._naturalState);
+dojo.removeClass(this.focusNode,"floatingPaneMaximized");
+this._maximized=false;
+}
+},_dock:function(){
+if(!this._isDocked&&this.dockable){
+this._dockNode=this.dockTo.addNode(this);
+this._isDocked=true;
+}
+},resize:function(_a){
+this._currentState=_a;
+var _b=this.domNode.style;
+if(_a.t){
+_b.top=_a.t+"px";
+}
+if(_a.l){
+_b.left=_a.l+"px";
+}
+_b.width=_a.w+"px";
+_b.height=_a.h+"px";
+var _c={l:0,t:0,w:_a.w,h:(_a.h-this.focusNode.offsetHeight)};
+dojo.marginBox(this.canvas,_c);
+this._checkIfSingleChild();
+if(this._singleChild&&this._singleChild.resize){
+this._singleChild.resize(_c);
+}
+},bringToTop:function(){
+var _d=dojo.filter(this._allFPs,function(i){
+return i!==this;
+},this);
+_d.sort(function(a,b){
+return a.domNode.style.zIndex-b.domNode.style.zIndex;
+});
+_d.push(this);
+dojo.forEach(_d,function(w,x){
+w.domNode.style.zIndex=this._startZ+(x*2);
+dojo.removeClass(w.domNode,"dojoxFloatingPaneFg");
+},this);
+dojo.addClass(this.domNode,"dojoxFloatingPaneFg");
+},destroy:function(){
+this._allFPs.splice(dojo.indexOf(this._allFPs,this),1);
+if(this._resizeHandle){
+this._resizeHandle.destroy();
+}
+this.inherited(arguments);
+}});
+dojo.declare("dojox.layout.Dock",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dojoxDock\"><ul dojoAttachPoint=\"containerNode\" class=\"dojoxDockList\"></ul></div>",_docked:[],_inPositioning:false,autoPosition:false,addNode:function(_13){
+var div=document.createElement("li");
+this.containerNode.appendChild(div);
+var _15=new dojox.layout._DockNode({title:_13.title,paneRef:_13},div);
+_15.startup();
+return _15;
+},startup:function(){
+if(this.id=="dojoxGlobalFloatingDock"||this.isFixedDock){
+dojo.connect(window,"onresize",this,"_positionDock");
+dojo.connect(window,"onscroll",this,"_positionDock");
+if(dojo.isIE){
+this.connect(this.domNode,"onresize","_positionDock");
+}
+}
+this._positionDock(null);
+this.inherited(arguments);
+},_positionDock:function(e){
+if(!this._inPositioning){
+if(this.autoPosition=="south"){
+setTimeout(dojo.hitch(this,function(){
+this._inPositiononing=true;
+var _17=dijit.getViewport();
+var s=this.domNode.style;
+s.left=_17.l+"px";
+s.width=(_17.w-2)+"px";
+s.top=(_17.h+_17.t)-this.domNode.offsetHeight+"px";
+this._inPositioning=false;
+}),125);
+}
+}
+}});
+dojo.declare("dojox.layout._DockNode",[dijit._Widget,dijit._Templated],{title:"",paneRef:null,templateString:"<li dojoAttachEvent=\"onclick: restore\" class=\"dojoxDockNode\">"+"<span dojoAttachPoint=\"restoreNode\" class=\"dojoxDockRestoreButton\" dojoAttachEvent=\"onclick: restore\"></span>"+"<span class=\"dojoxDockTitleNode\" dojoAttachPoint=\"titleNode\">${title}</span>"+"</li>",restore:function(){
+this.paneRef.show();
+this.paneRef.bringToTop();
+this.destroy();
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/FloatingPane.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/GridContainer.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/GridContainer.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/GridContainer.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/GridContainer.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,829 @@
+/*
+	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.layout.GridContainer"]){
+dojo._hasResource["dojox.layout.GridContainer"]=true;
+dojo.provide("dojox.layout.GridContainer");
+dojo.experimental("dojox.layout.GridContainer");
+dojo.require("dijit._base.focus");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Container");
+dojo.require("dijit._Contained");
+dojo.require("dojo.dnd.move");
+dojo.require("dojox.layout.dnd.PlottedDnd");
+dojo.requireLocalization("dojox.layout","GridContainer",null,"ROOT,en,fr");
+dojo.declare("dojox.layout.GridContainer",[dijit._Widget,dijit._Templated,dijit._Container,dijit._Contained],{templateString:"<div id=\"${id}\" class=\"gridContainer\" dojoAttachPoint=\"containerNode\" tabIndex=\"0\" dojoAttachEvent=\"onkeypress:_selectFocus\">\n\t<table class=\"gridContainerTable\" dojoAttachPoint=\"gridContainerTable\" cellspacing=\"0\" cellpadding=\"0\">\n\t\t<tbody class=\"gridContainerBody\">\n\t\t\t<tr class=\"gridContainerRow\" dojoAttachPoint=\"gridNode\"></tr>\n\t\t</tbody>\n\t</table>\n</div>\n",isContainer:true,i18n:null,isAutoOrganized:true,isRightFixed:false,isLeftFixed:false,hasResizableColumns:true,nbZones:1,opacity:1,minColWidth:20,minChildWidth:150,acceptTypes:[],mode:"right",allowAutoScroll:false,timeDisplayPopup:1500,isOffset:false,offsetDrag:{},withHandles:false,handleClasses:[],_draggedWidget:null,_isResized:false,_activeGrip:null,_oldwidth:0,_oldheight:0,_a11yOn:false,_canDisplayPopup:true,constructor:function(_1,_2){
+this.acceptTypes=_1["acceptTypes"]||["dijit.layout.ContentPane"];
+this.dragOffset=_1["dragOffset"]||{x:0,y:0};
+},postMixInProperties:function(){
+this.i18n=dojo.i18n.getLocalization("dojox.layout","GridContainer");
+},_createCells:function(){
+if(this.nbZones===0){
+this.nbZones=1;
+}
+var _3=100/this.nbZones;
+if(dojo.isIE&&dojo.marginBox(this.gridNode).height){
+var _4=document.createTextNode(" ");
+this.gridNode.appendChild(_4);
+}
+var _5=[];
+this.cell=[];
+var i=0;
+while(i<this.nbZones){
+var _7=dojo.doc.createElement("td");
+dojo.addClass(_7,"gridContainerZone");
+_7.id=this.id+"_dz"+i;
+_7.style.width=_3+"%";
+var _8=this.gridNode.appendChild(_7);
+this.cell[i]=_8;
+i++;
+}
+},startup:function(){
+this.inherited(arguments);
+this._createCells();
+if(this.usepref!==true){
+this[(this.isAutoOrganized?"_organizeServices":"_organizeServicesManually")]();
+}else{
+return;
+}
+this.init();
+dojo.forEach(this.getChildren(),function(_9){
+!_9.started&&!_9._started&&_9.startup();
+});
+},init:function(){
+this.grid=this._createGrid();
+this.connect(dojo.global,"onresize","onResized");
+this.connect(this,"onDndDrop","_placeGrips");
+this.dropHandler=dojo.subscribe("/dnd/drop",this,"_placeGrips");
+this._oldwidth=this.domNode.offsetWidth;
+if(this.hasResizableColumns){
+this._initPlaceGrips();
+this._placeGrips();
+}
+},destroy:function(){
+for(var i=0;i<this.handleDndStart;i++){
+dojo.disconnect(this.handleDndStart[i]);
+}
+dojo.unsubscribe(this.dropHandler);
+this.inherited(arguments);
+},onResized:function(){
+if(this.hasResizableColumns){
+this._placeGrips();
+this._oldwidth=this.domNode.offsetWidth;
+this._oldheight=this.domNode.offsetHeight;
+}
+},_organizeServices:function(){
+var _b=this.nbZones;
+var _c=this.getChildren().length;
+var _d=Math.floor(_c/_b);
+var _e=_c%_b;
+var i=0;
+for(var z=0;z<_b;z++){
+for(var r=0;r<_d;r++){
+this._insertService(z,i++,0,true);
+}
+if(_e>0){
+try{
+this._insertService(z,i++,0,true);
+}
+catch(e){
+console.error("Unable to insert service in grid container",e,this.getChildren());
+}
+_e--;
+}else{
+if(_d===0){
+break;
+}
+}
+}
+},_organizeServicesManually:function(){
+var _12=this.getChildren();
+for(var i=0;i<_12.length;i++){
+try{
+this._insertService(_12[i].column-1,i,0,true);
+}
+catch(e){
+console.error("Unable to insert service in grid container",e,_12[i]);
+}
+}
+},_insertService:function(z,p,i,_17){
+var _18=this.cell[z];
+var _19=_18.childNodes.length;
+var _1a=this.getChildren()[(i?i:0)];
+if(typeof (p)=="undefined"||p>_19){
+p=_19;
+}
+var _1b=dojo.place(_1a.domNode,_18,p);
+_1a.domNode.setAttribute("tabIndex",0);
+if(!_1a.dragRestriction){
+dojo.addClass(_1a.domNode,"dojoDndItem");
+}
+if(!_1a.domNode.getAttribute("dndType")){
+_1a.domNode.setAttribute("dndType",_1a.declaredClass);
+}
+dojox.layout.dnd._setGcDndHandle(_1a,this.withHandles,this.handleClasses,_17);
+if(this.hasResizableColumns){
+if(_1a.onLoad){
+this.connect(_1a,"onLoad","_placeGrips");
+}
+if(_1a.onExecError){
+this.connect(_1a,"onExecError","_placeGrips");
+}
+if(_1a.onUnLoad){
+this.connect(_1a,"onUnLoad","_placeGrips");
+}
+}
+this._placeGrips();
+return _1a.id;
+},addService:function(_1c,z,p){
+_1c.domNode.id=_1c.id;
+this.addChild(_1c);
+if(p<=0){
+p=0;
+}
+var _1f=this._insertService(z,p);
+this.grid[z].setItem(_1c.id,{data:_1c.domNode,type:[_1c.domNode.getAttribute("dndType")]});
+return _1f;
+},_createGrid:function(){
+var _20=[];
+var i=0;
+this.tabDZ=[];
+while(i<this.nbZones){
+var _22=this.cell[i];
+this.tabDZ[i]=this._createZone(_22);
+if(this.hasResizableColumns&&i!=(this.nbZones-1)){
+this._createGrip(this.tabDZ[i]);
+}
+_20.push(this.tabDZ[i]);
+i++;
+}
+if(this.hasResizableColumns){
+this.handleDndStart=[];
+for(var j=0;j<this.tabDZ.length;j++){
+var dz=this.tabDZ[j];
+var _25=this;
+this.handleDndStart.push(dojo.connect(dz,"onDndStart",dz,function(_26){
+if(_26==this){
+_25.handleDndInsertNodes=[];
+for(i=0;i<_25.tabDZ.length;i++){
+_25.handleDndInsertNodes.push(dojo.connect(_25.tabDZ[i],"insertNodes",_25,function(){
+_25._disconnectDnd();
+}));
+}
+_25.handleDndInsertNodes.push(dojo.connect(dz,"onDndCancel",_25,_25._disconnectDnd));
+_25.onResized();
+}
+}));
+}
+}
+return _20;
+},_disconnectDnd:function(){
+dojo.forEach(this.handleDndInsertNodes,dojo.disconnect);
+setTimeout(dojo.hitch(this,"onResized"),0);
+},_createZone:function(_27){
+var dz=null;
+dz=new dojox.layout.dnd.PlottedDnd(_27.id,{accept:this.acceptTypes,withHandles:this.withHandles,handleClasses:this.handleClasses,singular:true,hideSource:true,opacity:this.opacity,dom:this.domNode,allowAutoScroll:this.allowAutoScroll,isOffset:this.isOffset,offsetDrag:this.offsetDrag});
+this.connect(dz,"insertDashedZone","_placeGrips");
+this.connect(dz,"deleteDashedZone","_placeGrips");
+return dz;
+},_createGrip:function(dz){
+var _2a=document.createElement("div");
+_2a.className="gridContainerGrip";
+_2a.setAttribute("tabIndex","0");
+var _2b=this;
+this.onMouseOver=this.connect(_2a,"onmouseover",function(e){
+var _2d=false;
+for(var i=0;i<_2b.grid.length-1;i++){
+if(dojo.hasClass(_2b.grid[i].grip,"gridContainerGripShow")){
+_2d=true;
+break;
+}
+}
+if(!_2d){
+dojo.removeClass(e.target,"gridContainerGrip");
+dojo.addClass(e.target,"gridContainerGripShow");
+}
+});
+this.connect(_2a,"onmouseout",function(e){
+if(!_2b._isResized){
+dojo.removeClass(e.target,"gridContainerGripShow");
+dojo.addClass(e.target,"gridContainerGrip");
+}
+});
+this.connect(_2a,"onmousedown",function(e){
+_2b._a11yOn=false;
+_2b._activeGrip=e.target;
+_2b.resizeColumnOn(e);
+});
+this.domNode.appendChild(_2a);
+dz.grip=_2a;
+},_initPlaceGrips:function(){
+var dcs=dojo.getComputedStyle(this.domNode);
+var gcs=dojo.getComputedStyle(this.gridContainerTable);
+this._x=parseInt(dcs.paddingLeft);
+this._topGrip=parseInt(dcs.paddingTop);
+if(dojo.isIE||gcs.borderCollapse!="collapse"){
+var ex=dojo._getBorderExtents(this.gridContainerTable);
+this._x+=ex.l;
+this._topGrip+=ex.t;
+}
+this._topGrip+="px";
+dojo.forEach(this.grid,function(_34){
+if(_34.grip){
+var _35=_34.grip;
+if(!dojo.isIE){
+_34.pad=dojo._getPadBorderExtents(_34.node).w;
+}
+_35.style.top=this._topGrip;
+}
+},this);
+},_placeGrips:function(){
+var _36;
+if(this.allowAutoScroll){
+_36=this.gridNode.scrollHeight;
+}else{
+_36=dojo.contentBox(this.gridNode).h;
+}
+var _37=this._x;
+dojo.forEach(this.grid,function(_38){
+if(_38.grip){
+var _39=_38.grip;
+_37+=dojo[(dojo.isIE?"marginBox":"contentBox")](_38.node).w+(dojo.isIE?0:_38.pad);
+dojo.style(_39,{left:_37+"px",height:_36+"px"});
+}
+},this);
+},_getZoneByIndex:function(n){
+return this.grid[(n>=0&&n<this.grid.length?n:0)];
+},getIndexZone:function(_3b){
+for(var z=0;z<this.grid.length;z++){
+if(this.grid[z].domNode==_3b){
+return z;
+}
+}
+return -1;
+},resizeColumnOn:function(e){
+var k=dojo.keys;
+if(this._a11yOn&&e.keyCode!=k.LEFT_ARROW&&e.keyCode!=k.RIGHT_ARROW){
+return;
+}
+e.preventDefault();
+dojo.body().style.cursor="ew-resize";
+this._isResized=true;
+this.initX=e.pageX;
+var _3f=[];
+for(var i=0;i<this.grid.length;i++){
+_3f[i]=dojo.contentBox(this.grid[i].node).w;
+}
+this.oldTabSize=_3f;
+for(var i=0;i<this.grid.length;i++){
+if(this._activeGrip==this.grid[i].grip){
+this.currentColumn=this.grid[i].node;
+this.currentColumnWidth=_3f[i];
+this.nextColumn=this.currentColumn.nextSibling;
+this.nextColumnWidth=_3f[i+1];
+}
+this.grid[i].node.style.width=_3f[i]+"px";
+}
+var _41=function(_42,_43){
+var _44=0;
+var _45=0;
+dojo.forEach(_42,function(_46){
+if(_46.nodeType==1){
+var _47=dojo.getComputedStyle(_46);
+var _48=(dojo.isIE?_43:parseInt(_47.minWidth));
+_45=_48+parseInt(_47.marginLeft)+parseInt(_47.marginRight);
+if(_44<_45){
+_44=_45;
+}
+}
+});
+return _44;
+};
+var _49=_41(this.currentColumn.childNodes,this.minChildWidth);
+var _4a=_41(this.nextColumn.childNodes,this.minChildWidth);
+var _4b=Math.round((dojo.marginBox(this.gridContainerTable).w*this.minColWidth)/100);
+this.currentMinCol=_49;
+this.nextMinCol=_4a;
+if(_4b>this.currentMinCol){
+this.currentMinCol=_4b;
+}
+if(_4b>this.nextMinCol){
+this.nextMinCol=_4b;
+}
+if(this._a11yOn){
+this.connectResizeColumnMove=this.connect(dojo.doc,"onkeypress","resizeColumnMove");
+}else{
+this.connectResizeColumnMove=this.connect(dojo.doc,"onmousemove","resizeColumnMove");
+this.connectResizeColumnOff=this.connect(document,"onmouseup","resizeColumnOff");
+}
+},resizeColumnMove:function(e){
+var d=0;
+if(this._a11yOn){
+var k=dojo.keys;
+switch(e.keyCode){
+case k.LEFT_ARROW:
+d=-10;
+break;
+case k.RIGHT_ARROW:
+d=10;
+break;
+}
+}else{
+e.preventDefault();
+d=e.pageX-this.initX;
+}
+if(d==0){
+return;
+}
+if(!(this.currentColumnWidth+d<this.currentMinCol||this.nextColumnWidth-d<this.nextMinCol)){
+this.currentColumnWidth+=d;
+this.nextColumnWidth-=d;
+this.initX=e.pageX;
+this.currentColumn.style["width"]=this.currentColumnWidth+"px";
+this.nextColumn.style["width"]=this.nextColumnWidth+"px";
+this._activeGrip.style.left=parseInt(this._activeGrip.style.left)+d+"px";
+this._placeGrips();
+}
+if(this._a11yOn){
+this.resizeColumnOff(e);
+}
+},resizeColumnOff:function(e){
+dojo.body().style.cursor="default";
+if(this._a11yOn){
+this.disconnect(this.connectResizeColumnMove);
+this._a11yOn=false;
+}else{
+this.disconnect(this.connectResizeColumnMove);
+this.disconnect(this.connectResizeColumnOff);
+}
+var _50=[];
+var _51=[];
+var _52=this.gridContainerTable.clientWidth;
+for(var i=0;i<this.grid.length;i++){
+var _cb=dojo.contentBox(this.grid[i].node);
+if(dojo.isIE){
+_50[i]=dojo.marginBox(this.grid[i].node).w;
+_51[i]=_cb.w;
+}else{
+_50[i]=_cb.w;
+_51=_50;
+}
+}
+var _55=false;
+for(var i=0;i<_51.length;i++){
+if(_51[i]!=this.oldTabSize[i]){
+_55=true;
+break;
+}
+}
+if(_55){
+var mul=dojo.isIE?100:10000;
+for(var i=0;i<this.grid.length;i++){
+this.grid[i].node.style.width=Math.round((100*mul*_50[i])/_52)/mul+"%";
+}
+this._placeGrips();
+}
+if(this._activeGrip){
+dojo.removeClass(this._activeGrip,"gridContainerGripShow");
+dojo.addClass(this._activeGrip,"gridContainerGrip");
+}
+this._isResized=false;
+},setColumns:function(_57){
+if(_57>0){
+var _58=this.grid.length-_57;
+if(_58>0){
+var _59=[];
+var _5a,_5b,end;
+if(this.mode=="right"){
+end=(this.isLeftFixed&&this.grid.length>0)?1:0;
+_5b=this.grid.length-(this.isRightFixed?2:1);
+for(var z=_5b;z>=end;z--){
+var _5e=0;
+var _5a=this.grid[z].node;
+for(var j=0;j<_5a.childNodes.length;j++){
+if(_5a.childNodes[j].nodeType==1&&!(_5a.childNodes[j].id=="")){
+_5e++;
+break;
+}
+}
+if(_5e==0){
+_59[_59.length]=z;
+}
+if(_59.length>=_58){
+this._deleteColumn(_59);
+break;
+}
+}
+if(_59.length<_58){
+console.error(this.i18n.err_onSetNbColsRightMode);
+}
+}else{
+if(this.isLeftFixed&&this.grid.length>0){
+_5b=1;
+}else{
+_5b=0;
+}
+if(this.isRightFixed){
+end=this.grid.length-1;
+}else{
+end=this.grid.length;
+}
+for(var z=_5b;z<end;z++){
+var _5e=0;
+var _5a=this.grid[z].node;
+for(var j=0;j<_5a.childNodes.length;j++){
+if(_5a.childNodes[j].nodeType==1&&!(_5a.childNodes[j].id=="")){
+_5e++;
+break;
+}
+}
+if(_5e==0){
+_59[_59.length]=z;
+}
+if(_59.length>=_58){
+this._deleteColumn(_59);
+break;
+}
+}
+if(_59.length<_58){
+alert(this.i18n.err_onSetNbColsLeftMode);
+}
+}
+}else{
+if(_58<0){
+this._addColumn(Math.abs(_58));
+}
+}
+this._initPlaceGrips();
+this._placeGrips();
+}
+},_addColumn:function(_60){
+var _61;
+if(this.hasResizableColumns&&!this.isRightFixed&&this.mode=="right"){
+_61=this.grid[this.grid.length-1];
+this._createGrip(_61);
+}
+for(var i=0;i<_60;i++){
+_61=dojo.doc.createElement("td");
+dojo.addClass(_61,"gridContainerZone");
+_61.id=this.id+"_dz"+this.nbZones;
+var dz;
+if(this.mode=="right"){
+if(this.isRightFixed){
+this.grid[this.grid.length-1].node.parentNode.insertBefore(_61,this.grid[this.grid.length-1].node);
+dz=this._createZone(_61);
+this.tabDZ.splice(this.tabDZ.length-1,0,dz);
+this.grid.splice(this.grid.length-1,0,dz);
+this.cell.splice(this.cell.length-1,0,_61);
+}else{
+var _64=this.gridNode.appendChild(_61);
+dz=this._createZone(_61);
+this.tabDZ.push(dz);
+this.grid.push(dz);
+this.cell.push(_61);
+}
+}else{
+if(this.isLeftFixed){
+(this.grid.length==1)?this.grid[0].node.parentNode.appendChild(_61,this.grid[0].node):this.grid[1].node.parentNode.insertBefore(_61,this.grid[1].node);
+dz=this._createZone(_61);
+this.tabDZ.splice(1,0,dz);
+this.grid.splice(1,0,dz);
+this.cell.splice(1,0,_61);
+}else{
+this.grid[this.grid.length-this.nbZones].node.parentNode.insertBefore(_61,this.grid[this.grid.length-this.nbZones].node);
+dz=this._createZone(_61);
+this.tabDZ.splice(this.tabDZ.length-this.nbZones,0,dz);
+this.grid.splice(this.grid.length-this.nbZones,0,dz);
+this.cell.splice(this.cell.length-this.nbZones,0,_61);
+}
+}
+if(this.hasResizableColumns){
+var _65=this;
+var _66=dojo.connect(dz,"onDndStart",dz,function(_67){
+if(_67==this){
+_65.handleDndInsertNodes=[];
+for(var o=0;o<_65.tabDZ.length;o++){
+_65.handleDndInsertNodes.push(dojo.connect(_65.tabDZ[o],"insertNodes",_65,function(){
+_65._disconnectDnd();
+}));
+}
+_65.handleDndInsertNodes.push(dojo.connect(dz,"onDndCancel",_65,_65._disconnectDnd));
+_65.onResized();
+}
+});
+if(this.mode=="right"){
+if(this.isRightFixed){
+this.handleDndStart.splice(this.handleDndStart.length-1,0,_66);
+}else{
+this.handleDndStart.push(_66);
+}
+}else{
+if(this.isLeftFixed){
+this.handleDndStart.splice(1,0,_66);
+}else{
+this.handleDndStart.splice(this.handleDndStart.length-this.nbZones,0,_66);
+}
+}
+this._createGrip(dz);
+}
+this.nbZones++;
+}
+this._updateColumnsWidth();
+},_deleteColumn:function(_69){
+var _6a,_6b,_6c;
+_6c=0;
+for(var i=0;i<_69.length;i++){
+var idx=_69[i];
+if(this.mode=="right"){
+_6a=this.grid[idx];
+}else{
+_6a=this.grid[idx-_6c];
+}
+for(var j=0;j<_6a.node.childNodes.length;j++){
+if(_6a.node.childNodes[j].nodeType!=1){
+continue;
+}
+_6b=dijit.byId(_6a.node.childNodes[j].id);
+for(var x=0;x<this.getChildren().length;x++){
+if(this.getChildren()[x]===_6b){
+this.getChildren().splice(x,1);
+break;
+}
+}
+}
+_6a.node.parentNode.removeChild(_6a.node);
+if(this.mode=="right"){
+if(this.hasResizableColumns){
+dojo.disconnect(this.handleDndStart[idx]);
+}
+this.grid.splice(idx,1);
+this.tabDZ.splice(idx,1);
+this.cell.splice(idx,1);
+}else{
+if(this.hasResizableColumns){
+dojo.disconnect(this.handleDndStart[idx-_6c]);
+}
+this.grid.splice(idx-_6c,1);
+this.tabDZ.splice(idx-_6c,1);
+this.cell.splice(idx-_6c,1);
+}
+this.nbZones--;
+_6c++;
+if(_6a.grip){
+this.domNode.removeChild(_6a.grip);
+}
+}
+this._updateColumnsWidth();
+},_updateColumnsWidth:function(){
+var _71=100/this.nbZones;
+var _72;
+for(var z=0;z<this.grid.length;z++){
+_72=this.grid[z].node;
+_72.style.width=_71+"%";
+}
+},_selectFocus:function(_74){
+var e=_74.keyCode;
+var _76=null;
+var _77=dijit.getFocus();
+var _78=_77.node;
+var k=dojo.keys;
+var _7a=(e==k.UP_ARROW||e==k.LEFT_ARROW)?"lastChild":"firstChild";
+var pos=(e==k.UP_ARROW||e==k.LEFT_ARROW)?"previousSibling":"nextSibling";
+if(_78==this.containerNode){
+switch(e){
+case k.DOWN_ARROW:
+case k.RIGHT_ARROW:
+for(var i=0;i<this.gridNode.childNodes.length;i++){
+_76=this.gridNode.childNodes[i].firstChild;
+var _7d=false;
+while(!_7d){
+if(_76!=null){
+if(_76.style.display!=="none"){
+dijit.focus(_76);
+dojo.stopEvent(_74);
+_7d=true;
+}else{
+_76=_76[pos];
+}
+}else{
+break;
+}
+}
+if(_7d){
+break;
+}
+}
+break;
+case k.UP_ARROW:
+case k.LEFT_ARROW:
+for(var i=this.gridNode.childNodes.length-1;i>=0;i--){
+_76=this.gridNode.childNodes[i].lastChild;
+var _7d=false;
+while(!_7d){
+if(_76!=null){
+if(_76.style.display!=="none"){
+dijit.focus(_76);
+dojo.stopEvent(_74);
+_7d=true;
+}else{
+_76=_76[pos];
+}
+}else{
+break;
+}
+}
+if(_7d){
+break;
+}
+}
+break;
+}
+}else{
+if(_78.parentNode.parentNode==this.gridNode){
+switch(e){
+case k.UP_ARROW:
+case k.DOWN_ARROW:
+dojo.stopEvent(_74);
+var _7e=0;
+dojo.forEach(_78.parentNode.childNodes,function(_7f){
+if(_7f.style.display!=="none"){
+_7e++;
+}
+});
+if(_7e==1){
+return;
+}
+var _7d=false;
+_76=_78[pos];
+while(!_7d){
+if(_76==null){
+_76=_78.parentNode[_7a];
+if(_76.style.display!=="none"){
+_7d=true;
+}else{
+_76=_76[pos];
+}
+}else{
+if(_76.style.display!=="none"){
+_7d=true;
+}else{
+_76=_76[pos];
+}
+}
+}
+if(_74.shiftKey){
+if(dijit.byNode(_78).dragRestriction){
+return;
+}
+var _80=_78.getAttribute("dndtype");
+var _81=false;
+for(var i=0;i<this.acceptTypes.length;i++){
+if(_80==this.acceptTypes[i]){
+var _81=true;
+break;
+}
+}
+if(_81){
+var _82=_78.parentNode;
+var _83=_82.firstChild;
+var _84=_82.lastChild;
+while(_83.style.display=="none"||_84.style.display=="none"){
+if(_83.style.display=="none"){
+_83=_83.nextSibling;
+}
+if(_84.style.display=="none"){
+_84=_84.previousSibling;
+}
+}
+if(e==k.UP_ARROW){
+var r=_82.removeChild(_78);
+if(r==_83){
+_82.appendChild(r);
+}else{
+_82.insertBefore(r,_76);
+}
+r.setAttribute("tabIndex","0");
+dijit.focus(r);
+}else{
+if(_78==_84){
+var r=_82.removeChild(_78);
+_82.insertBefore(r,_76);
+r.setAttribute("tabIndex","0");
+dijit.focus(r);
+}else{
+var r=_82.removeChild(_76);
+_82.insertBefore(r,_78);
+_78.setAttribute("tabIndex","0");
+dijit.focus(_78);
+}
+}
+}else{
+this._displayPopup();
+}
+}else{
+dijit.focus(_76);
+}
+break;
+case k.RIGHT_ARROW:
+case k.LEFT_ARROW:
+dojo.stopEvent(_74);
+if(_74.shiftKey){
+if(dijit.byNode(_78).dragRestriction){
+return;
+}
+var z=0;
+if(_78.parentNode[pos]==null){
+if(e==k.LEFT_ARROW){
+var z=this.gridNode.childNodes.length-1;
+}
+}else{
+if(_78.parentNode[pos].nodeType==3){
+z=this.gridNode.childNodes.length-2;
+}else{
+for(var i=0;i<this.gridNode.childNodes.length;i++){
+if(_78.parentNode[pos]==this.gridNode.childNodes[i]){
+break;
+}
+z++;
+}
+}
+}
+var _80=_78.getAttribute("dndtype");
+var _81=false;
+for(var i=0;i<this.acceptTypes.length;i++){
+if(_80==this.acceptTypes[i]){
+_81=true;
+break;
+}
+}
+if(_81){
+var _87=_78.parentNode;
+var _88=dijit.byNode(_78);
+var r=_87.removeChild(_78);
+var _89=(e==k.RIGHT_ARROW?0:this.gridNode.childNodes[z].length);
+this.addService(_88,z,_89);
+r.setAttribute("tabIndex","0");
+dijit.focus(r);
+this._placeGrips();
+}else{
+this._displayPopup();
+}
+}else{
+var _8a=_78.parentNode;
+while(_76===null){
+if(_8a[pos]!==null&&_8a[pos].nodeType!==3){
+_8a=_8a[pos];
+}else{
+if(pos==="previousSibling"){
+_8a=_8a.parentNode.childNodes[_8a.parentNode.childNodes.length-1];
+}else{
+_8a=_8a.parentNode.childNodes[0];
+}
+}
+var _7d=false;
+var _8b=_8a[_7a];
+while(!_7d){
+if(_8b!=null){
+if(_8b.style.display!=="none"){
+_76=_8b;
+_7d=true;
+}else{
+_8b=_8b[pos];
+}
+}else{
+break;
+}
+}
+}
+dijit.focus(_76);
+}
+break;
+}
+}else{
+if(dojo.hasClass(_78,"gridContainerGrip")||dojo.hasClass(_78,"gridContainerGripShow")){
+this._activeGrip=_74.target;
+this._a11yOn=true;
+this.resizeColumnOn(_74);
+}
+}
+}
+},_displayPopup:function(){
+if(this._canDisplayPopup){
+var _8c=dojo.doc.createElement("div");
+dojo.addClass(_8c,"gridContainerPopup");
+_8c.innerHTML=this.i18n.alertPopup;
+var _8d=this.containerNode.appendChild(_8c);
+this._canDisplayPopup=false;
+setTimeout(dojo.hitch(this,function(){
+this.containerNode.removeChild(_8d);
+dojo.destroy(_8d);
+this._canDisplayPopup=true;
+}),this.timeDisplayPopup);
+}
+}});
+dojo.extend(dijit._Widget,{dragRestriction:false,column:"1",group:""});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/GridContainer.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/README?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/README Thu Mar 19 11:10:58 2009
@@ -0,0 +1,115 @@
+-------------------------------------------------------------------------------
+dojox.layout Experimental and Extended Layout Widgets
+-------------------------------------------------------------------------------
+Version 1.0
+Release date: 10/31/2007
+-------------------------------------------------------------------------------
+Project state:
+
+[BorderContainer] deprecated, use dijit.layout.BorderContainer
+[ContentPane]	beta
+[DragPane]	experimental
+[ExpandoPane] experimental
+[FloatingPane] sub-experimental
+[GridContainer] experimental
+[RadioGroup] experimental
+[RadioGroupFade/Slide] experimental
+[ResizeHandle] experimental
+[RotatorContainer] beta
+[ScrollPane] experimental
+
+-------------------------------------------------------------------------------
+Credits
+
+[BorderContainer] Adam Peller (peller)
+[ContentPane]	Fredrik Johansson (mumme)
+[DragPane]	Peter Higgins (dante)
+[ExpandoPane] Peter Higgins (dante)
+[FloatingPane] Peter Higgins (dante)
+[GridContainer] Juff Cunat (jfcunat), Peter Higgins (dante)
+[RadioGroup/Fade/Slide] Peter Higgins (dante) 
+[ResizeHandle] Peter Higgins (dante)
+[RotatorContainer] Chris Barber (cb1)
+[ScrollPane] Peter Higgins (dante), Shane O'Sullivan (sos)
+
+-------------------------------------------------------------------------------
+Project description
+
+	placeholder for dijit.layout extensions. Currently only:
+
+	dojo.layout.BorderContainer - deprecated, simple replacement at dijit.layout.BorderContainer
+
+	dojox.layout.ContentPane - an extension on dijit ContentPane.
+	Supports inline scripts, inline styles, relative path adjustments
+	and having a table tag as domNode.
+
+	dojox.layout.DragPane - an experimental start of a simple Dragable pane 
+	(drag larger content around inside of a sized pane) Does not support borderContainer
+	LayoutContainer resizing yet. 
+
+	dojox.layout.ExpandoPane - Intended only as a child of BorderContainer, provides an
+	experimental layout region (top/left/right/bottom) that collapses when toggled, hiding
+	the layout children contained within.
+	
+	dojox.layout.FloatingPane - an extension on TitlePane for drag/drop
+	operation, "docking" [minimize/maximize], and resizing. HIGHLY experimental.
+	
+	dojox.layout.GridContainer - displays children in a definable grid-layout,
+	allowing children to optionally be repositioned with DnD
+
+	dojox.layout.RadioGroup - a stack container with sliding or fading transitions
+	(and an internal button set to mimic a tab container, but fires on hover)
+		- RadioGroupFade - fade transitions
+		- RadioGroupSlide - slide transitions
+
+	dojox.layout.ResizeHandle - resize handle to attach to a domNode.
+	works well on normal domNodes, but will require adding a resizeTo(w,h)
+	method to any widget you wish to use it on. [experimental]
+
+	dojox.layout.RotatorContainer - similar to a RadioGroup, but provides advanced button's and
+	control. 
+
+	dojox.layout.ScrollPane - a dynamically scrolling pane. Adjusts naturally sized content
+	to a "viewport" and scrolls based on relative mouse position. 
+	
+-------------------------------------------------------------------------------
+Dependencies
+
+	require Dojo Core, Dojo Base (fx), and Dijit
+
+-------------------------------------------------------------------------------
+Installation:
+
+	checkout:
+
+	http://svn.dojotoolkit.org/src/dojox/trunk/layout/
+	http://svn.dojotoolkit.org/src/dijit/trunk/
+
+	and require via:
+		dojo.require("dojox.layout.FloatingPane");
+	or:
+		dojo.require("dojox.layout.ContentPane");
+	etc ...
+
+	Each component has a required CSS File with a similar name, contained within the
+	/resources folder. Include that file in your page. For instance, if using
+	the dojox.layout.ExpandoPane:
+	
+	<link rel="stylesheet" href="dojo-tree/dojox/layout/resources/ExpandoPane.css" />
+
+-------------------------------------------------------------------------------
+Basic Usage:
+
+	<div dojoType="dojox.layout.FloatingPane" title="my title">
+		Content To be Floated
+	</div>
+
+	<div dojoType="dojox.layout.ContentPane"
+		 adjustPaths="true"
+		 renderStyles="true"
+		 executeScripts="true"
+		 href="my/page/containing/scripts/and/styles/in/a/sub/folder.html"
+	>
+		Initial content, will be replace by href.
+		paths in folder.html will be adjusted to match this page
+	</div>

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/README
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message