camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r755904 [30/40] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: ./ analytics/ analytics/logger/ analytics/plugins/ analytics/profiles/ atom/ atom/io/ atom/widget/ atom/widget/nls/ atom/widget/nls/cs/ atom/widget/nls/de/ ato...
Date Thu, 19 Mar 2009 10:37:20 GMT
Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/editors.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/editors.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/editors.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/editors.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,122 @@
+/*
+	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.grid.compat._data.editors"]){
+dojo._hasResource["dojox.grid.compat._data.editors"]=true;
+dojo.provide("dojox.grid.compat._data.editors");
+dojo.provide("dojox.grid.compat.editors");
+dojo.declare("dojox.grid.editors.Base",null,{constructor:function(_1){
+this.cell=_1;
+},_valueProp:"value",_formatPending:false,format:function(_2,_3){
+},needFormatNode:function(_4,_5){
+this._formatPending=true;
+dojox.grid.whenIdle(this,"_formatNode",_4,_5);
+},cancelFormatNode:function(){
+this._formatPending=false;
+},_formatNode:function(_6,_7){
+if(this._formatPending){
+this._formatPending=false;
+dojo.setSelectable(this.cell.grid.domNode,true);
+this.formatNode(this.getNode(_7),_6,_7);
+}
+},getNode:function(_8){
+return (this.cell.getNode(_8)||0).firstChild||0;
+},formatNode:function(_9,_a,_b){
+if(dojo.isIE){
+dojox.grid.whenIdle(this,"focus",_b,_9);
+}else{
+this.focus(_b,_9);
+}
+},dispatchEvent:function(m,e){
+if(m in this){
+return this[m](e);
+}
+},getValue:function(_e){
+return this.getNode(_e)[this._valueProp];
+},setValue:function(_f,_10){
+var n=this.getNode(_f);
+if(n){
+n[this._valueProp]=_10;
+}
+},focus:function(_12,_13){
+dojox.grid.focusSelectNode(_13||this.getNode(_12));
+},save:function(_14){
+this.value=this.value||this.getValue(_14);
+},restore:function(_15){
+this.setValue(_15,this.value);
+},_finish:function(_16){
+dojo.setSelectable(this.cell.grid.domNode,false);
+this.cancelFormatNode(this.cell);
+},apply:function(_17){
+this.cell.applyEdit(this.getValue(_17),_17);
+this._finish(_17);
+},cancel:function(_18){
+this.cell.cancelEdit(_18);
+this._finish(_18);
+}});
+dojox.grid.editors.base=dojox.grid.editors.Base;
+dojo.declare("dojox.grid.editors.Input",dojox.grid.editors.Base,{constructor:function(_19){
+this.keyFilter=this.keyFilter||this.cell.keyFilter;
+},keyFilter:null,format:function(_1a,_1b){
+this.needFormatNode(_1a,_1b);
+return "<input class=\"dojoxGrid-input\" type=\"text\" value=\""+_1a+"\">";
+},formatNode:function(_1c,_1d,_1e){
+this.inherited(arguments);
+this.cell.registerOnBlur(_1c,_1e);
+},doKey:function(e){
+if(this.keyFilter){
+var key=String.fromCharCode(e.charCode);
+if(key.search(this.keyFilter)==-1){
+dojo.stopEvent(e);
+}
+}
+},_finish:function(_21){
+this.inherited(arguments);
+var n=this.getNode(_21);
+try{
+dojox.grid.fire(n,"blur");
+}
+catch(e){
+}
+}});
+dojox.grid.editors.input=dojox.grid.editors.Input;
+dojo.declare("dojox.grid.editors.Select",dojox.grid.editors.Input,{constructor:function(_23){
+this.options=this.options||this.cell.options;
+this.values=this.values||this.cell.values||this.options;
+},format:function(_24,_25){
+this.needFormatNode(_24,_25);
+var h=["<select class=\"dojoxGrid-select\">"];
+for(var i=0,o,v;((o=this.options[i])!==undefined)&&((v=this.values[i])!==undefined);i++){
+h.push("<option",(_24==v?" selected":"")," value=\""+v+"\"",">",o,"</option>");
+}
+h.push("</select>");
+return h.join("");
+},getValue:function(_2a){
+var n=this.getNode(_2a);
+if(n){
+var i=n.selectedIndex,o=n.options[i];
+return this.cell.returnIndex?i:o.value||o.innerHTML;
+}
+}});
+dojox.grid.editors.select=dojox.grid.editors.Select;
+dojo.declare("dojox.grid.editors.AlwaysOn",dojox.grid.editors.Input,{alwaysOn:true,_formatNode:function(_2e,_2f){
+this.formatNode(this.getNode(_2f),_2e,_2f);
+},applyStaticValue:function(_30){
+var e=this.cell.grid.edit;
+e.applyCellEdit(this.getValue(_30),this.cell,_30);
+e.start(this.cell,_30,true);
+}});
+dojox.grid.editors.alwaysOn=dojox.grid.editors.AlwaysOn;
+dojo.declare("dojox.grid.editors.Bool",dojox.grid.editors.AlwaysOn,{_valueProp:"checked",format:function(_32,_33){
+return "<input class=\"dojoxGrid-input\" type=\"checkbox\""+(_32?" checked=\"checked\"":"")+" style=\"width: auto\" />";
+},doclick:function(e){
+if(e.target.tagName=="INPUT"){
+this.applyStaticValue(e.rowIndex);
+}
+}});
+dojox.grid.editors.bool=dojox.grid.editors.Bool;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/editors.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/fields.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/fields.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/fields.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/fields.js Thu Mar 19 10:37:00 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.grid.compat._data.fields"]){
+dojo._hasResource["dojox.grid.compat._data.fields"]=true;
+dojo.provide("dojox.grid.compat._data.fields");
+dojo.declare("dojox.grid.data.Mixer",null,{constructor:function(){
+this.defaultValue={};
+this.values=[];
+},count:function(){
+return this.values.length;
+},clear:function(){
+this.values=[];
+},build:function(_1){
+var _2=dojo.mixin({owner:this},this.defaultValue);
+_2.key=_1;
+this.values[_1]=_2;
+return _2;
+},getDefault:function(){
+return this.defaultValue;
+},setDefault:function(_3){
+for(var i=0,a;(a=arguments[i]);i++){
+dojo.mixin(this.defaultValue,a);
+}
+},get:function(_6){
+return this.values[_6]||this.build(_6);
+},_set:function(_7,_8){
+var v=this.get(_7);
+for(var i=1;i<arguments.length;i++){
+dojo.mixin(v,arguments[i]);
+}
+this.values[_7]=v;
+},set:function(){
+if(arguments.length<1){
+return;
+}
+var a=arguments[0];
+if(!dojo.isArray(a)){
+this._set.apply(this,arguments);
+}else{
+if(a.length&&a[0]["default"]){
+this.setDefault(a.shift());
+}
+for(var i=0,l=a.length;i<l;i++){
+this._set(i,a[i]);
+}
+}
+},insert:function(_e,_f){
+if(_e>=this.values.length){
+this.values[_e]=_f;
+}else{
+this.values.splice(_e,0,_f);
+}
+},remove:function(_10){
+this.values.splice(_10,1);
+},swap:function(_11,_12){
+dojox.grid.arraySwap(this.values,_11,_12);
+},move:function(_13,_14){
+dojox.grid.arrayMove(this.values,_13,_14);
+}});
+dojox.grid.data.compare=function(a,b){
+return (a>b?1:(a==b?0:-1));
+};
+dojo.declare("dojox.grid.data.Field",null,{constructor:function(_17){
+this.name=_17;
+this.compare=dojox.grid.data.compare;
+},na:dojox.grid.na});
+dojo.declare("dojox.grid.data.Fields",dojox.grid.data.Mixer,{constructor:function(_18){
+var _19=_18?_18:dojox.grid.data.Field;
+this.defaultValue=new _19();
+},indexOf:function(_1a){
+for(var i=0;i<this.values.length;i++){
+var v=this.values[i];
+if(v&&v.key==_1a){
+return i;
+}
+}
+return -1;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/fields.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/model.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/model.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/model.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/model.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,490 @@
+/*
+	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.grid.compat._data.model"]){
+dojo._hasResource["dojox.grid.compat._data.model"]=true;
+dojo.provide("dojox.grid.compat._data.model");
+dojo.require("dojox.grid.compat._data.fields");
+dojo.declare("dojox.grid.data.Model",null,{constructor:function(_1,_2){
+this.observers=[];
+this.fields=new dojox.grid.data.Fields();
+if(_1){
+this.fields.set(_1);
+}
+this.setData(_2);
+},count:0,updating:0,observer:function(_3,_4){
+this.observers.push({o:_3,p:_4||"model"});
+},notObserver:function(_5){
+for(var i=0,m,o;(o=this.observers[i]);i++){
+if(o.o==_5){
+this.observers.splice(i,1);
+return;
+}
+}
+},notify:function(_9,_a){
+var a=_a||[];
+for(var i=0,m,o;(o=this.observers[i]);i++){
+m=o.p+_9;
+o=o.o;
+(m in o)&&(o[m].apply(o,a));
+}
+},clear:function(){
+this.fields.clear();
+this.clearData();
+},beginUpdate:function(){
+this.notify("BeginUpdate",arguments);
+},endUpdate:function(){
+this.notify("EndUpdate",arguments);
+},clearData:function(){
+this.setData(null);
+},change:function(){
+this.notify("Change",arguments);
+},insertion:function(){
+this.notify("Insertion",arguments);
+this.notify("Change",arguments);
+},removal:function(){
+this.notify("Removal",arguments);
+this.notify("Change",arguments);
+},insert:function(_f){
+if(!this._insert.apply(this,arguments)){
+return false;
+}
+this.insertion.apply(this,dojo._toArray(arguments,1));
+return true;
+},remove:function(_10){
+if(!this._remove.apply(this,arguments)){
+return false;
+}
+this.removal.apply(this,arguments);
+return true;
+},canSort:function(){
+return this.sort!=null;
+},generateComparator:function(_11,_12,_13,_14){
+return function(a,b){
+var _17=_11(a[_12],b[_12]);
+return _17?(_13?_17:-_17):_14&&_14(a,b);
+};
+},makeComparator:function(_18){
+var idx,col,_1b,_1c=null;
+for(var i=_18.length-1;i>=0;i--){
+idx=_18[i];
+col=Math.abs(idx)-1;
+if(col>=0){
+_1b=this.fields.get(col);
+_1c=this.generateComparator(_1b.compare,_1b.key,idx>0,_1c);
+}
+}
+return _1c;
+},sort:null,dummy:0});
+dojo.declare("dojox.grid.data.Rows",dojox.grid.data.Model,{allChange:function(){
+this.notify("AllChange",arguments);
+this.notify("Change",arguments);
+},rowChange:function(){
+this.notify("RowChange",arguments);
+},datumChange:function(){
+this.notify("DatumChange",arguments);
+},beginModifyRow:function(_1e){
+if(!this.cache[_1e]){
+this.cache[_1e]=this.copyRow(_1e);
+}
+},endModifyRow:function(_1f){
+var _20=this.cache[_1f];
+if(_20){
+var _21=this.getRow(_1f);
+if(!dojox.grid.arrayCompare(_20,_21)){
+this.update(_20,_21,_1f);
+}
+delete this.cache[_1f];
+}
+},cancelModifyRow:function(_22){
+var _23=this.cache[_22];
+if(_23){
+this.setRow(_23,_22);
+delete this.cache[_22];
+}
+}});
+dojo.declare("dojox.grid.data.Table",dojox.grid.data.Rows,{constructor:function(){
+this.cache=[];
+},colCount:0,data:null,cache:null,measure:function(){
+this.count=this.getRowCount();
+this.colCount=this.getColCount();
+this.allChange();
+},getRowCount:function(){
+return (this.data?this.data.length:0);
+},getColCount:function(){
+return (this.data&&this.data.length?this.data[0].length:this.fields.count());
+},badIndex:function(_24,_25){
+console.error("dojox.grid.data.Table: badIndex");
+},isGoodIndex:function(_26,_27){
+return (_26>=0&&_26<this.count&&(arguments.length<2||(_27>=0&&_27<this.colCount)));
+},getRow:function(_28){
+return this.data[_28];
+},copyRow:function(_29){
+return this.getRow(_29).slice(0);
+},getDatum:function(_2a,_2b){
+return this.data[_2a][_2b];
+},get:function(){
+throw ("Plain \"get\" no longer supported. Use \"getRow\" or \"getDatum\".");
+},setData:function(_2c){
+this.data=(_2c||[]);
+this.allChange();
+},setRow:function(_2d,_2e){
+this.data[_2e]=_2d;
+this.rowChange(_2d,_2e);
+this.change();
+},setDatum:function(_2f,_30,_31){
+this.data[_30][_31]=_2f;
+this.datumChange(_2f,_30,_31);
+},set:function(){
+throw ("Plain \"set\" no longer supported. Use \"setData\", \"setRow\", or \"setDatum\".");
+},setRows:function(_32,_33){
+for(var i=0,l=_32.length,r=_33;i<l;i++,r++){
+this.setRow(_32[i],r);
+}
+},update:function(_37,_38,_39){
+return true;
+},_insert:function(_3a,_3b){
+dojox.grid.arrayInsert(this.data,_3b,_3a);
+this.count++;
+return true;
+},_remove:function(_3c){
+for(var i=_3c.length-1;i>=0;i--){
+dojox.grid.arrayRemove(this.data,_3c[i]);
+}
+this.count-=_3c.length;
+return true;
+},sort:function(){
+this.data.sort(this.makeComparator(arguments));
+},swap:function(_3e,_3f){
+dojox.grid.arraySwap(this.data,_3e,_3f);
+this.rowChange(this.getRow(_3e),_3e);
+this.rowChange(this.getRow(_3f),_3f);
+this.change();
+},dummy:0});
+dojo.declare("dojox.grid.data.Objects",dojox.grid.data.Table,{constructor:function(_40,_41,_42){
+if(!_40){
+this.autoAssignFields();
+}
+},allChange:function(){
+this.notify("FieldsChange");
+this.inherited(arguments);
+},autoAssignFields:function(){
+var d=this.data[0],i=0,_45;
+for(var f in d){
+_45=this.fields.get(i++);
+if(!dojo.isString(_45.key)){
+_45.key=f;
+}
+}
+},setData:function(_47){
+this.data=(_47||[]);
+this.autoAssignFields();
+this.allChange();
+},getDatum:function(_48,_49){
+return this.data[_48][this.fields.get(_49).key];
+}});
+dojo.declare("dojox.grid.data.Dynamic",dojox.grid.data.Table,{constructor:function(){
+this.page=[];
+this.pages=[];
+},page:null,pages:null,rowsPerPage:100,requests:0,bop:-1,eop:-1,clearData:function(){
+this.pages=[];
+this.bop=this.eop=-1;
+this.setData([]);
+},getRowCount:function(){
+return this.count;
+},getColCount:function(){
+return this.fields.count();
+},setRowCount:function(_4a){
+this.count=_4a;
+this.change();
+},requestsPending:function(_4b){
+},rowToPage:function(_4c){
+return (this.rowsPerPage?Math.floor(_4c/this.rowsPerPage):_4c);
+},pageToRow:function(_4d){
+return (this.rowsPerPage?this.rowsPerPage*_4d:_4d);
+},requestRows:function(_4e,_4f){
+},rowsProvided:function(_50,_51){
+this.requests--;
+if(this.requests==0){
+this.requestsPending(false);
+}
+},requestPage:function(_52){
+var row=this.pageToRow(_52);
+var _54=Math.min(this.rowsPerPage,this.count-row);
+if(_54>0){
+this.requests++;
+this.requestsPending(true);
+setTimeout(dojo.hitch(this,"requestRows",row,_54),1);
+}
+},needPage:function(_55){
+if(!this.pages[_55]){
+this.pages[_55]=true;
+this.requestPage(_55);
+}
+},preparePage:function(_56,_57){
+if(_56<this.bop||_56>=this.eop){
+var _58=this.rowToPage(_56);
+this.needPage(_58);
+this.bop=_58*this.rowsPerPage;
+this.eop=this.bop+(this.rowsPerPage||this.count);
+}
+},isRowLoaded:function(_59){
+return Boolean(this.data[_59]);
+},removePages:function(_5a){
+for(var i=0,r;((r=_5a[i])!=undefined);i++){
+this.pages[this.rowToPage(r)]=false;
+}
+this.bop=this.eop=-1;
+},remove:function(_5d){
+this.removePages(_5d);
+dojox.grid.data.Table.prototype.remove.apply(this,arguments);
+},getRow:function(_5e){
+var row=this.data[_5e];
+if(!row){
+this.preparePage(_5e);
+}
+return row;
+},getDatum:function(_60,_61){
+var row=this.getRow(_60);
+return (row?row[_61]:this.fields.get(_61).na);
+},setDatum:function(_63,_64,_65){
+var row=this.getRow(_64);
+if(row){
+row[_65]=_63;
+this.datumChange(_63,_64,_65);
+}else{
+console.error("["+this.declaredClass+"] dojox.grid.data.dynamic.set: cannot set data on a non-loaded row");
+}
+},canSort:function(){
+return false;
+}});
+dojox.grid.data.table=dojox.grid.data.Table;
+dojox.grid.data.dynamic=dojox.grid.data.Dynamic;
+dojo.declare("dojox.grid.data.DojoData",dojox.grid.data.Dynamic,{constructor:function(_67,_68,_69){
+this.count=1;
+this._rowIdentities={};
+this._currentlyProcessing=[];
+if(_69){
+dojo.mixin(this,_69);
+}
+if(this.store){
+var f=this.store.getFeatures();
+this._canNotify=f["dojo.data.api.Notification"];
+this._canWrite=f["dojo.data.api.Write"];
+this._canIdentify=f["dojo.data.api.Identity"];
+if(this._canNotify){
+dojo.connect(this.store,"onSet",this,"_storeDatumChange");
+dojo.connect(this.store,"onDelete",this,"_storeDatumDelete");
+dojo.connect(this.store,"onNew",this,"_storeDatumNew");
+}
+if(this._canWrite){
+dojo.connect(this.store,"revert",this,"refresh");
+}
+}
+},markupFactory:function(_6b,_6c){
+return new dojox.grid.data.DojoData(null,null,_6b);
+},query:{name:"*"},store:null,_currentlyProcessing:null,_canNotify:false,_canWrite:false,_canIdentify:false,_rowIdentities:{},clientSort:false,sortFields:null,queryOptions:null,setData:function(_6d){
+this.store=_6d;
+this.data=[];
+this.allChange();
+},setRowCount:function(_6e){
+this.count=_6e;
+this.allChange();
+},beginReturn:function(_6f){
+if(this.count!=_6f){
+this.setRowCount(_6f);
+}
+},_setupFields:function(_70){
+if(this.fields._nameMaps){
+return;
+}
+var m={};
+var _72=dojo.map(this.store.getAttributes(_70),function(_73,idx){
+m[_73]=idx;
+m[idx+".idx"]=_73;
+return {name:_73,key:_73};
+},this);
+this.fields._nameMaps=m;
+this.fields.set(_72);
+this.notify("FieldsChange");
+},_getRowFromItem:function(_75){
+},_createRow:function(_76){
+var row={};
+row.__dojo_data_item=_76;
+dojo.forEach(this.fields.values,function(a){
+var _79=this.store.getValue(_76,a.name);
+row[a.name]=(_79===undefined||_79===null)?"":_79;
+},this);
+return row;
+},processRows:function(_7a,_7b){
+if(!_7a||_7a.length==0){
+return;
+}
+this._setupFields(_7a[0]);
+dojo.forEach(_7a,function(_7c,idx){
+var row=this._createRow(_7c);
+this._setRowId(_7c,_7b.start,idx);
+this.setRow(row,_7b.start+idx);
+},this);
+this.endUpdate();
+},requestRows:function(_7f,_80){
+this.beginUpdate();
+var row=_7f||0;
+var _82={start:row,count:this.rowsPerPage,query:this.query,sort:this.sortFields,queryOptions:this.queryOptions,onBegin:dojo.hitch(this,"beginReturn"),onComplete:dojo.hitch(this,"processRows"),onError:dojo.hitch(this,"processError")};
+this.store.fetch(_82);
+},getDatum:function(_83,_84){
+var row=this.getRow(_83);
+var _86=this.fields.values[_84];
+return row&&_86?row[_86.name]:_86?_86.na:"?";
+},setDatum:function(_87,_88,_89){
+var n=this.fields._nameMaps[_89+".idx"];
+if(n){
+this.data[_88][n]=_87;
+this.datumChange(_87,_88,_89);
+}
+},copyRow:function(_8b){
+var row={};
+var _8d={};
+var src=this.getRow(_8b);
+for(var x in src){
+if(src[x]!=_8d[x]){
+row[x]=src[x];
+}
+}
+return row;
+},_attrCompare:function(_90,_91){
+dojo.forEach(this.fields.values,function(a){
+if(_90[a.name]!=_91[a.name]){
+return false;
+}
+},this);
+return true;
+},endModifyRow:function(_93){
+var _94=this.cache[_93];
+if(_94){
+var _95=this.getRow(_93);
+if(!this._attrCompare(_94,_95)){
+this.update(_94,_95,_93);
+}
+delete this.cache[_93];
+}
+},cancelModifyRow:function(_96){
+var _97=this.cache[_96];
+if(_97){
+this.setRow(_97,_96);
+delete this.cache[_96];
+}
+},_setRowId:function(_98,_99,idx){
+if(this._canIdentify){
+this._rowIdentities[this.store.getIdentity(_98)]={rowId:_99+idx,item:_98};
+}else{
+var _9b=dojo.toJson(this.query)+":start:"+_99+":idx:"+idx+":sort:"+dojo.toJson(this.sortFields);
+this._rowIdentities[_9b]={rowId:_99+idx,item:_98};
+}
+},_getRowId:function(_9c,_9d){
+var _9e=null;
+if(this._canIdentify&&!_9d){
+var _9f=this._rowIdentities[this.store.getIdentity(_9c)];
+if(_9f){
+_9e=_9f.rowId;
+}
+}else{
+var id;
+for(id in this._rowIdentities){
+if(this._rowIdentities[id].item===_9c){
+_9e=this._rowIdentities[id].rowId;
+break;
+}
+}
+}
+return _9e;
+},_storeDatumChange:function(_a1,_a2,_a3,_a4){
+var _a5=this._getRowId(_a1);
+var row=this.getRow(_a5);
+if(row){
+row[_a2]=_a4;
+var _a7=this.fields._nameMaps[_a2];
+this.notify("DatumChange",[_a4,_a5,_a7]);
+}
+},_storeDatumDelete:function(_a8){
+if(dojo.indexOf(this._currentlyProcessing,_a8)!=-1){
+return;
+}
+var _a9=this._getRowId(_a8,true);
+if(_a9!=null){
+this._removeItems([_a9]);
+}
+},_storeDatumNew:function(_aa){
+if(this._disableNew){
+return;
+}
+this._insertItem(_aa,this.data.length);
+},insert:function(_ab,_ac){
+this._disableNew=true;
+var i=this.store.newItem(_ab);
+this._disableNew=false;
+this._insertItem(i,_ac);
+},_insertItem:function(_ae,_af){
+if(!this.fields._nameMaps){
+this._setupFields(_ae);
+}
+var row=this._createRow(_ae);
+for(var i in this._rowIdentities){
+var _b2=this._rowIdentities[i];
+if(_b2.rowId>=_af){
+_b2.rowId++;
+}
+}
+this._setRowId(_ae,0,_af);
+dojox.grid.data.Dynamic.prototype.insert.apply(this,[row,_af]);
+},datumChange:function(_b3,_b4,_b5){
+if(this._canWrite){
+var row=this.getRow(_b4);
+var _b7=this.fields._nameMaps[_b5+".idx"];
+this.store.setValue(row.__dojo_data_item,_b7,_b3);
+}else{
+this.notify("DatumChange",arguments);
+}
+},insertion:function(){
+this.notify("Insertion",arguments);
+this.notify("Change",arguments);
+},removal:function(){
+this.notify("Removal",arguments);
+this.notify("Change",arguments);
+},remove:function(_b8){
+for(var i=_b8.length-1;i>=0;i--){
+var _ba=this.data[_b8[i]].__dojo_data_item;
+this._currentlyProcessing.push(_ba);
+this.store.deleteItem(_ba);
+}
+this._removeItems(_b8);
+this._currentlyProcessing=[];
+},_removeItems:function(_bb){
+dojox.grid.data.Dynamic.prototype.remove.apply(this,arguments);
+this._rowIdentities={};
+for(var i=0;i<this.data.length;i++){
+this._setRowId(this.data[i].__dojo_data_item,0,i);
+}
+},canSort:function(){
+return true;
+},sort:function(_bd){
+var col=Math.abs(_bd)-1;
+this.sortFields=[{"attribute":this.fields.values[col].name,"descending":(_bd>0)}];
+this.refresh();
+},refresh:function(){
+this.clearData(true);
+this.requestRows();
+},clearData:function(_bf){
+this._rowIdentities={};
+this.pages=[];
+this.bop=this.eop=-1;
+this.count=0;
+this.setData((_bf?this.store:[]));
+},processError:function(_c0,_c1){
+
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_data/model.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,201 @@
+.dojoxGrid {
+	position: relative;
+	background-color: #EBEADB;
+	font-family: Geneva, Arial, Helvetica, sans-serif;
+	-moz-outline-style: none;
+	outline: none;
+	overflow: hidden;
+	height: 0;
+}
+.dojoxGrid table {
+	padding: 0;
+}
+.dojoxGrid td {
+	-moz-outline: none;
+}
+.dojoxGrid-master-header {
+	position: relative;
+}
+.dojoxGrid-master-view  {
+	position: relative;
+}
+.dojoxGrid-view {
+	position: absolute;
+	overflow: hidden;
+}
+.dojoxGrid-header {
+	position: absolute;
+	overflow: hidden;
+}
+.dojoxGrid-header {
+	background-color: #E8E1CF;
+}
+.dojoxGrid-header table {
+	text-align: center;
+}
+.dojoxGrid-header .dojoxGrid-cell-content {
+	text-align: center;
+}
+.dojoxGrid-header .dojoxGrid-cell { 
+	border: 1px solid;
+	border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB;
+	background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x;
+	padding-bottom: 2px;
+}
+.dojoxGrid-header .dojoxGrid-cell-over {
+	background-image: none;
+	background-color: white;
+	border-bottom-color: #FEBE47;
+	margin-bottom: 0;
+	padding-bottom: 0;
+	border-bottom-width: 3px;
+}
+.dojoxGrid-sort-down {
+	background: url(images/grid_sort_down.gif) left no-repeat; 
+	padding-left:16px;
+	margin-left:4px;
+}
+.dojoxGrid-sort-up {
+	background: url(images/grid_sort_up.gif) left no-repeat; 
+	padding-left:16px;
+	margin-left:4px;
+}
+.dojoxGrid-scrollbox {
+	position: relative;
+	overflow: scroll;
+	background-color: white;
+	width: 100%;
+}
+.dojoxGrid-content {
+	position: relative;
+	overflow: hidden;
+	 -moz-outline-style: none;
+	outline: none;
+}
+.dojoxGrid-rowbar { 
+	border: 1px solid;
+	border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB;
+	border-top: none;
+	background: url(images/grid_dx_gradient.gif) #E8E1CF top repeat-x;
+}
+.dojoxGrid-rowbar-inner {
+	border-top: 1px solid #F6F4EB;
+}
+.dojoxGrid-rowbar-over {
+	background-image: none;
+	background-color: white;
+	border-top-color: #FEBE47;
+	border-bottom-color: #FEBE47;
+}
+.dojoxGrid-rowbar-selected {
+	background-color: #D9E8F9;
+	background-image: none;
+	
+	background-position: center;
+	background-repeat: no-repeat;
+}
+.dojoxGrid-row {
+	position: relative;
+	width: 9000em;
+}
+.dojoxGrid-row {
+	
+	border: 1px solid #E8E4D8;
+	border-color: #F8F7F1;
+	
+	border-left: none;
+	border-right: none;
+	background-color: white;
+	border-top: none;
+}
+.dojoxGrid-row-over {
+	border-top-color: #FEBE47;
+	border-bottom-color: #FEBE47;
+	
+	
+	
+}
+.dojoxGrid-row-odd {
+	background-color: #FFFDF3;
+	
+}
+.dojoxGrid-row-selected {
+	background-color: #D9E8F9;
+}
+.dojoxGrid-row-table {
+	table-layout: fixed;
+	width: 0;
+}
+.dojoxGrid-invisible {
+	visibility: hidden;
+}		
+.Xdojo-ie .dojoxGrid-invisible {
+	display: none;
+}		
+.dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td {
+	border-top-width: 0;
+	border-bottom-width: 0;
+	padding-top: 0;
+	padding-bottom: 0;
+	height: 0;
+	overflow: hidden;
+}
+.dojoxGrid-cell {
+	border: 1px solid;
+	border-color: #EBEADB;
+	border-right-color: #D5CDB5;
+	padding: 3px 3px 3px 3px;
+	text-align: left;
+	overflow: hidden;
+}
+.dojoxGrid-cell-focus {
+	border: 1px dashed blue;
+}
+.dojoxGrid-cell-over {
+	border: 1px dotted #FEBE47;
+}
+.dojoxGrid-cell-focus.dojoxGrid-cell-over {
+	border: 1px dotted green;
+}
+.dojoxGrid-cell-clip {
+	width: 100%;
+	overflow: hidden;
+	white-space:nowrap;
+	text-overflow: ellipsis;
+}
+.dojoxGrid-row-editing td {
+	background-color: #F4FFF4;
+}
+.dojoxGrid-row-inserting td {
+	background-color: #F4FFF4;
+}
+.dojoxGrid-row-inflight td {
+	background-color: #F2F7B7;
+}
+.dojoxGrid-row-error td {
+	background-color: #F8B8B6;
+}
+.dojoxGrid-input, .dojoxGrid-select, .dojoxGrid-textarea {
+	margin: 0;
+	padding: 0;
+	border-style: none;
+	width: 100%;
+	font-size: 100%;
+	font-family: inherit;
+}
+.dojoxGrid-hidden-focus {
+	position: absolute;
+	left: -1000px;
+	top: -1000px;
+	height: 0px, width: 0px;
+}
+.gridArrowButtonChar {
+	display:none !important;
+}
+.dijit_a11y .gridArrowButtonChar {
+	display:inline !important;
+}
+.dijit_a11y .dojoxGrid-sort-down, .dijit_a11y .dojoxGrid-sort-up {
+	margin-left: 0;
+	padding-left: 0;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid_rtl.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid_rtl.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid_rtl.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid_rtl.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,8 @@
+.dijitRtl .dojoxGrid-header table {
+}
+.dj_ie .dijitRtl .dojoxGrid-header table {
+	float:none;
+}
+.dijitRtl .dojoxGrid-content {
+	float:left;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/Grid_rtl.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/builder.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/builder.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/builder.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/builder.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,353 @@
+/*
+	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.grid.compat._grid.builder"]){
+dojo._hasResource["dojox.grid.compat._grid.builder"]=true;
+dojo.provide("dojox.grid.compat._grid.builder");
+dojo.require("dojox.grid.compat._grid.drag");
+dojo.declare("dojox.grid.Builder",null,{constructor:function(_1){
+this.view=_1;
+this.grid=_1.grid;
+},view:null,_table:"<table class=\"dojoxGrid-row-table\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" role=\"wairole:presentation\">",generateCellMarkup:function(_2,_3,_4,_5){
+var _6=[],_7;
+if(_5){
+_7=["<th tabIndex=\"-1\" role=\"wairole:columnheader\""];
+}else{
+_7=["<td tabIndex=\"-1\" role=\"wairole:gridcell\""];
+}
+_2.colSpan&&_7.push(" colspan=\"",_2.colSpan,"\"");
+_2.rowSpan&&_7.push(" rowspan=\"",_2.rowSpan,"\"");
+_7.push(" class=\"dojoxGrid-cell ");
+_2.classes&&_7.push(_2.classes," ");
+_4&&_7.push(_4," ");
+_6.push(_7.join(""));
+_6.push("");
+_7=["\" idx=\"",_2.index,"\" style=\""];
+_7.push(_2.styles,_3||"");
+_2.unitWidth&&_7.push("width:",_2.unitWidth,";");
+_6.push(_7.join(""));
+_6.push("");
+_7=["\""];
+_2.attrs&&_7.push(" ",_2.attrs);
+_7.push(">");
+_6.push(_7.join(""));
+_6.push("");
+_6.push("</td>");
+return _6;
+},isCellNode:function(_8){
+return Boolean(_8&&_8.getAttribute&&_8.getAttribute("idx"));
+},getCellNodeIndex:function(_9){
+return _9?Number(_9.getAttribute("idx")):-1;
+},getCellNode:function(_a,_b){
+for(var i=0,_d;_d=dojox.grid.getTr(_a.firstChild,i);i++){
+for(var j=0,_f;_f=_d.cells[j];j++){
+if(this.getCellNodeIndex(_f)==_b){
+return _f;
+}
+}
+}
+},findCellTarget:function(_10,_11){
+var n=_10;
+while(n&&(!this.isCellNode(n)||(dojox.grid.gridViewTag in n.offsetParent.parentNode&&n.offsetParent.parentNode[dojox.grid.gridViewTag]!=this.view.id))&&(n!=_11)){
+n=n.parentNode;
+}
+return n!=_11?n:null;
+},baseDecorateEvent:function(e){
+e.dispatch="do"+e.type;
+e.grid=this.grid;
+e.sourceView=this.view;
+e.cellNode=this.findCellTarget(e.target,e.rowNode);
+e.cellIndex=this.getCellNodeIndex(e.cellNode);
+e.cell=(e.cellIndex>=0?this.grid.getCell(e.cellIndex):null);
+},findTarget:function(_14,_15){
+var n=_14;
+while(n&&(n!=this.domNode)&&(!(_15 in n)||(dojox.grid.gridViewTag in n&&n[dojox.grid.gridViewTag]!=this.view.id))){
+n=n.parentNode;
+}
+return (n!=this.domNode)?n:null;
+},findRowTarget:function(_17){
+return this.findTarget(_17,dojox.grid.rowIndexTag);
+},isIntraNodeEvent:function(e){
+try{
+return (e.cellNode&&e.relatedTarget&&dojo.isDescendant(e.relatedTarget,e.cellNode));
+}
+catch(x){
+return false;
+}
+},isIntraRowEvent:function(e){
+try{
+var row=e.relatedTarget&&this.findRowTarget(e.relatedTarget);
+return !row&&(e.rowIndex==-1)||row&&(e.rowIndex==row.gridRowIndex);
+}
+catch(x){
+return false;
+}
+},dispatchEvent:function(e){
+if(e.dispatch in this){
+return this[e.dispatch](e);
+}
+},domouseover:function(e){
+if(e.cellNode&&(e.cellNode!=this.lastOverCellNode)){
+this.lastOverCellNode=e.cellNode;
+this.grid.onMouseOver(e);
+}
+this.grid.onMouseOverRow(e);
+},domouseout:function(e){
+if(e.cellNode&&(e.cellNode==this.lastOverCellNode)&&!this.isIntraNodeEvent(e,this.lastOverCellNode)){
+this.lastOverCellNode=null;
+this.grid.onMouseOut(e);
+if(!this.isIntraRowEvent(e)){
+this.grid.onMouseOutRow(e);
+}
+}
+},domousedown:function(e){
+if(e.cellNode){
+this.grid.onMouseDown(e);
+}
+this.grid.onMouseDownRow(e);
+}});
+dojo.declare("dojox.grid.contentBuilder",dojox.grid.Builder,{update:function(){
+this.prepareHtml();
+},prepareHtml:function(){
+var _1f=this.grid.get,_20=this.view.structure.rows;
+for(var j=0,row;(row=_20[j]);j++){
+for(var i=0,_24;(_24=row[i]);i++){
+_24.get=_24.get||(_24.value==undefined)&&_1f;
+_24.markup=this.generateCellMarkup(_24,_24.cellStyles,_24.cellClasses,false);
+}
+}
+},generateHtml:function(_25,_26){
+var _27=[this._table],v=this.view,obr=v.onBeforeRow,_2a=v.structure.rows;
+obr&&obr(_26,_2a);
+for(var j=0,row;(row=_2a[j]);j++){
+if(row.hidden||row.header){
+continue;
+}
+_27.push(!row.invisible?"<tr>":"<tr class=\"dojoxGrid-invisible\">");
+for(var i=0,_2e,m,cc,cs;(_2e=row[i]);i++){
+m=_2e.markup,cc=_2e.customClasses=[],cs=_2e.customStyles=[];
+m[5]=_2e.format(_25);
+m[1]=cc.join(" ");
+m[3]=cs.join(";");
+_27.push.apply(_27,m);
+}
+_27.push("</tr>");
+}
+_27.push("</table>");
+return _27.join("");
+},decorateEvent:function(e){
+e.rowNode=this.findRowTarget(e.target);
+if(!e.rowNode){
+return false;
+}
+e.rowIndex=e.rowNode[dojox.grid.rowIndexTag];
+this.baseDecorateEvent(e);
+e.cell=this.grid.getCell(e.cellIndex);
+return true;
+}});
+dojo.declare("dojox.grid.headerBuilder",dojox.grid.Builder,{bogusClickTime:0,overResizeWidth:4,minColWidth:1,_table:"<table class=\"dojoxGrid-row-table\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" role=\"wairole:presentation\"",update:function(){
+this.tableMap=new dojox.grid.tableMap(this.view.structure.rows);
+},generateHtml:function(_33,_34){
+var _35=[this._table],_36=this.view.structure.rows;
+if(this.view.viewWidth){
+_35.push([" style=\"width:",this.view.viewWidth,";\""].join(""));
+}
+_35.push(">");
+dojox.grid.fire(this.view,"onBeforeRow",[-1,_36]);
+for(var j=0,row;(row=_36[j]);j++){
+if(row.hidden){
+continue;
+}
+_35.push(!row.invisible?"<tr>":"<tr class=\"dojoxGrid-invisible\">");
+for(var i=0,_3a,_3b;(_3a=row[i]);i++){
+_3a.customClasses=[];
+_3a.customStyles=[];
+_3b=this.generateCellMarkup(_3a,_3a.headerStyles,_3a.headerClasses,true);
+_3b[5]=(_34!=undefined?_34:_33(_3a));
+_3b[3]=_3a.customStyles.join(";");
+_3b[1]=_3a.customClasses.join(" ");
+_35.push(_3b.join(""));
+}
+_35.push("</tr>");
+}
+_35.push("</table>");
+return _35.join("");
+},getCellX:function(e){
+var x=e.layerX;
+if(dojo.isMoz){
+var n=dojox.grid.ascendDom(e.target,dojox.grid.makeNotTagName("th"));
+x-=(n&&n.offsetLeft)||0;
+var t=e.sourceView.getScrollbarWidth();
+if(!dojo._isBodyLtr()&&e.sourceView.headerNode.scrollLeft<t){
+x-=t;
+}
+}
+var n=dojox.grid.ascendDom(e.target,function(){
+if(!n||n==e.cellNode){
+return false;
+}
+x+=(n.offsetLeft<0?0:n.offsetLeft);
+return true;
+});
+return x;
+},decorateEvent:function(e){
+this.baseDecorateEvent(e);
+e.rowIndex=-1;
+e.cellX=this.getCellX(e);
+return true;
+},prepareResize:function(e,mod){
+var i=dojox.grid.getTdIndex(e.cellNode);
+e.cellNode=(i?e.cellNode.parentNode.cells[i+mod]:null);
+e.cellIndex=(e.cellNode?this.getCellNodeIndex(e.cellNode):-1);
+return Boolean(e.cellNode);
+},canResize:function(e){
+if(!e.cellNode||e.cellNode.colSpan>1){
+return false;
+}
+var _45=this.grid.getCell(e.cellIndex);
+return !_45.noresize&&!_45.isFlex();
+},overLeftResizeArea:function(e){
+if(dojo._isBodyLtr()){
+return (e.cellIndex>0)&&(e.cellX<this.overResizeWidth)&&this.prepareResize(e,-1);
+}
+var t=e.cellNode&&(e.cellX<this.overResizeWidth);
+return;
+},overRightResizeArea:function(e){
+if(dojo._isBodyLtr()){
+return e.cellNode&&(e.cellX>=e.cellNode.offsetWidth-this.overResizeWidth);
+}
+return (e.cellIndex>0)&&(e.cellX>=e.cellNode.offsetWidth-this.overResizeWidth)&&this.prepareResize(e,-1);
+},domousemove:function(e){
+var c=(this.overRightResizeArea(e)?"e-resize":(this.overLeftResizeArea(e)?"w-resize":""));
+if(c&&!this.canResize(e)){
+c="not-allowed";
+}
+e.sourceView.headerNode.style.cursor=c||"";
+if(c){
+dojo.stopEvent(e);
+}
+},domousedown:function(e){
+if(!dojox.grid.drag.dragging){
+if((this.overRightResizeArea(e)||this.overLeftResizeArea(e))&&this.canResize(e)){
+this.beginColumnResize(e);
+}else{
+this.grid.onMouseDown(e);
+this.grid.onMouseOverRow(e);
+}
+}
+},doclick:function(e){
+if(new Date().getTime()<this.bogusClickTime){
+dojo.stopEvent(e);
+return true;
+}
+},beginColumnResize:function(e){
+dojo.stopEvent(e);
+var _4e=[],_4f=this.tableMap.findOverlappingNodes(e.cellNode);
+for(var i=0,_51;(_51=_4f[i]);i++){
+_4e.push({node:_51,index:this.getCellNodeIndex(_51),width:_51.offsetWidth});
+}
+var _52={scrollLeft:e.sourceView.headerNode.scrollLeft,view:e.sourceView,node:e.cellNode,index:e.cellIndex,w:e.cellNode.clientWidth,spanners:_4e};
+dojox.grid.drag.start(e.cellNode,dojo.hitch(this,"doResizeColumn",_52),dojo.hitch(this,"endResizeColumn",_52),e);
+},doResizeColumn:function(_53,_54){
+var _55=dojo._isBodyLtr();
+if(_55){
+var w=_53.w+_54.deltaX;
+}else{
+var w=_53.w-_54.deltaX;
+}
+if(w>=this.minColWidth){
+for(var i=0,s,sw;(s=_53.spanners[i]);i++){
+if(_55){
+sw=s.width+_54.deltaX;
+}else{
+sw=s.width-_54.deltaX;
+}
+s.node.style.width=sw+"px";
+_53.view.setColWidth(s.index,sw);
+}
+_53.node.style.width=w+"px";
+_53.view.setColWidth(_53.index,w);
+if(!_55){
+_53.view.headerNode.scrollLeft=(_53.scrollLeft-_54.deltaX);
+}
+}
+if(_53.view.flexCells&&!_53.view.testFlexCells()){
+var t=dojox.grid.findTable(_53.node);
+t&&(t.style.width="");
+}
+},endResizeColumn:function(_5b){
+this.bogusClickTime=new Date().getTime()+30;
+setTimeout(dojo.hitch(_5b.view,"update"),50);
+}});
+dojo.declare("dojox.grid.tableMap",null,{constructor:function(_5c){
+this.mapRows(_5c);
+},map:null,mapRows:function(_5d){
+var _5e=_5d.length;
+if(!_5e){
+return;
+}
+this.map=[];
+for(var j=0,row;(row=_5d[j]);j++){
+this.map[j]=[];
+}
+for(var j=0,row;(row=_5d[j]);j++){
+for(var i=0,x=0,_63,_64,_65;(_63=row[i]);i++){
+while(this.map[j][x]){
+x++;
+}
+this.map[j][x]={c:i,r:j};
+_65=_63.rowSpan||1;
+_64=_63.colSpan||1;
+for(var y=0;y<_65;y++){
+for(var s=0;s<_64;s++){
+this.map[j+y][x+s]=this.map[j][x];
+}
+}
+x+=_64;
+}
+}
+},dumpMap:function(){
+for(var j=0,row,h="";(row=this.map[j]);j++,h=""){
+for(var i=0,_6c;(_6c=row[i]);i++){
+h+=_6c.r+","+_6c.c+"   ";
+}
+
+}
+},getMapCoords:function(_6d,_6e){
+for(var j=0,row;(row=this.map[j]);j++){
+for(var i=0,_72;(_72=row[i]);i++){
+if(_72.c==_6e&&_72.r==_6d){
+return {j:j,i:i};
+}
+}
+}
+return {j:-1,i:-1};
+},getNode:function(_73,_74,_75){
+var row=_73&&_73.rows[_74];
+return row&&row.cells[_75];
+},_findOverlappingNodes:function(_77,_78,_79){
+var _7a=[];
+var m=this.getMapCoords(_78,_79);
+var row=this.map[m.j];
+for(var j=0,row;(row=this.map[j]);j++){
+if(j==m.j){
+continue;
+}
+with(row[m.i]){
+var n=this.getNode(_77,r,c);
+if(n){
+_7a.push(n);
+}
+}
+}
+return _7a;
+},findOverlappingNodes:function(_7f){
+return this._findOverlappingNodes(dojox.grid.findTable(_7f),dojox.grid.getTrIndex(_7f.parentNode),dojox.grid.getTdIndex(_7f));
+}});
+dojox.grid.rowIndexTag="gridRowIndex";
+dojox.grid.gridViewTag="gridView";
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/builder.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/cell.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/cell.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/cell.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/cell.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,43 @@
+/*
+	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.grid.compat._grid.cell"]){
+dojo._hasResource["dojox.grid.compat._grid.cell"]=true;
+dojo.provide("dojox.grid.compat._grid.cell");
+dojo.declare("dojox.grid.cell",null,{styles:"",constructor:function(_1){
+dojo.mixin(this,_1);
+if(this.editor){
+this.editor=new this.editor(this);
+}
+},format:function(_2){
+var f,i=this.grid.edit.info,d=this.get?this.get(_2):this.value;
+if(this.editor&&(this.editor.alwaysOn||(i.rowIndex==_2&&i.cell==this))){
+return this.editor.format(d,_2);
+}else{
+return (f=this.formatter)?f.call(this,d,_2):d;
+}
+},getNode:function(_6){
+return this.view.getCellNode(_6,this.index);
+},isFlex:function(){
+var uw=this.unitWidth;
+return uw&&(uw=="auto"||uw.slice(-1)=="%");
+},applyEdit:function(_8,_9){
+this.grid.edit.applyCellEdit(_8,this,_9);
+},cancelEdit:function(_a){
+this.grid.doCancelEdit(_a);
+},_onEditBlur:function(_b){
+if(this.grid.edit.isEditCell(_b,this.index)){
+this.grid.edit.apply();
+}
+},registerOnBlur:function(_c,_d){
+if(this.commitOnBlur){
+dojo.connect(_c,"onblur",function(e){
+setTimeout(dojo.hitch(this,"_onEditBlur",_d),250);
+});
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/cell.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/drag.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/drag.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/drag.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/drag.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,91 @@
+/*
+	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.grid.compat._grid.drag"]){
+dojo._hasResource["dojox.grid.compat._grid.drag"]=true;
+dojo.provide("dojox.grid.compat._grid.drag");
+(function(){
+var _1=dojox.grid.drag={};
+_1.dragging=false;
+_1.hysteresis=2;
+_1.capture=function(_2){
+if(_2.setCapture){
+_2.setCapture();
+}else{
+document.addEventListener("mousemove",_2.onmousemove,true);
+document.addEventListener("mouseup",_2.onmouseup,true);
+document.addEventListener("click",_2.onclick,true);
+}
+};
+_1.release=function(_3){
+if(_3.releaseCapture){
+_3.releaseCapture();
+}else{
+document.removeEventListener("click",_3.onclick,true);
+document.removeEventListener("mouseup",_3.onmouseup,true);
+document.removeEventListener("mousemove",_3.onmousemove,true);
+}
+};
+_1.start=function(_4,_5,_6,_7,_8){
+if(!_4||_1.dragging){
+
+return;
+}
+_1.dragging=true;
+_1.elt=_4;
+_1.events={drag:_5||dojox.grid.nop,end:_6||dojox.grid.nop,start:_8||dojox.grid.nop,oldmove:_4.onmousemove,oldup:_4.onmouseup,oldclick:_4.onclick};
+_1.positionX=(_7&&("screenX" in _7)?_7.screenX:false);
+_1.positionY=(_7&&("screenY" in _7)?_7.screenY:false);
+_1.started=(_1.position===false);
+_4.onmousemove=_1.mousemove;
+_4.onmouseup=_1.mouseup;
+_4.onclick=_1.click;
+_1.capture(_1.elt);
+};
+_1.end=function(){
+_1.release(_1.elt);
+_1.elt.onmousemove=_1.events.oldmove;
+_1.elt.onmouseup=_1.events.oldup;
+_1.elt.onclick=_1.events.oldclick;
+_1.elt=null;
+try{
+if(_1.started){
+_1.events.end();
+}
+}
+finally{
+_1.dragging=false;
+}
+};
+_1.calcDelta=function(_9){
+_9.deltaX=_9.screenX-_1.positionX;
+_9.deltaY=_9.screenY-_1.positionY;
+};
+_1.hasMoved=function(_a){
+return Math.abs(_a.deltaX)+Math.abs(_a.deltaY)>_1.hysteresis;
+};
+_1.mousemove=function(_b){
+_b=dojo.fixEvent(_b);
+dojo.stopEvent(_b);
+_1.calcDelta(_b);
+if((!_1.started)&&(_1.hasMoved(_b))){
+_1.events.start(_b);
+_1.started=true;
+}
+if(_1.started){
+_1.events.drag(_b);
+}
+};
+_1.mouseup=function(_c){
+dojo.stopEvent(dojo.fixEvent(_c));
+_1.end();
+};
+_1.click=function(_d){
+dojo.stopEvent(dojo.fixEvent(_d));
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/drag.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/edit.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/edit.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/edit.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/edit.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,128 @@
+/*
+	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.grid.compat._grid.edit"]){
+dojo._hasResource["dojox.grid.compat._grid.edit"]=true;
+dojo.provide("dojox.grid.compat._grid.edit");
+dojo.declare("dojox.grid.edit",null,{constructor:function(_1){
+this.grid=_1;
+this.connections=[];
+if(dojo.isIE){
+this.connections.push(dojo.connect(document.body,"onfocus",dojo.hitch(this,"_boomerangFocus")));
+}
+},info:{},destroy:function(){
+dojo.forEach(this.connections,dojo.disconnect);
+},cellFocus:function(_2,_3){
+if(this.grid.singleClickEdit||this.isEditRow(_3)){
+this.setEditCell(_2,_3);
+}else{
+this.apply();
+}
+if(this.isEditing()||(_2&&(_2.editor||0).alwaysOn)){
+this._focusEditor(_2,_3);
+}
+},rowClick:function(e){
+if(this.isEditing()&&!this.isEditRow(e.rowIndex)){
+this.apply();
+}
+},styleRow:function(_5){
+if(_5.index==this.info.rowIndex){
+_5.customClasses+=" dojoxGrid-row-editing";
+}
+},dispatchEvent:function(e){
+var c=e.cell,ed=c&&c.editor;
+return ed&&ed.dispatchEvent(e.dispatch,e);
+},isEditing:function(){
+return this.info.rowIndex!==undefined;
+},isEditCell:function(_9,_a){
+return (this.info.rowIndex===_9)&&(this.info.cell.index==_a);
+},isEditRow:function(_b){
+return this.info.rowIndex===_b;
+},setEditCell:function(_c,_d){
+if(!this.isEditCell(_d,_c.index)&&this.grid.canEdit(_c,_d)){
+this.start(_c,_d,this.isEditRow(_d)||_c.editor);
+}
+},_focusEditor:function(_e,_f){
+dojox.grid.fire(_e.editor,"focus",[_f]);
+},focusEditor:function(){
+if(this.isEditing()){
+this._focusEditor(this.info.cell,this.info.rowIndex);
+}
+},_boomerangWindow:500,_shouldCatchBoomerang:function(){
+return this._catchBoomerang>new Date().getTime();
+},_boomerangFocus:function(){
+if(this._shouldCatchBoomerang()){
+this.grid.focus.focusGrid();
+this.focusEditor();
+this._catchBoomerang=0;
+}
+},_doCatchBoomerang:function(){
+if(dojo.isIE){
+this._catchBoomerang=new Date().getTime()+this._boomerangWindow;
+}
+},start:function(_10,_11,_12){
+this.grid.beginUpdate();
+this.editorApply();
+if(this.isEditing()&&!this.isEditRow(_11)){
+this.applyRowEdit();
+this.grid.updateRow(_11);
+}
+if(_12){
+this.info={cell:_10,rowIndex:_11};
+this.grid.doStartEdit(_10,_11);
+this.grid.updateRow(_11);
+}else{
+this.info={};
+}
+this.grid.endUpdate();
+this.grid.focus.focusGrid();
+this._focusEditor(_10,_11);
+this._doCatchBoomerang();
+},_editorDo:function(_13){
+var c=this.info.cell;
+c&&c.editor&&c.editor[_13](this.info.rowIndex);
+},editorApply:function(){
+this._editorDo("apply");
+},editorCancel:function(){
+this._editorDo("cancel");
+},applyCellEdit:function(_15,_16,_17){
+if(this.grid.canEdit(_16,_17)){
+this.grid.doApplyCellEdit(_15,_17,_16.fieldIndex);
+}
+},applyRowEdit:function(){
+this.grid.doApplyEdit(this.info.rowIndex);
+},apply:function(){
+if(this.isEditing()){
+this.grid.beginUpdate();
+this.editorApply();
+this.applyRowEdit();
+this.info={};
+this.grid.endUpdate();
+this.grid.focus.focusGrid();
+this._doCatchBoomerang();
+}
+},cancel:function(){
+if(this.isEditing()){
+this.grid.beginUpdate();
+this.editorCancel();
+this.info={};
+this.grid.endUpdate();
+this.grid.focus.focusGrid();
+this._doCatchBoomerang();
+}
+},save:function(_18,_19){
+var c=this.info.cell;
+if(this.isEditRow(_18)&&(!_19||c.view==_19)&&c.editor){
+c.editor.save(c,this.info.rowIndex);
+}
+},restore:function(_1b,_1c){
+var c=this.info.cell;
+if(this.isEditRow(_1c)&&c.view==_1b&&c.editor){
+c.editor.restore(c,this.info.rowIndex);
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/edit.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/focus.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/focus.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/focus.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/focus.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,137 @@
+/*
+	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.grid.compat._grid.focus"]){
+dojo._hasResource["dojox.grid.compat._grid.focus"]=true;
+dojo.provide("dojox.grid.compat._grid.focus");
+dojo.declare("dojox.grid.focus",null,{constructor:function(_1){
+this.grid=_1;
+this.cell=null;
+this.rowIndex=-1;
+dojo.connect(this.grid.domNode,"onfocus",this,"doFocus");
+},tabbingOut:false,focusClass:"dojoxGrid-cell-focus",focusView:null,initFocusView:function(){
+this.focusView=this.grid.views.getFirstScrollingView();
+},isFocusCell:function(_2,_3){
+return (this.cell==_2)&&(this.rowIndex==_3);
+},isLastFocusCell:function(){
+return (this.rowIndex==this.grid.rowCount-1)&&(this.cell.index==this.grid.layout.cellCount-1);
+},isFirstFocusCell:function(){
+return (this.rowIndex==0)&&(this.cell.index==0);
+},isNoFocusCell:function(){
+return (this.rowIndex<0)||!this.cell;
+},_focusifyCellNode:function(_4){
+var n=this.cell&&this.cell.getNode(this.rowIndex);
+if(n){
+dojo.toggleClass(n,this.focusClass,_4);
+if(_4){
+this.scrollIntoView();
+try{
+if(!this.grid.edit.isEditing()){
+dojox.grid.fire(n,"focus");
+}
+}
+catch(e){
+}
+}
+}
+},scrollIntoView:function(){
+if(!this.cell){
+return;
+}
+var c=this.cell,s=c.view.scrollboxNode,sr={w:s.clientWidth,l:s.scrollLeft,t:s.scrollTop,h:s.clientHeight},n=c.getNode(this.rowIndex),r=c.view.getRowNode(this.rowIndex),rt=this.grid.scroller.findScrollTop(this.rowIndex);
+if(n.offsetLeft+n.offsetWidth>sr.l+sr.w){
+s.scrollLeft=n.offsetLeft+n.offsetWidth-sr.w;
+}else{
+if(n.offsetLeft<sr.l){
+s.scrollLeft=n.offsetLeft;
+}
+}
+if(rt+r.offsetHeight>sr.t+sr.h){
+this.grid.setScrollTop(rt+r.offsetHeight-sr.h);
+}else{
+if(rt<sr.t){
+this.grid.setScrollTop(rt);
+}
+}
+},styleRow:function(_c){
+return;
+},setFocusIndex:function(_d,_e){
+this.setFocusCell(this.grid.getCell(_e),_d);
+},setFocusCell:function(_f,_10){
+if(_f&&!this.isFocusCell(_f,_10)){
+this.tabbingOut=false;
+this.focusGridView();
+this._focusifyCellNode(false);
+this.cell=_f;
+this.rowIndex=_10;
+this._focusifyCellNode(true);
+}
+if(dojo.isOpera){
+setTimeout(dojo.hitch(this.grid,"onCellFocus",this.cell,this.rowIndex),1);
+}else{
+this.grid.onCellFocus(this.cell,this.rowIndex);
+}
+},next:function(){
+var row=this.rowIndex,col=this.cell.index+1,cc=this.grid.layout.cellCount-1,rc=this.grid.rowCount-1;
+if(col>cc){
+col=0;
+row++;
+}
+if(row>rc){
+col=cc;
+row=rc;
+}
+this.setFocusIndex(row,col);
+},previous:function(){
+var row=(this.rowIndex||0),col=(this.cell.index||0)-1;
+if(col<0){
+col=this.grid.layout.cellCount-1;
+row--;
+}
+if(row<0){
+row=0;
+col=0;
+}
+this.setFocusIndex(row,col);
+},move:function(_17,_18){
+var rc=this.grid.rowCount-1,cc=this.grid.layout.cellCount-1,r=this.rowIndex,i=this.cell.index,row=Math.min(rc,Math.max(0,r+_17)),col=Math.min(cc,Math.max(0,i+_18));
+this.setFocusIndex(row,col);
+if(_17){
+this.grid.updateRow(r);
+}
+},previousKey:function(e){
+if(this.isFirstFocusCell()){
+this.tabOut(this.grid.domNode);
+}else{
+dojo.stopEvent(e);
+this.previous();
+}
+},nextKey:function(e){
+if(this.isLastFocusCell()){
+this.tabOut(this.grid.lastFocusNode);
+}else{
+dojo.stopEvent(e);
+this.next();
+}
+},tabOut:function(_21){
+this.tabbingOut=true;
+_21.focus();
+},focusGridView:function(){
+dojox.grid.fire(this.focusView,"focus");
+},focusGrid:function(_22){
+this.focusGridView();
+this._focusifyCellNode(true);
+},doFocus:function(e){
+if(e&&e.target!=e.currentTarget){
+return;
+}
+if(!this.tabbingOut&&this.isNoFocusCell()){
+this.setFocusIndex(0,0);
+}
+this.tabbingOut=false;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/focus.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_dx_gradient.gif
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_dx_gradient.gif?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_dx_gradient.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_sort_down.gif
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_sort_down.gif?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_sort_down.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_sort_up.gif
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_sort_up.gif?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/grid_sort_up.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/tabEnabled_rotated.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/tabEnabled_rotated.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/tabEnabled_rotated.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/tabHover_rotated.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/tabHover_rotated.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/images/tabHover_rotated.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/layout.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/layout.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/layout.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/layout.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,56 @@
+/*
+	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.grid.compat._grid.layout"]){
+dojo._hasResource["dojox.grid.compat._grid.layout"]=true;
+dojo.provide("dojox.grid.compat._grid.layout");
+dojo.require("dojox.grid.compat._grid.cell");
+dojo.declare("dojox.grid.layout",null,{constructor:function(_1){
+this.grid=_1;
+},cells:[],structure:null,defaultWidth:"6em",setStructure:function(_2){
+this.fieldIndex=0;
+this.cells=[];
+var s=this.structure=[];
+for(var i=0,_5,_6;(_5=_2[i]);i++){
+s.push(this.addViewDef(_5));
+}
+this.cellCount=this.cells.length;
+},addViewDef:function(_7){
+this._defaultCellProps=_7.defaultCell||{};
+return dojo.mixin({},_7,{rows:this.addRowsDef(_7.rows||_7.cells)});
+},addRowsDef:function(_8){
+var _9=[];
+for(var i=0,_b;_8&&(_b=_8[i]);i++){
+_9.push(this.addRowDef(i,_b));
+}
+return _9;
+},addRowDef:function(_c,_d){
+var _e=[];
+for(var i=0,def,_11;(def=_d[i]);i++){
+_11=this.addCellDef(_c,i,def);
+_e.push(_11);
+this.cells.push(_11);
+}
+return _e;
+},addCellDef:function(_12,_13,_14){
+var w=0;
+if(_14.colSpan>1){
+w=0;
+}else{
+if(!isNaN(_14.width)){
+w=_14.width+"em";
+}else{
+w=_14.width||this.defaultWidth;
+}
+}
+var _16=_14.field!=undefined?_14.field:(_14.get?-1:this.fieldIndex);
+if((_14.field!=undefined)||!_14.get){
+this.fieldIndex=(_14.field>-1?_14.field:this.fieldIndex)+1;
+}
+return new dojox.grid.cell(dojo.mixin({},this._defaultCellProps,_14,{grid:this.grid,subrow:_12,layoutIndex:_13,index:this.cells.length,fieldIndex:_16,unitWidth:w}));
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/lib.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/lib.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/lib.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/lib.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,184 @@
+/*
+	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.grid.compat._grid.lib"]){
+dojo._hasResource["dojox.grid.compat._grid.lib"]=true;
+dojo.provide("dojox.grid.compat._grid.lib");
+dojo.mixin(dojox.grid,{na:"...",nop:function(){
+},getTdIndex:function(td){
+return td.cellIndex>=0?td.cellIndex:dojo.indexOf(td.parentNode.cells,td);
+},getTrIndex:function(tr){
+return tr.rowIndex>=0?tr.rowIndex:dojo.indexOf(tr.parentNode.childNodes,tr);
+},getTr:function(_3,_4){
+return _3&&((_3.rows||0)[_4]||_3.childNodes[_4]);
+},getTd:function(_5,_6,_7){
+return (dojox.grid.getTr(inTable,_6)||0)[_7];
+},findTable:function(_8){
+for(var n=_8;n&&n.tagName!="TABLE";n=n.parentNode){
+}
+return n;
+},ascendDom:function(_a,_b){
+for(var n=_a;n&&_b(n);n=n.parentNode){
+}
+return n;
+},makeNotTagName:function(_d){
+var _e=_d.toUpperCase();
+return function(_f){
+return _f.tagName!=_e;
+};
+},fire:function(ob,ev,_12){
+var fn=ob&&ev&&ob[ev];
+return fn&&(_12?fn.apply(ob,_12):ob[ev]());
+},setStyleText:function(_14,_15){
+if(_14.style.cssText==undefined){
+_14.setAttribute("style",_15);
+}else{
+_14.style.cssText=_15;
+}
+},getStyleText:function(_16,_17){
+return (_16.style.cssText==undefined?_16.getAttribute("style"):_16.style.cssText);
+},setStyle:function(_18,_19,_1a){
+if(_18&&_18.style[_19]!=_1a){
+_18.style[_19]=_1a;
+}
+},setStyleHeightPx:function(_1b,_1c){
+if(_1c>=0){
+dojox.grid.setStyle(_1b,"height",_1c+"px");
+}
+},mouseEvents:["mouseover","mouseout","mousedown","mouseup","click","dblclick","contextmenu"],keyEvents:["keyup","keydown","keypress"],funnelEvents:function(_1d,_1e,_1f,_20){
+var _21=(_20?_20:dojox.grid.mouseEvents.concat(dojox.grid.keyEvents));
+for(var i=0,l=_21.length;i<l;i++){
+dojo.connect(_1d,"on"+_21[i],_1e,_1f);
+}
+},removeNode:function(_24){
+_24=dojo.byId(_24);
+_24&&_24.parentNode&&_24.parentNode.removeChild(_24);
+return _24;
+},getScrollbarWidth:function(){
+if(this._scrollBarWidth){
+return this._scrollBarWidth;
+}
+this._scrollBarWidth=18;
+try{
+var e=document.createElement("div");
+e.style.cssText="top:0;left:0;width:100px;height:100px;overflow:scroll;position:absolute;visibility:hidden;";
+document.body.appendChild(e);
+this._scrollBarWidth=e.offsetWidth-e.clientWidth;
+document.body.removeChild(e);
+delete e;
+}
+catch(ex){
+}
+return this._scrollBarWidth;
+},getRef:function(_26,_27,_28){
+var obj=_28||dojo.global,_2a=_26.split("."),_2b=_2a.pop();
+for(var i=0,p;obj&&(p=_2a[i]);i++){
+obj=(p in obj?obj[p]:(_27?obj[p]={}:undefined));
+}
+return {obj:obj,prop:_2b};
+},getProp:function(_2e,_2f,_30){
+with(dojox.grid.getRef(_2e,_2f,_30)){
+return (obj)&&(prop)&&(prop in obj?obj[prop]:(_2f?obj[prop]={}:undefined));
+}
+},indexInParent:function(_31){
+var i=0,n,p=_31.parentNode;
+while((n=p.childNodes[i++])){
+if(n==_31){
+return i-1;
+}
+}
+return -1;
+},cleanNode:function(_35){
+if(!_35){
+return;
+}
+var _36=function(inW){
+return inW.domNode&&dojo.isDescendant(inW.domNode,_35,true);
+};
+var ws=dijit.registry.filter(_36);
+for(var i=0,w;(w=ws[i]);i++){
+w.destroy();
+}
+delete ws;
+},getTagName:function(_3b){
+var _3c=dojo.byId(_3b);
+return (_3c&&_3c.tagName?_3c.tagName.toLowerCase():"");
+},nodeKids:function(_3d,_3e){
+var _3f=[];
+var i=0,n;
+while((n=_3d.childNodes[i++])){
+if(dojox.grid.getTagName(n)==_3e){
+_3f.push(n);
+}
+}
+return _3f;
+},divkids:function(_42){
+return dojox.grid.nodeKids(_42,"div");
+},focusSelectNode:function(_43){
+try{
+dojox.grid.fire(_43,"focus");
+dojox.grid.fire(_43,"select");
+}
+catch(e){
+}
+},whenIdle:function(){
+setTimeout(dojo.hitch.apply(dojo,arguments),0);
+},arrayCompare:function(inA,inB){
+for(var i=0,l=inA.length;i<l;i++){
+if(inA[i]!=inB[i]){
+return false;
+}
+}
+return (inA.length==inB.length);
+},arrayInsert:function(_48,_49,_4a){
+if(_48.length<=_49){
+_48[_49]=_4a;
+}else{
+_48.splice(_49,0,_4a);
+}
+},arrayRemove:function(_4b,_4c){
+_4b.splice(_4c,1);
+},arraySwap:function(_4d,inI,inJ){
+var _50=_4d[inI];
+_4d[inI]=_4d[inJ];
+_4d[inJ]=_50;
+},initTextSizePoll:function(_51){
+var f=document.createElement("div");
+with(f.style){
+top="0px";
+left="0px";
+position="absolute";
+visibility="hidden";
+}
+f.innerHTML="TheQuickBrownFoxJumpedOverTheLazyDog";
+document.body.appendChild(f);
+var fw=f.offsetWidth;
+var job=function(){
+if(f.offsetWidth!=fw){
+fw=f.offsetWidth;
+dojox.grid.textSizeChanged();
+}
+};
+window.setInterval(job,_51||200);
+dojox.grid.initTextSizePoll=dojox.grid.nop;
+},textSizeChanged:function(){
+}});
+dojox.grid.jobs={cancel:function(_55){
+if(_55){
+window.clearTimeout(_55);
+}
+},jobs:[],job:function(_56,_57,_58){
+dojox.grid.jobs.cancelJob(_56);
+var job=function(){
+delete dojox.grid.jobs.jobs[_56];
+_58();
+};
+dojox.grid.jobs.jobs[_56]=setTimeout(job,_57);
+},cancelJob:function(_5a){
+dojox.grid.jobs.cancel(dojox.grid.jobs.jobs[_5a]);
+}};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/lib.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/nihiloGrid.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/nihiloGrid.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/nihiloGrid.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/nihiloGrid.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,211 @@
+.nihilo .dojoxGrid {
+	position: relative;
+	background-color: #e9e9e9;
+	font-size: 0.85em; 
+	-moz-outline-style: none;
+	outline: none;
+	overflow: hidden;
+	height: 0;
+}
+.nihilo .dojoxGrid table {
+	padding: 0;
+}
+.nihilo .dojoxGrid td {
+	-moz-outline: none;
+}
+.nihilo .dojoxGrid-master-header {
+	position: relative;
+}
+.nihilo .dojoxGrid-master-view  {
+	position: relative;
+}
+.nihilo .dojoxGrid-view {
+	position: absolute;
+	overflow: hidden;
+}
+.nihilo .dojoxGrid-header {
+	position: absolute;
+	overflow: hidden;
+}
+.nihilo .dojoxGrid-header {
+	background-color:  #e9e9e9;
+}
+.nihilo .dojoxGrid-header table {
+	text-align: center;
+}
+.nihilo .dojoxGrid-header .dojoxGrid-cell-content {
+	text-align: center;
+}
+.nihilo .dojoxGrid-header .dojoxGrid-cell { 
+	border: 1px solid transparent;
+	
+	border-color: white #ACA899 #919191 white;
+	background: url(../../../../dijit/themes/nihilo/images/titleBar.png) #e9e9e9 repeat-x top;
+	padding-bottom: 2px;
+	color: #000 !important;
+}
+.nihilo .dojoxGrid-header .dojoxGrid-cell-over {
+	background: url(../../../../dijit/themes/nihilo/images/titleBarActive.png) #e9e9e9 repeat-x top;
+}
+.nihilo .dojoxGrid-sort-down {
+	background: url(images/grid_sort_down.gif) right no-repeat;
+	padding-left: 0px;
+	margin-left: 0px;
+}
+.nihilo .dojoxGrid-sort-up {
+	background: url(images/grid_sort_up.gif) right no-repeat;
+	padding-left: 0px;
+	margin-left: 0px;
+}
+.nihilo .gridArrowButtonChar {
+	display:none !important;
+}
+.dijit_a11y .gridArrowButtonChar {
+	display:inline !important;
+}
+.nihilo .dojoxGrid-scrollbox {
+	position: relative;
+	overflow: scroll;
+	background-color: #fefefe;
+	width: 100%;
+}
+.nihilo .dojoxGrid-content {
+	position: relative;
+	overflow: hidden;
+	 -moz-outline-style: none;
+	outline: none;
+}
+.nihilo .dojoxGrid-rowbar { 
+	border: none;
+	
+	background: url(images/titleBar.png) #e9e9e9 repeat-y right;
+	border-right: 1px solid #cccccc;
+	padding: 0px;
+}
+.nihilo .dojoxGrid-rowbar-inner {
+	border: none;
+	border-bottom: 1px solid #cccccc;
+}
+.nihilo .dojoxGrid-rowbar-over {
+	background: url(images/titleBarActive.png) #e9e9e9 repeat-y right;
+}
+.nihilo .dojoxGrid-rowbar-selected {
+	background-color: #D9E8F9;
+	background-image: none;
+	background: url(../../../../dijit/themes/nihilo/images/titleBar.png) #dddddd repeat-x top;
+	border-right: 1px solid #cccccc;
+	background-position: center;
+	background-repeat: no-repeat;
+}
+.nihilo .dojoxGrid-row {
+	position: relative;
+	width: 9000em;
+}
+.nihilo .dojoxGrid-row {
+	border: none;
+	border-left: none;
+	border-right: none;
+	background-color: white;
+	border-top: none;
+}
+.nihilo .dojoxGrid-row-over {
+	border-top-color: #cccccc;
+	border-bottom-color: #cccccc;
+}
+.nihilo .dojoxGrid-row-over .dojoxGrid-cell {
+	background-color: #ffe284; 
+}
+.nihilo .dojoxGrid-row-odd {
+	background-color: #f2f5f9;
+	
+}
+.nihilo .dojoxGrid-row-selected {
+	background-color: #aec7e3;
+}
+.nihilo .dojoxGrid-row-table {
+	table-layout: fixed;
+	width: 0;
+	border-collapse: collapse;
+}
+.nihilo .dojoxGrid-invisible {
+	visibility: hidden;
+}		
+.nihilo .Xdojo-ie .dojoxGrid-invisible {
+	display: none;
+}		
+.nihilo .dojoxGrid-invisible td, .dojoxGrid-header .dojoxGrid-invisible td {
+	border-top-width: 0;
+	border-bottom-width: 0;
+	padding-top: 0;
+	padding-bottom: 0;
+	height: 0;
+	overflow: hidden;
+}
+.nihilo .dojoxGrid-cell {
+	border: 1px dotted #D5CDB5;
+	padding: 3px 3px 3px 3px;
+	text-align: left;
+	overflow: hidden;
+}
+.dj_ie6 .nihilo .dojoxGrid-cell {
+	border: 1px solid white;
+	border-right: 1px solid #D5CDB5;
+}
+.nihilo .dojoxGrid-cell-focus {
+	border: 1px dotted #a6a6a6;
+}
+.nihilo .dojoxGrid-cell-over {
+	border: 1px dotted #a6a6a6;
+}
+.nihilo .dojoxGrid-cell-focus.dojoxGrid-cell-over {
+	border: 1px dotted #595959;
+}
+.nihilo .dojoxGrid-cell-clip {
+	width: 100%;
+	overflow: hidden;
+	white-space:nowrap;
+	text-overflow: ellipsis;
+}
+.nihilo .dojoxGrid-row-editing td {
+	
+	background-color: #ffe284; 
+	
+}
+.nihilo .dojoxGrid-row-inserting td {
+	background-color: #F4FFF4;
+}
+.nihilo .dojoxGrid-row-inflight td {
+	background-color: #F2F7B7;
+}
+.nihilo .dojoxGrid-row-error td {
+	background-color: #F8B8B6;
+}
+.nihilo .dojoxGrid-input,
+.nihilo .dojoxGrid-select,
+.nihilo .dojoxGrid-textarea {
+	margin: 0;
+	padding: 0px;
+	border-style: none;
+	width: 100%;
+	font-size: 100%;
+	font-family: inherit;
+}
+.dojoxGrid-hidden-focus {
+	position: absolute;
+	left: -1000px;
+	top: -1000px;
+	height: 0px, width: 0px;
+}
+.dijit_a11y .dojoxGrid-rowbar-selected { 
+	border-top: 1px solid white;
+	border-bottom: 1px dashed black;
+	border-top: 0;
+	background: none;
+}
+.dijit_a11y .dojoxGrid-rowbar-selected .dojoxGrid-rowbar-inner {
+	border: 0;
+	border-top: 1px solid white;
+}
+.dijit_a11y .dojoxGrid-row-selected {
+	border-bottom: 1px dashed black;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/nihiloGrid.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/publicEvents.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/publicEvents.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/publicEvents.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/publicEvents.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,182 @@
+/*
+	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.grid.compat._grid.publicEvents"]){
+dojo._hasResource["dojox.grid.compat._grid.publicEvents"]=true;
+dojo.provide("dojox.grid.compat._grid.publicEvents");
+dojox.grid.publicEvents={cellOverClass:"dojoxGrid-cell-over",onKeyEvent:function(e){
+this.dispatchKeyEvent(e);
+},onContentEvent:function(e){
+this.dispatchContentEvent(e);
+},onHeaderEvent:function(e){
+this.dispatchHeaderEvent(e);
+},onStyleRow:function(_4){
+with(_4){
+customClasses+=(odd?" dojoxGrid-row-odd":"")+(selected?" dojoxGrid-row-selected":"")+(over?" dojoxGrid-row-over":"");
+}
+this.focus.styleRow(_4);
+this.edit.styleRow(_4);
+},onKeyDown:function(e){
+if(e.altKey||e.ctrlKey||e.metaKey){
+return;
+}
+var dk=dojo.keys;
+switch(e.keyCode){
+case dk.ESCAPE:
+this.edit.cancel();
+break;
+case dk.ENTER:
+if(!e.shiftKey){
+var _7=this.edit.isEditing();
+this.edit.apply();
+if(!_7){
+this.edit.setEditCell(this.focus.cell,this.focus.rowIndex);
+}
+}
+break;
+case dk.TAB:
+this.focus[e.shiftKey?"previousKey":"nextKey"](e);
+break;
+case dk.LEFT_ARROW:
+case dk.RIGHT_ARROW:
+if(!this.edit.isEditing()){
+dojo.stopEvent(e);
+var _8=(e.keyCode==dk.LEFT_ARROW)?1:-1;
+if(dojo._isBodyLtr()){
+_8*=-1;
+}
+this.focus.move(0,_8);
+}
+break;
+case dk.UP_ARROW:
+if(!this.edit.isEditing()&&this.focus.rowIndex!=0){
+dojo.stopEvent(e);
+this.focus.move(-1,0);
+}
+break;
+case dk.DOWN_ARROW:
+if(!this.edit.isEditing()&&this.focus.rowIndex+1!=this.model.count){
+dojo.stopEvent(e);
+this.focus.move(1,0);
+}
+break;
+case dk.PAGE_UP:
+if(!this.edit.isEditing()&&this.focus.rowIndex!=0){
+dojo.stopEvent(e);
+if(this.focus.rowIndex!=this.scroller.firstVisibleRow+1){
+this.focus.move(this.scroller.firstVisibleRow-this.focus.rowIndex,0);
+}else{
+this.setScrollTop(this.scroller.findScrollTop(this.focus.rowIndex-1));
+this.focus.move(this.scroller.firstVisibleRow-this.scroller.lastVisibleRow+1,0);
+}
+}
+break;
+case dk.PAGE_DOWN:
+if(!this.edit.isEditing()&&this.focus.rowIndex+1!=this.model.count){
+dojo.stopEvent(e);
+if(this.focus.rowIndex!=this.scroller.lastVisibleRow-1){
+this.focus.move(this.scroller.lastVisibleRow-this.focus.rowIndex-1,0);
+}else{
+this.setScrollTop(this.scroller.findScrollTop(this.focus.rowIndex+1));
+this.focus.move(this.scroller.lastVisibleRow-this.scroller.firstVisibleRow-1,0);
+}
+}
+break;
+}
+},onMouseOver:function(e){
+e.rowIndex==-1?this.onHeaderCellMouseOver(e):this.onCellMouseOver(e);
+},onMouseOut:function(e){
+e.rowIndex==-1?this.onHeaderCellMouseOut(e):this.onCellMouseOut(e);
+},onMouseDown:function(e){
+e.rowIndex==-1?this.onHeaderCellMouseDown(e):this.onCellMouseDown(e);
+},onMouseOverRow:function(e){
+if(!this.rows.isOver(e.rowIndex)){
+this.rows.setOverRow(e.rowIndex);
+e.rowIndex==-1?this.onHeaderMouseOver(e):this.onRowMouseOver(e);
+}
+},onMouseOutRow:function(e){
+if(this.rows.isOver(-1)){
+this.onHeaderMouseOut(e);
+}else{
+if(!this.rows.isOver(-2)){
+this.rows.setOverRow(-2);
+this.onRowMouseOut(e);
+}
+}
+},onMouseDownRow:function(e){
+if(e.rowIndex!=-1){
+this.onRowMouseDown(e);
+}
+},onCellMouseOver:function(e){
+dojo.addClass(e.cellNode,this.cellOverClass);
+},onCellMouseOut:function(e){
+dojo.removeClass(e.cellNode,this.cellOverClass);
+},onCellMouseDown:function(e){
+},onCellClick:function(e){
+this._click[0]=this._click[1];
+this._click[1]=e;
+if(!this.edit.isEditCell(e.rowIndex,e.cellIndex)){
+this.focus.setFocusCell(e.cell,e.rowIndex);
+}
+this.onRowClick(e);
+},onCellDblClick:function(e){
+if(dojo.isIE){
+this.edit.setEditCell(this._click[1].cell,this._click[1].rowIndex);
+}else{
+if(this._click[0].rowIndex!=this._click[1].rowIndex){
+this.edit.setEditCell(this._click[0].cell,this._click[0].rowIndex);
+}else{
+this.edit.setEditCell(e.cell,e.rowIndex);
+}
+}
+this.onRowDblClick(e);
+},onCellContextMenu:function(e){
+this.onRowContextMenu(e);
+},onCellFocus:function(_15,_16){
+this.edit.cellFocus(_15,_16);
+},onRowClick:function(e){
+this.edit.rowClick(e);
+this.selection.clickSelectEvent(e);
+},onRowDblClick:function(e){
+},onRowMouseOver:function(e){
+},onRowMouseOut:function(e){
+},onRowMouseDown:function(e){
+},onRowContextMenu:function(e){
+dojo.stopEvent(e);
+},onHeaderMouseOver:function(e){
+},onHeaderMouseOut:function(e){
+},onHeaderCellMouseOver:function(e){
+dojo.addClass(e.cellNode,this.cellOverClass);
+},onHeaderCellMouseOut:function(e){
+dojo.removeClass(e.cellNode,this.cellOverClass);
+},onHeaderCellMouseDown:function(e){
+},onHeaderClick:function(e){
+},onHeaderCellClick:function(e){
+this.setSortIndex(e.cell.index);
+this.onHeaderClick(e);
+},onHeaderDblClick:function(e){
+},onHeaderCellDblClick:function(e){
+this.onHeaderDblClick(e);
+},onHeaderCellContextMenu:function(e){
+this.onHeaderContextMenu(e);
+},onHeaderContextMenu:function(e){
+dojo.stopEvent(e);
+},onStartEdit:function(_28,_29){
+},onApplyCellEdit:function(_2a,_2b,_2c){
+},onCancelEdit:function(_2d){
+},onApplyEdit:function(_2e){
+},onCanSelect:function(_2f){
+return true;
+},onCanDeselect:function(_30){
+return true;
+},onSelected:function(_31){
+this.updateRowStyles(_31);
+},onDeselected:function(_32){
+this.updateRowStyles(_32);
+},onSelectionChanged:function(){
+}};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/publicEvents.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rowbar.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rowbar.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rowbar.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rowbar.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,41 @@
+/*
+	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.grid.compat._grid.rowbar"]){
+dojo._hasResource["dojox.grid.compat._grid.rowbar"]=true;
+dojo.provide("dojox.grid.compat._grid.rowbar");
+dojo.require("dojox.grid.compat._grid.view");
+dojo.declare("dojox.GridRowView",dojox.GridView,{defaultWidth:"3em",noscroll:true,padBorderWidth:2,buildRendering:function(){
+this.inherited("buildRendering",arguments);
+this.scrollboxNode.style.overflow="hidden";
+this.headerNode.style.visibility="hidden";
+},getWidth:function(){
+return this.viewWidth||this.defaultWidth;
+},buildRowContent:function(_1,_2){
+var w=this.contentNode.offsetWidth-this.padBorderWidth;
+_2.innerHTML="<table style=\"width:"+w+"px;\" role=\"wairole:presentation\"><tr><td class=\"dojoxGrid-rowbar-inner\"></td></tr></table>";
+},renderHeader:function(){
+},resize:function(){
+this.adaptHeight();
+},adaptWidth:function(){
+},doStyleRowNode:function(_4,_5){
+var n=["dojoxGrid-rowbar"];
+if(this.grid.rows.isOver(_4)){
+n.push("dojoxGrid-rowbar-over");
+}
+if(this.grid.selection.isSelected(_4)){
+n.push("dojoxGrid-rowbar-selected");
+}
+_5.className=n.join(" ");
+},domouseover:function(e){
+this.grid.onMouseOverRow(e);
+},domouseout:function(e){
+if(!this.isIntraRowEvent(e)){
+this.grid.onMouseOutRow(e);
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rowbar.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rows.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rows.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rows.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rows.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,42 @@
+/*
+	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.grid.compat._grid.rows"]){
+dojo._hasResource["dojox.grid.compat._grid.rows"]=true;
+dojo.provide("dojox.grid.compat._grid.rows");
+dojo.declare("dojox.grid.rows",null,{constructor:function(_1){
+this.grid=_1;
+},linesToEms:2,defaultRowHeight:1,overRow:-2,getHeight:function(_2){
+return "";
+},getDefaultHeightPx:function(){
+return 32;
+},prepareStylingRow:function(_3,_4){
+return {index:_3,node:_4,odd:Boolean(_3&1),selected:this.grid.selection.isSelected(_3),over:this.isOver(_3),customStyles:"",customClasses:"dojoxGrid-row"};
+},styleRowNode:function(_5,_6){
+var _7=this.prepareStylingRow(_5,_6);
+this.grid.onStyleRow(_7);
+this.applyStyles(_7);
+},applyStyles:function(_8){
+with(_8){
+node.className=customClasses;
+var h=node.style.height;
+dojox.grid.setStyleText(node,customStyles+";"+(node._style||""));
+node.style.height=h;
+}
+},updateStyles:function(_a){
+this.grid.updateRowStyles(_a);
+},setOverRow:function(_b){
+var _c=this.overRow;
+this.overRow=_b;
+if((_c!=this.overRow)&&(_c>=0)){
+this.updateStyles(_c);
+}
+this.updateStyles(this.overRow);
+},isOver:function(_d){
+return (this.overRow==_d);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/grid/compat/_grid/rows.js
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message