camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r755922 [3/5] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: widget/ widget/Calendar/ widget/ColorPicker/ widget/ColorPicker/images/ widget/Dialog/ widget/Dialog/images/ widget/DocTester/ widget/FilePicker/ widget/FilePick...
Date Thu, 19 Mar 2009 11:13:15 GMT
Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Roller.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Roller.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Roller.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Roller.js Thu Mar 19 11:13:08 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.widget.Roller"]){
+dojo._hasResource["dojox.widget.Roller"]=true;
+dojo.provide("dojox.widget.Roller");
+dojo.require("dijit._Widget");
+dojo.declare("dojox.widget.Roller",dijit._Widget,{delay:2000,autoStart:true,itemSelector:"> li",durationIn:400,durationOut:275,_idx:-1,postCreate:function(){
+if(!this["items"]){
+this.items=[];
+}
+dojo.addClass(this.domNode,"dojoxRoller");
+dojo.query(this.itemSelector,this.domNode).forEach(function(_1,i){
+this.items.push(_1.innerHTML);
+if(i==0){
+this._roller=_1;
+this._idx=0;
+}else{
+dojo.destroy(_1);
+}
+},this);
+if(!this._roller){
+this._roller=dojo.create("li",null,this.domNode);
+}
+this.makeAnims();
+if(this.autoStart){
+this.start();
+}
+},makeAnims:function(){
+var n=this.domNode;
+dojo.mixin(this,{_anim:{"in":dojo.fadeIn({node:n,duration:this.durationIn}),"out":dojo.fadeOut({node:n,duration:this.durationOut})}});
+this._setupConnects();
+},_setupConnects:function(){
+var _4=this._anim;
+this.connect(_4["out"],"onEnd",function(){
+this._set(this._idx+1);
+_4["in"].play(15);
+});
+this.connect(_4["in"],"onEnd",function(){
+this._timeout=setTimeout(dojo.hitch(this,"_run"),this.delay);
+});
+},start:function(){
+if(!this.rolling){
+this.rolling=true;
+this._run();
+}
+},_run:function(){
+this._anim["out"].gotoPercent(0,true);
+},stop:function(){
+this.rolling=false;
+var m=this._anim,t=this._timeout;
+if(t){
+clearTimeout(t);
+}
+m["in"].stop();
+m["out"].stop();
+},_set:function(i){
+var l=this.items.length-1;
+if(i<0){
+i=l;
+}
+if(i>l){
+i=0;
+}
+this._roller.innerHTML=this.items[i]||"error!";
+this._idx=i;
+}});
+dojo.declare("dojox.widget.RollerSlide",dojox.widget.Roller,{durationOut:175,makeAnims:function(){
+var n=this.domNode,_a="position",_b={top:{end:0,start:25},opacity:1};
+dojo.style(n,_a,"relative");
+dojo.style(this._roller,_a,"absolute");
+dojo.mixin(this,{_anim:{"in":dojo.animateProperty({node:n,duration:this.durationIn,properties:_b}),"out":dojo.fadeOut({node:n,duration:this.durationOut})}});
+this._setupConnects();
+}});
+dojo.declare("dojox.widget._RollerHover",null,{postCreate:function(){
+this.inherited(arguments);
+this.connect(this.domNode,"onmouseenter","stop");
+this.connect(this.domNode,"onmouseleave","start");
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,914 @@
+/*
+	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.widget.RollingList"]){
+dojo._hasResource["dojox.widget.RollingList"]=true;
+dojo.provide("dojox.widget.RollingList");
+dojo.experimental("dojox.widget.RollingList");
+dojo.require("dijit._Templated");
+dojo.require("dijit.layout.ContentPane");
+dojo.require("dijit.layout._LayoutWidget");
+dojo.require("dijit.Menu");
+dojo.require("dojox.html.metrics");
+dojo.require("dijit.form.Button");
+dojo.require("dojo.i18n");
+dojo.requireLocalization("dojox.widget","RollingList",null,"ROOT");
+dojo.requireLocalization("dijit","common",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
+dojo.declare("dojox.widget._RollingListPane",[dijit.layout.ContentPane,dijit._Templated],{templateString:"<div class=\"dojoxRollingListPane\"><table><tbody><tr><td dojoAttachPoint=\"containerNode\"></td></tr></tbody></div>",parentWidget:null,parentPane:null,store:null,items:null,query:null,queryOptions:null,_focusByNode:true,minWidth:0,_setContentAndScroll:function(_1,_2){
+this._setContent(_1,_2);
+this.parentWidget.scrollIntoView(this);
+},_updateNodeWidth:function(n,_4){
+n.style.width="";
+var _5=dojo.marginBox(n).w;
+if(_5<_4){
+dojo.marginBox(n,{w:_4});
+}
+},_onMinWidthChange:function(v){
+this._updateNodeWidth(this.domNode,v);
+},_setMinWidthAttr:function(v){
+if(v!==this.minWidth){
+this.minWidth=v;
+this._onMinWidthChange(v);
+}
+},startup:function(){
+if(this._started){
+return;
+}
+if(this.store&&this.store.getFeatures()["dojo.data.api.Notification"]){
+window.setTimeout(dojo.hitch(this,function(){
+this.connect(this.store,"onSet","_onSetItem");
+this.connect(this.store,"onNew","_onNewItem");
+this.connect(this.store,"onDelete","_onDeleteItem");
+}),1);
+}
+this.connect(this.focusNode||this.domNode,"onkeypress","_focusKey");
+this.parentWidget._updateClass(this.domNode,"Pane");
+this.inherited(arguments);
+this._onMinWidthChange(this.minWidth);
+},_focusKey:function(e){
+if(e.charOrCode==dojo.keys.BACKSPACE){
+dojo.stopEvent(e);
+return;
+}else{
+if(e.charOrCode==dojo.keys.LEFT_ARROW&&this.parentPane){
+this.parentPane.focus();
+this.parentWidget.scrollIntoView(this.parentPane);
+}else{
+if(e.charOrCode==dojo.keys.ENTER){
+this.parentWidget._onExecute();
+}
+}
+}
+},focus:function(_9){
+if(this.parentWidget._focusedPane!=this){
+this.parentWidget._focusedPane=this;
+this.parentWidget.scrollIntoView(this);
+if(this._focusByNode&&(!this.parentWidget._savedFocus||_9)){
+try{
+(this.focusNode||this.domNode).focus();
+}
+catch(e){
+}
+}
+}
+},_loadCheck:function(){
+if(!this._started){
+var c=this.connect(this,"startup",function(){
+this.disconnect(c);
+this._loadCheck();
+});
+}
+var _b=this.domNode&&this._isShown();
+if((this.store||this.items)&&((this.refreshOnShow&&_b)||(!this.isLoaded&&_b))){
+this._loadQuery();
+}
+},_loadQuery:function(){
+this.isLoaded=false;
+if(this.items){
+this._setContentAndScroll(this.onLoadStart(),true);
+window.setTimeout(dojo.hitch(this,"_doQuery"),1);
+}else{
+this._doQuery();
+}
+},_doLoadItems:function(_c,_d){
+var _e=0,_f=this.store;
+dojo.forEach(_c,function(_10){
+if(!_f.isItemLoaded(_10)){
+_e++;
+}
+});
+if(_e===0){
+_d();
+}else{
+var _11=function(_12){
+_e--;
+if((_e)===0){
+_d();
+}
+};
+dojo.forEach(_c,function(_13){
+if(!_f.isItemLoaded(_13)){
+_f.loadItem({item:_13,onItem:_11});
+}
+});
+}
+},_doQuery:function(){
+var _14=this.parentWidget.preloadItems;
+_14=(_14===true||(this.items&&this.items.length<=Number(_14)));
+if(this.items&&_14){
+this._doLoadItems(this.items,dojo.hitch(this,"onItems"));
+}else{
+if(this.items){
+this.onItems();
+}else{
+this._setContentAndScroll(this.onFetchStart(),true);
+this.store.fetch({query:this.query,onComplete:function(_15){
+this.items=_15;
+this.onItems();
+},onError:function(e){
+this._onError("Fetch",e);
+},scope:this});
+}
+}
+},_hasItem:function(_17){
+var _18=this.items||[];
+for(var i=0,_1a;(_1a=_18[i]);i++){
+if(this.parentWidget._itemsMatch(_1a,_17)){
+return true;
+}
+}
+return false;
+},_onSetItem:function(_1b,_1c,_1d,_1e){
+if(this._hasItem(_1b)){
+this._loadCheck(true);
+}
+},_onNewItem:function(_1f,_20){
+var sel;
+if((!_20&&!this.parentPane)||(_20&&this.parentPane&&this.parentPane._hasItem(_20.item)&&(sel=this.parentPane._getSelected())&&this.parentWidget._itemsMatch(sel.item,_20.item))){
+this.items.push(_1f);
+this._loadCheck(true);
+}else{
+if(_20&&this.parentPane&&this._hasItem(_20.item)){
+this._loadCheck(true);
+}
+}
+},_onDeleteItem:function(_22){
+if(this._hasItem(_22)){
+this.items=dojo.filter(this.items,function(i){
+return (i!=_22);
+});
+this._loadCheck(true);
+}
+},onFetchStart:function(){
+return this.loadingMessage;
+},onFetchError:function(_24){
+return this.errorMessage;
+},onLoadStart:function(){
+return this.loadingMessage;
+},onLoadError:function(_25){
+return this.errorMessage;
+},onItems:function(){
+this._onLoadHandler();
+}});
+dojo.declare("dojox.widget._RollingListGroupPane",[dojox.widget._RollingListPane],{templateString:"<div><div dojoAttachPoint=\"containerNode\"></div>"+"<div dojoAttachPoint=\"menuContainer\">"+"<div dojoAttachPoint=\"menuNode\"></div>"+"</div></div>",_menu:null,_loadCheck:function(){
+var _26=this._isShown();
+if((this.store||this.items)&&((this.refreshOnShow&&_26)||(!this.isLoaded&&_26))){
+this._loadQuery();
+}
+},_setContent:function(_27){
+if(!this._menu){
+this.inherited(arguments);
+}
+},_onMinWidthChange:function(v){
+if(!this._menu){
+return;
+}
+var _29=dojo.marginBox(this.domNode).w;
+var _2a=dojo.marginBox(this._menu.domNode).w;
+this._updateNodeWidth(this._menu.domNode,v-(_29-_2a));
+},onItems:function(){
+var _2b,_2c=false;
+if(this._menu){
+_2b=this._getSelected();
+this._menu.destroyRecursive();
+}
+this._menu=this._getMenu();
+var _2d,_2e;
+if(this.items.length){
+dojo.forEach(this.items,function(_2f){
+_2d=this.parentWidget._getMenuItemForItem(_2f,this);
+if(_2d){
+if(_2b&&this.parentWidget._itemsMatch(_2d.item,_2b.item)){
+_2e=_2d;
+}
+this._menu.addChild(_2d);
+}
+},this);
+}else{
+_2d=this.parentWidget._getMenuItemForItem(null,this);
+if(_2d){
+this._menu.addChild(_2d);
+}
+}
+if(_2e){
+this._setSelected(_2e);
+if((_2b&&!_2b.children&&_2e.children)||(_2b&&_2b.children&&!_2e.children)){
+var _30=this.parentWidget._getPaneForItem(_2e.item,this,_2e.children);
+if(_30){
+this.parentWidget.addChild(_30,this.getIndexInParent()+1);
+}else{
+this.parentWidget._removeAfter(this);
+this.parentWidget._onItemClick(null,this,_2e.item,_2e.children);
+}
+}
+}else{
+if(_2b){
+this.parentWidget._removeAfter(this);
+}
+}
+this.containerNode.innerHTML="";
+this.containerNode.appendChild(this._menu.domNode);
+this.parentWidget.scrollIntoView(this);
+this._checkScrollConnection(true);
+this.inherited(arguments);
+this._onMinWidthChange(this.minWidth);
+},_checkScrollConnection:function(_31){
+var _32=this.store;
+if(this._scrollConn){
+this.disconnect(this._scrollConn);
+}
+delete this._scrollConn;
+if(!dojo.every(this.items,function(i){
+return _32.isItemLoaded(i);
+})){
+if(_31){
+this._loadVisibleItems();
+}
+this._scrollConn=this.connect(this.domNode,"onscroll","_onScrollPane");
+}
+},startup:function(){
+this.inherited(arguments);
+this.parentWidget._updateClass(this.domNode,"GroupPane");
+},focus:function(_34){
+if(this._menu){
+if(this._pendingFocus){
+this.disconnect(this._pendingFocus);
+}
+delete this._pendingFocus;
+var _35=this._menu.focusedChild;
+if(!_35){
+var _36=dojo.query(".dojoxRollingListItemSelected",this.domNode)[0];
+if(_36){
+_35=dijit.byNode(_36);
+}
+}
+if(!_35){
+_35=this._menu.getChildren()[0]||this._menu;
+}
+this._focusByNode=false;
+if(_35.focusNode){
+if(!this.parentWidget._savedFocus||_34){
+try{
+_35.focusNode.focus();
+}
+catch(e){
+}
+}
+window.setTimeout(function(){
+try{
+dijit.scrollIntoView(_35.focusNode);
+}
+catch(e){
+}
+},1);
+}else{
+if(_35.focus){
+if(!this.parentWidget._savedFocus||_34){
+_35.focus();
+}
+}else{
+this._focusByNode=true;
+}
+}
+this.inherited(arguments);
+}else{
+if(!this._pendingFocus){
+this._pendingFocus=this.connect(this,"onItems","focus");
+}
+}
+},_getMenu:function(){
+var _37=this;
+var _38=new dijit.Menu({parentMenu:this.parentPane?this.parentPane._menu:null,onCancel:function(_39){
+if(_37.parentPane){
+_37.parentPane.focus(true);
+}
+},_moveToPopup:function(evt){
+if(this.focusedChild&&!this.focusedChild.disabled){
+this.focusedChild._onClick(evt);
+}
+}},this.menuNode);
+this.connect(_38,"onItemClick",function(_3b,evt){
+if(_3b.disabled){
+return;
+}
+evt.alreadySelected=dojo.hasClass(_3b.domNode,"dojoxRollingListItemSelected");
+if(evt.alreadySelected&&((evt.type=="keypress"&&evt.charOrCode!=dojo.keys.ENTER)||(evt.type=="internal"))){
+var p=this.parentWidget.getChildren()[this.getIndexInParent()+1];
+if(p){
+p.focus(true);
+this.parentWidget.scrollIntoView(p);
+}
+}else{
+this._setSelected(_3b,_38);
+this.parentWidget._onItemClick(evt,this,_3b.item,_3b.children);
+if(evt.type=="keypress"&&evt.charOrCode==dojo.keys.ENTER){
+this.parentWidget._onExecute();
+}
+}
+});
+if(!_38._started){
+_38.startup();
+}
+return _38;
+},_onScrollPane:function(){
+if(this._visibleLoadPending){
+window.clearTimeout(this._visibleLoadPending);
+}
+this._visibleLoadPending=window.setTimeout(dojo.hitch(this,"_loadVisibleItems"),500);
+},_layoutHack:function(){
+if(dojo.isFF==2&&!this._layoutHackHandle){
+var _3e=this.domNode;
+var old=_3e.style.opacity;
+_3e.style.opacity="0.999";
+this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){
+this._layoutHackHandle=null;
+_3e.style.opacity=old;
+}),0);
+}
+},_loadVisibleItems:function(){
+delete this._visibleLoadPending;
+var _40=this._menu;
+if(!_40){
+return;
+}
+var _41=_40.getChildren();
+if(!_41||!_41.length){
+return;
+}
+var _42=function(n,m,pb){
+var s=dojo.getComputedStyle(n);
+var r=0;
+if(m){
+r+=dojo._getMarginExtents(n,s).t;
+}
+if(pb){
+r+=dojo._getPadBorderExtents(n,s).t;
+}
+return r;
+};
+var _48=_42(this.domNode,false,true)+_42(this.containerNode,true,true)+_42(_40.domNode,true,true)+_42(_41[0].domNode,true,false);
+var h=dojo.contentBox(this.domNode).h;
+var _4a=this.domNode.scrollTop-_48-(h/2);
+var _4b=_4a+(3*h/2);
+var _4c=dojo.filter(_41,function(c){
+var cnt=c.domNode.offsetTop;
+var s=c.store;
+var i=c.item;
+return (cnt>=_4a&&cnt<=_4b&&!s.isItemLoaded(i));
+});
+var _51=dojo.map(_4c,function(c){
+return c.item;
+});
+var _53=dojo.hitch(this,function(){
+var _54=this._getSelected();
+var _55;
+dojo.forEach(_51,function(_56,idx){
+var _58=this.parentWidget._getMenuItemForItem(_56,this);
+var _59=_4c[idx];
+var _5a=_59.getIndexInParent();
+_40.removeChild(_59);
+if(_58){
+if(_54&&this.parentWidget._itemsMatch(_58.item,_54.item)){
+_55=_58;
+}
+_40.addChild(_58,_5a);
+if(_40.focusedChild==_59){
+_40.focusChild(_58);
+}
+}
+_59.destroy();
+},this);
+this._checkScrollConnection(false);
+this._layoutHack();
+});
+this._doLoadItems(_51,_53);
+},_getSelected:function(_5b){
+if(!_5b){
+_5b=this._menu;
+}
+if(_5b){
+var _5c=this._menu.getChildren();
+for(var i=0,_5e;(_5e=_5c[i]);i++){
+if(dojo.hasClass(_5e.domNode,"dojoxRollingListItemSelected")){
+return _5e;
+}
+}
+}
+return null;
+},_setSelected:function(_5f,_60){
+if(!_60){
+_60=this._menu;
+}
+if(_60){
+dojo.forEach(_60.getChildren(),function(i){
+this.parentWidget._updateClass(i.domNode,"Item",{"Selected":(_5f&&(i==_5f&&!i.disabled))});
+},this);
+}
+},destroy:function(){
+if(this._layoutHackHandle){
+clearTimeout(this._layoutHackHandle);
+}
+this.inherited(arguments);
+}});
+dojo.declare("dojox.widget.RollingList",[dijit._Widget,dijit._Templated,dijit._Container],{templateString:"<div class=\"dojoxRollingList ${className}\"\n\t><div class=\"dojoxRollingListContainer\" dojoAttachPoint=\"containerNode\" dojoAttachEvent=\"onkeypress:_onKey\"\n\t></div\n\t><div class=\"dojoxRollingListButtons\" dojoAttachPoint=\"buttonsNode\"\n        ><button dojoType=\"dijit.form.Button\" dojoAttachPoint=\"okButton\"\n\t\t\t\tdojoAttachEvent=\"onClick:_onExecute\">${okButtonLabel}</button\n        ><button dojoType=\"dijit.form.Button\" dojoAttachPoint=\"cancelButton\"\n\t\t\t\tdojoAttachEvent=\"onClick:_onCancel\">${cancelButtonLabel}</button\n\t></div\n></div>\n",widgetsInTemplate:true,className:"",store:null,query:null,queryOptions:null,childrenAttrs:["children"],parentAttr:"",value:null,executeOnDblClick:true,preloadItems:false,showButtons:false,okButtonLabel:"",cancelButtonLabel:"",minPaneWidth:0,postMixInProperties:function(){
+this.inherited(arguments);
+var loc=dojo.i18n.getLocalization("dijit","common");
+this.okButtonLabel=this.okButtonLabel||loc.buttonOk;
+this.cancelButtonLabel=this.cancelButtonLabel||loc.buttonCancel;
+},_setShowButtonsAttr:function(_63){
+var _64=false;
+if((this.showButtons!=_63&&this._started)||(this.showButtons==_63&&!this.started)){
+_64=true;
+}
+dojo.toggleClass(this.domNode,"dojoxRollingListButtonsHidden",!_63);
+this.showButtons=_63;
+if(_64){
+if(this._started){
+this.layout();
+}else{
+window.setTimeout(dojo.hitch(this,"layout"),0);
+}
+}
+},_itemsMatch:function(_65,_66){
+if(!_65&&!_66){
+return true;
+}else{
+if(!_65||!_66){
+return false;
+}
+}
+return (_65==_66||(this._isIdentity&&this.store.getIdentity(_65)==this.store.getIdentity(_66)));
+},_removeAfter:function(idx){
+if(typeof idx!="number"){
+idx=this.getIndexOfChild(idx);
+}
+if(idx>=0){
+dojo.forEach(this.getChildren(),function(c,i){
+if(i>idx){
+this.removeChild(c);
+c.destroyRecursive();
+}
+},this);
+}
+var _6a=this.getChildren(),_6b=_6a[_6a.length-1];
+var _6c=null;
+while(_6b&&!_6c){
+var val=_6b._getSelected?_6b._getSelected():null;
+if(val){
+_6c=val.item;
+}
+_6b=_6b.parentPane;
+}
+if(!this._setInProgress){
+this._setValue(_6c);
+}
+},addChild:function(_6e,_6f){
+if(_6f>0){
+this._removeAfter(_6f-1);
+}
+this.inherited(arguments);
+if(!_6e._started){
+_6e.startup();
+}
+_6e.attr("minWidth",this.minPaneWidth);
+this.layout();
+if(!this._savedFocus){
+_6e.focus();
+}
+},_setMinPaneWidthAttr:function(_70){
+if(_70!==this.minPaneWidth){
+this.minPaneWidth=_70;
+dojo.forEach(this.getChildren(),function(c){
+c.attr("minWidth",_70);
+});
+}
+},_updateClass:function(_72,_73,_74){
+if(!this._declaredClasses){
+this._declaredClasses=("dojoxRollingList "+this.className).split(" ");
+}
+dojo.forEach(this._declaredClasses,function(c){
+if(c){
+dojo.addClass(_72,c+_73);
+for(var k in _74||{}){
+dojo.toggleClass(_72,c+_73+k,_74[k]);
+}
+dojo.toggleClass(_72,c+_73+"FocusSelected",(dojo.hasClass(_72,c+_73+"Focus")&&dojo.hasClass(_72,c+_73+"Selected")));
+dojo.toggleClass(_72,c+_73+"HoverSelected",(dojo.hasClass(_72,c+_73+"Hover")&&dojo.hasClass(_72,c+_73+"Selected")));
+}
+});
+},scrollIntoView:function(_77){
+if(this._scrollingTimeout){
+window.clearTimeout(this._scrollingTimeout);
+}
+delete this._scrollingTimeout;
+this._scrollingTimeout=window.setTimeout(dojo.hitch(this,function(){
+if(_77.domNode){
+dijit.scrollIntoView(_77.domNode);
+}
+delete this._scrollingTimeout;
+return;
+}),1);
+},resize:function(_78){
+dijit.layout._LayoutWidget.prototype.resize.call(this,_78);
+},layout:function(){
+var _79=this.getChildren();
+if(this._contentBox){
+var bn=this.buttonsNode;
+var _7b=this._contentBox.h-dojo.marginBox(bn).h-dojox.html.metrics.getScrollbar().h;
+dojo.forEach(_79,function(c){
+dojo.marginBox(c.domNode,{h:_7b});
+});
+}
+if(this._focusedPane){
+var foc=this._focusedPane;
+delete this._focusedPane;
+if(!this._savedFocus){
+foc.focus();
+}
+}else{
+if(_79&&_79.length){
+if(!this._savedFocus){
+_79[0].focus();
+}
+}
+}
+},_onChange:function(_7e){
+this.onChange(_7e);
+},_setValue:function(_7f){
+delete this._setInProgress;
+if(!this._itemsMatch(this.value,_7f)){
+this.value=_7f;
+this._onChange(_7f);
+}
+},_setValueAttr:function(_80){
+if(this._itemsMatch(this.value,_80)&&!_80){
+return;
+}
+if(this._setInProgress&&this._setInProgress===_80){
+return;
+}
+this._setInProgress=_80;
+if(!_80||!this.store.isItem(_80)){
+var _81=this.getChildren()[0];
+_81._setSelected(null);
+this._onItemClick(null,_81,null,null);
+return;
+}
+var _82=dojo.hitch(this,function(_83,_84){
+var _85=this.store,id;
+if(this.parentAttr&&_85.getFeatures()["dojo.data.api.Identity"]&&((id=this.store.getValue(_83,this.parentAttr))||id==="")){
+var cb=function(i){
+if(_85.getIdentity(i)==_85.getIdentity(_83)){
+_84(null);
+}else{
+_84([i]);
+}
+};
+if(id===""){
+_84(null);
+}else{
+if(typeof id=="string"){
+_85.fetchItemByIdentity({identity:id,onItem:cb});
+}else{
+if(_85.isItem(id)){
+cb(id);
+}
+}
+}
+}else{
+var _89=this.childrenAttrs.length;
+var _8a=[];
+dojo.forEach(this.childrenAttrs,function(_8b){
+var q={};
+q[_8b]=_83;
+_85.fetch({query:q,scope:this,onComplete:function(_8d){
+if(this._setInProgress!==_80){
+return;
+}
+_8a=_8a.concat(_8d);
+_89--;
+if(_89===0){
+_84(_8a);
+}
+}});
+},this);
+}
+});
+var _8e=dojo.hitch(this,function(_8f,idx){
+var set=_8f[idx];
+var _92=this.getChildren()[idx];
+var _93;
+if(set&&_92){
+var fx=dojo.hitch(this,function(){
+if(_93){
+this.disconnect(_93);
+}
+delete _93;
+if(this._setInProgress!==_80){
+return;
+}
+var _95=dojo.filter(_92._menu.getChildren(),function(i){
+return this._itemsMatch(i.item,set);
+},this)[0];
+if(_95){
+idx++;
+_92._menu.onItemClick(_95,{type:"internal",stopPropagation:function(){
+},preventDefault:function(){
+}});
+if(_8f[idx]){
+_8e(_8f,idx);
+}else{
+this._setValue(set);
+this.onItemClick(set,_92,this.getChildItems(set));
+}
+}
+});
+if(!_92.isLoaded){
+_93=this.connect(_92,"onLoad",fx);
+}else{
+fx();
+}
+}else{
+if(idx===0){
+this.attr("value",null);
+}
+}
+});
+var _97=[];
+var _98=dojo.hitch(this,function(_99){
+if(_99&&_99.length){
+_97.push(_99[0]);
+_82(_99[0],_98);
+}else{
+if(!_99){
+_97.pop();
+}
+_97.reverse();
+_8e(_97,0);
+}
+});
+var ns=this.domNode.style;
+if(ns.display=="none"||ns.visibility=="hidden"){
+this._setValue(_80);
+}else{
+if(!this._itemsMatch(_80,this._visibleItem)){
+_98([_80]);
+}
+}
+},_onItemClick:function(evt,_9c,_9d,_9e){
+if(evt){
+var _9f=this._getPaneForItem(_9d,_9c,_9e);
+var _a0=(evt.type=="click"&&evt.alreadySelected);
+if(_a0&&_9f){
+this._removeAfter(_9c.getIndexInParent()+1);
+var _a1=_9c.getNextSibling();
+if(_a1&&_a1._setSelected){
+_a1._setSelected(null);
+}
+this.scrollIntoView(_a1);
+}else{
+if(_9f){
+this.addChild(_9f,_9c.getIndexInParent()+1);
+if(this._savedFocus){
+_9f.focus(true);
+}
+}else{
+this._removeAfter(_9c);
+this.scrollIntoView(_9c);
+}
+}
+}else{
+if(_9c){
+this._removeAfter(_9c);
+this.scrollIntoView(_9c);
+}
+}
+if(!evt||evt.type!="internal"){
+this._setValue(_9d);
+this.onItemClick(_9d,_9c,_9e);
+}
+this._visibleItem=_9d;
+},_getPaneForItem:function(_a2,_a3,_a4){
+var ret=this.getPaneForItem(_a2,_a3,_a4);
+ret.store=this.store;
+ret.parentWidget=this;
+ret.parentPane=_a3||null;
+if(!_a2){
+ret.query=this.query;
+ret.queryOptions=this.queryOptions;
+}else{
+if(_a4){
+ret.items=_a4;
+}else{
+ret.items=[_a2];
+}
+}
+return ret;
+},_getMenuItemForItem:function(_a6,_a7){
+var _a8=this.store;
+if(!_a6||!_a8||!_a8.isItem(_a6)){
+var i=new dijit.MenuItem({label:dojo.i18n.getLocalization("dojox.widget","RollingList",this.lang).empty,disabled:true,iconClass:"dojoxEmpty",focus:function(){
+}});
+this._updateClass(i.domNode,"Item");
+return i;
+}else{
+var _aa=_a8.isItemLoaded(_a6);
+var _ab=_aa?this.getChildItems(_a6):undefined;
+var _ac;
+if(_ab){
+_ac=this.getMenuItemForItem(_a6,_a7,_ab);
+_ac.children=_ab;
+this._updateClass(_ac.domNode,"Item",{"Expanding":true});
+if(!_ac._started){
+var c=_ac.connect(_ac,"startup",function(){
+this.disconnect(c);
+dojo.style(this.arrowWrapper,"display","");
+});
+}else{
+dojo.style(_ac.arrowWrapper,"display","");
+}
+}else{
+_ac=this.getMenuItemForItem(_a6,_a7,null);
+if(_aa){
+this._updateClass(_ac.domNode,"Item",{"Single":true});
+}else{
+this._updateClass(_ac.domNode,"Item",{"Unloaded":true});
+_ac.attr("disabled",true);
+}
+}
+_ac.store=this.store;
+_ac.item=_a6;
+if(!_ac.label){
+_ac.attr("label",this.store.getLabel(_a6));
+}
+if(_ac.focusNode){
+var _ae=this;
+_ac.focus=function(){
+if(!this.disabled){
+try{
+this.focusNode.focus();
+}
+catch(e){
+}
+}
+};
+_ac.connect(_ac.focusNode,"onmouseenter",function(){
+if(!this.disabled){
+_ae._updateClass(this.domNode,"Item",{"Hover":true});
+}
+});
+_ac.connect(_ac.focusNode,"onmouseleave",function(){
+if(!this.disabled){
+_ae._updateClass(this.domNode,"Item",{"Hover":false});
+}
+});
+_ac.connect(_ac.focusNode,"blur",function(){
+_ae._updateClass(this.domNode,"Item",{"Focus":false,"Hover":false});
+});
+_ac.connect(_ac.focusNode,"focus",function(){
+_ae._updateClass(this.domNode,"Item",{"Focus":true});
+_ae._focusedPane=_a7;
+});
+if(this.executeOnDblClick){
+_ac.connect(_ac.focusNode,"ondblclick",function(){
+_ae._onExecute();
+});
+}
+}
+return _ac;
+}
+},_setStore:function(_af){
+if(_af===this.store&&this._started){
+return;
+}
+this.store=_af;
+this._isIdentity=_af.getFeatures()["dojo.data.api.Identity"];
+var _b0=this._getPaneForItem();
+this.addChild(_b0,0);
+},_onKey:function(e){
+if(e.charOrCode==dojo.keys.BACKSPACE){
+dojo.stopEvent(e);
+return;
+}else{
+if(e.charOrCode==dojo.keys.ESCAPE&&this._savedFocus){
+try{
+dijit.focus(this._savedFocus);
+}
+catch(e){
+}
+dojo.stopEvent(e);
+return;
+}else{
+if(e.charOrCode==dojo.keys.LEFT_ARROW||e.charOrCode==dojo.keys.RIGHT_ARROW){
+dojo.stopEvent(e);
+return;
+}
+}
+}
+},_resetValue:function(){
+this.attr("value",this._lastExecutedValue);
+},_onCancel:function(){
+this._resetValue();
+this.onCancel();
+},_onExecute:function(){
+this._lastExecutedValue=this.attr("value");
+this.onExecute();
+},focus:function(){
+var _b2=this._savedFocus;
+this._savedFocus=dijit.getFocus(this);
+if(!this._savedFocus.node){
+delete this._savedFocus;
+}
+if(!this._focusedPane){
+var _b3=this.getChildren()[0];
+if(_b3&&!_b2){
+_b3.focus(true);
+}
+}else{
+this._savedFocus=dijit.getFocus(this);
+var foc=this._focusedPane;
+delete this._focusedPane;
+if(!_b2){
+foc.focus(true);
+}
+}
+},handleKey:function(e){
+if(e.charOrCode==dojo.keys.DOWN_ARROW){
+delete this._savedFocus;
+this.focus();
+return false;
+}else{
+if(e.charOrCode==dojo.keys.ESCAPE){
+this._onCancel();
+return false;
+}
+}
+return true;
+},_updateChildClasses:function(){
+var _b6=this.getChildren();
+var _b7=_b6.length;
+dojo.forEach(_b6,function(c,idx){
+dojo.toggleClass(c.domNode,"dojoxRollingListPaneCurrentChild",(idx==(_b7-1)));
+dojo.toggleClass(c.domNode,"dojoxRollingListPaneCurrentSelected",(idx==(_b7-2)));
+});
+},startup:function(){
+if(this._started){
+return;
+}
+if(!this.getParent||!this.getParent()){
+this.resize();
+this.connect(dojo.global,"onresize","resize");
+}
+this.connect(this,"addChild","_updateChildClasses");
+this.connect(this,"removeChild","_updateChildClasses");
+this._setStore(this.store);
+this.attr("showButtons",this.showButtons);
+this.inherited(arguments);
+this._lastExecutedValue=this.attr("value");
+},getChildItems:function(_ba){
+var _bb,_bc=this.store;
+dojo.forEach(this.childrenAttrs,function(_bd){
+var _be=_bc.getValues(_ba,_bd);
+if(_be&&_be.length){
+_bb=(_bb||[]).concat(_be);
+}
+});
+return _bb;
+},getMenuItemForItem:function(_bf,_c0,_c1){
+return new dijit.MenuItem({});
+},getPaneForItem:function(_c2,_c3,_c4){
+if(!_c2||_c4){
+return new dojox.widget._RollingListGroupPane({});
+}else{
+return null;
+}
+},onItemClick:function(_c5,_c6,_c7){
+},onExecute:function(){
+},onCancel:function(){
+},onChange:function(_c8){
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,140 @@
+.dojoxRollingList {
+	border: 1px solid #000;
+	height: 20em;
+	background-color: #FFF;
+	position: relative;
+}
+.dijitPopup .dojoxRollingList {
+	position: static;
+}
+.dojoxRollingListContainer {
+	overflow: scroll;
+	overflow-y: hidden;
+	overflow-x: scroll;
+	white-space: nowrap;
+}
+.dojoxRollingListButtons {
+	position: absolute;
+	right: 5px;
+	padding: 5px 0px;
+}
+.dojoxRollingListButtonsHidden .dojoxRollingListButtons {
+	display: none;
+}
+.dojoxRollingListPane {
+	overflow: scroll;
+	overflow-x: hidden;
+	overflow-y: scroll;
+	display:-moz-inline-box;		
+	display:inline-block;			
+	#zoom: 1; 
+	#display:inline; 
+	border:0;
+	padding:0;
+	vertical-align:middle;
+	#vertical-align: auto;	
+}
+.dojoxRollingListPane .dijitMenuItem td {
+	width: 1px;
+}
+.dojoxRollingListPane .dijitMenuItem td.dijitMenuItemLabel {
+	width: auto;
+}
+.dojoxRollingListPane .dijitMenuItemLabel,
+.dojoxRollingListPane .dijitMenuItemIcon {
+	position: static !important;
+}
+.dj_webkit .dojoxRollingListPane,
+.dj_ie .dojoxRollingListPane {
+	padding-right: 15px; 
+}
+.dojoxRollingListPane .dijitMenu {
+	border: none !important;
+}
+.dojoxRollingListItem {
+	cursor: default;
+}
+.tundra .dojoxRollingList {
+	border-color: #b3b3b3;
+}
+.tundra .dijitPopup .dojoxRollingList {
+	border-color: #406b9b;
+}
+.tundra .dojoxRollingListPane {
+	background-color: #f7f7f7;
+}
+.tundra .dojoxRollingListPane .dojoxRollingListItemHover,
+.tundra .dojoxRollingListPane .dojoxRollingListItemFocus {
+	background-color: #e3e3e3;
+}
+.tundra .dojoxRollingListPane .dojoxRollingListItemSelected {
+	color: #fff;
+	background-color: #999;
+	font-weight: bold;
+}
+.tundra .dojoxRollingListPaneCurrentSelected .dojoxRollingListItemSelected {
+	background-color: #3559ac;
+}
+.tundra .dojoxRollingListPane .dojoxRollingListItemHoverSelected,
+.tundra .dojoxRollingListPane .dojoxRollingListItemFocusSelected {
+	background-color: #9aacd6;
+}
+.tundra .dojoxRollingListItem {
+	font-family: inherit;
+}
+.soria .dojoxRollingList {
+	border-color: #8ba0bd;
+}
+.soria .dijitPopup .dojoxRollingList {
+	border-color: #406b9b;
+}
+.soria .dojoxRollingListPane {
+	background-color: #fff;
+}
+.soria .dojoxRollingListPane .dojoxRollingListItemHover, 
+.soria .dojoxRollingListPane .dojoxRollingListItemFocus {
+	background-color: #e3e3e3;
+}
+.soria .dojoxRollingListPane .dojoxRollingListItemSelected {
+	color: #243C5F;
+	background-color: #ccc;
+	font-weight: bold;
+}
+.soria .dojoxRollingListPaneCurrentSelected .dojoxRollingListItemSelected {
+	background-color: #d9e6f9;
+}
+.soria .dojoxRollingListPane .dojoxRollingListItemHoverSelected,
+.soria .dojoxRollingListPane .dojoxRollingListItemFocusSelected {
+	background-color: #ecf3fc;
+}
+.soria .dojoxRollingListItem {
+	font-family: inherit;
+}
+.nihilo .dojoxRollingList {
+	border-color: #d3d3d3;
+}
+.nihilo .dijitPopup .dojoxRollingList {
+	border-color: #b3b3b3;
+}
+.nihilo .dojoxRollingListPane {
+	background-color: #fff;
+}
+.nihilo .dojoxRollingListPane .dojoxRollingListItemHover,
+.nihilo .dojoxRollingListPane .dojoxRollingListItemFocus {
+	background-color: #e3e3e3;
+}
+.nihilo .dojoxRollingListPane .dojoxRollingListItemSelected {
+	color: #243C5F;
+	background-color: #ccc;
+	font-weight: bold;
+}
+.nihilo .dojoxRollingListPaneCurrentSelected .dojoxRollingListItemSelected {
+	background-color: #ffe284;
+}
+.nihilo .dojoxRollingListPane .dojoxRollingListItemHoverSelected,
+.nihilo .dojoxRollingListPane .dojoxRollingListItemFocusSelected {
+	background-color: #fff1c2;
+}
+.nihilo .dojoxRollingListItem {
+	font-family: inherit;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,10 @@
+<div class="dojoxRollingList ${className}"
+	><div class="dojoxRollingListContainer" dojoAttachPoint="containerNode" dojoAttachEvent="onkeypress:_onKey"
+	></div
+	><div class="dojoxRollingListButtons" dojoAttachPoint="buttonsNode"
+        ><button dojoType="dijit.form.Button" dojoAttachPoint="okButton"
+				dojoAttachEvent="onClick:_onExecute">${okButtonLabel}</button
+        ><button dojoType="dijit.form.Button" dojoAttachPoint="cancelButton"
+				dojoAttachEvent="onClick:_onCancel">${cancelButtonLabel}</button
+	></div
+></div>

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,86 @@
+/*
+	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.widget.SortList"]){
+dojo._hasResource["dojox.widget.SortList"]=true;
+dojo.provide("dojox.widget.SortList");
+dojo.experimental("dojox.widget.SortList");
+dojo.require("dijit.layout._LayoutWidget");
+dojo.require("dijit._Templated");
+dojo.declare("dojox.widget.SortList",[dijit.layout._LayoutWidget,dijit._Templated],{title:"",heading:"",descending:true,selected:null,sortable:true,store:"",key:"name",baseClass:"dojoxSortList",templateString:"<div class=\"sortList\" id=\"${id}\">\n\t\t<div class=\"sortListTitle\" dojoAttachPoint=\"titleNode\">\n\t\t<div class=\"dijitInline sortListIcon\">&thinsp;</div>\n\t\t<span dojoAttachPoint=\"focusNode\">${title}</span>\n\t\t</div>\n\t\t<div class=\"sortListBodyWrapper\" dojoAttachEvent=\"onmouseover: _set, onmouseout: _unset, onclick:_handleClick\" dojoAttachPoint=\"bodyWrapper\">\n\t\t<ul dojoAttachPoint=\"containerNode\" class=\"sortListBody\"></ul>\n\t</div>\n</div>\n",_addItem:function(_1){
+dojo.create("li",{innerHTML:this.store.getValue(_1,this.key)},this.containerNode);
+},postCreate:function(){
+if(this.store){
+this.store=dojo.getObject(this.store);
+var _2={onItem:dojo.hitch(this,"_addItem"),onComplete:dojo.hitch(this,"onSort")};
+this.store.fetch(_2);
+}else{
+this.onSort();
+}
+this.inherited(arguments);
+},startup:function(){
+this.inherited(arguments);
+if(this.heading){
+this.setTitle(this.heading);
+this.title=this.heading;
+}
+setTimeout(dojo.hitch(this,"resize"),5);
+if(this.sortable){
+this.connect(this.titleNode,"onclick","onSort");
+}
+},resize:function(){
+this.inherited(arguments);
+var _3=((this._contentBox.h)-(dojo.style(this.titleNode,"height")))-10;
+this.bodyWrapper.style.height=Math.abs(_3)+"px";
+},onSort:function(e){
+var _5=dojo.query("li",this.domNode);
+if(this.sortable){
+this.descending=!this.descending;
+dojo.addClass(this.titleNode,((this.descending)?"sortListDesc":"sortListAsc"));
+dojo.removeClass(this.titleNode,((this.descending)?"sortListAsc":"sortListDesc"));
+_5.sort(this._sorter);
+if(this.descending){
+_5.reverse();
+}
+}
+var i=0;
+dojo.forEach(_5,function(_7){
+dojo[(i++)%2===0?"addClass":"removeClass"](_7,"sortListItemOdd");
+this.containerNode.appendChild(_7);
+},this);
+},_set:function(e){
+if(e.target!==this.bodyWrapper){
+dojo.addClass(e.target,"sortListItemHover");
+}
+},_unset:function(e){
+dojo.removeClass(e.target,"sortListItemHover");
+},_handleClick:function(e){
+dojo.toggleClass(e.target,"sortListItemSelected");
+e.target.focus();
+this._updateValues(e.target.innerHTML);
+},_updateValues:function(){
+this._selected=dojo.query("li.sortListItemSelected",this.containerNode);
+this.selected=[];
+dojo.forEach(this._selected,function(_b){
+this.selected.push(_b.innerHTML);
+},this);
+this.onChanged(arguments);
+},_sorter:function(a,b){
+var _e=a.innerHTML;
+var _f=b.innerHTML;
+if(_e>_f){
+return 1;
+}
+if(_e<_f){
+return -1;
+}
+return 0;
+},setTitle:function(_10){
+this.focusNode.innerHTML=this.title=_10;
+},onChanged:function(){
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,57 @@
+.sortListBody { margin:0; padding:0; background:#fff; }
+.soria .sortListBody li,
+.tundra .sortListBody li {
+	border-bottom:1px solid #b7b7b7;
+	padding:2px 2px 2px 5px;	
+}
+.sortListTitle {
+	cursor:pointer; 
+	padding:4px 4px 3px 4px;
+}
+.sortList { height:100%; width:100%; }
+.dijitBorderContainer .dojoxSortList { width: auto; height: auto;}
+.sortListBodyWrapper { 
+	border:1px solid #b7b7b7; 
+	overflow:auto; 
+	height:100%; 
+	cursor:pointer;
+} 
+.soria .sortListBodyWrapper {
+	border:1px solid #333; 
+}
+.soria .sortListItemOdd,
+.tundra .sortListItemOdd { background:#f2f5f9; }
+.tundra .sortListTitle {
+	background:#fafafa url('../../../dijit/themes/tundra/images/titleBarBg.gif') repeat-x top left; 
+	border:1px solid #bfbfbf;
+	border-bottom:0;
+}
+.soria .sortListTitle {
+	background:#4f8ce5 url('../../../dijit/themes/soria/images/titleBar.png') repeat-x top left;
+	background-position:0px -1px; 
+	border:1px solid #333; 
+	border-bottom:0;
+	font-weight:bold;
+	color:#fff; 
+}
+.sortListItemSelected { background:#b7cdee !important; }
+.sortListItemHover { background:#ff6 !important; }
+.soria .sortListIcon,
+.tundra .sortListIcon { 
+	float:right;
+	background:url('../../../dijit/themes/tundra/images/spriteArrows.png') no-repeat;
+	width: 7px;
+}
+.tundra .sortListDesc .sortListIcon {
+	background-position: 0px center;
+}
+.tundra .sortListAsc .sortListIcon {
+	background-position: -21px center;
+}
+.soria .sortListDesc .sortListIcon,
+.soria .sortListAsc .sortListIcon {
+	background:url('../../../dijit/themes/soria/images/spriteRoundedIconsSmall.png') no-repeat -15px top;
+}
+.soria .sortListDesc .sortListIcon {
+	background-position:-45px 0px; 
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,9 @@
+<div class="sortList" id="${id}">
+		<div class="sortListTitle" dojoAttachPoint="titleNode">
+		<div class="dijitInline sortListIcon">&thinsp;</div>
+		<span dojoAttachPoint="focusNode">${title}</span>
+		</div>
+		<div class="sortListBodyWrapper" dojoAttachEvent="onmouseover: _set, onmouseout: _unset, onclick:_handleClick" dojoAttachPoint="bodyWrapper">
+		<ul dojoAttachPoint="containerNode" class="sortListBody"></ul>
+	</div>
+</div>
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,138 @@
+/*
+	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.widget.Standby"]){
+dojo._hasResource["dojox.widget.Standby"]=true;
+dojo.provide("dojox.widget.Standby");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dojo.fx");
+dojo.experimental("dojox.widget.Standby");
+dojo.declare("dojox.widget.Standby",[dijit._Widget,dijit._Templated],{templateString:"<div>\n\t<div class=\"standbyUnderlayNode\" dojoAttachPoint=\"_underlayNode\">\n\t</div>\n\t<img src=\"${image}\" class=\"standbyImageNode\" dojoAttachPoint=\"_imageNode\">\n</div>\n\n",_underlayNode:null,_imageNode:null,image:dojo.moduleUrl("dojox","widget/Standby/images/loading.gif").toString(),imageText:"Please Wait...",_displayed:false,_resizeCheck:null,target:"",color:"#C0C0C0",startup:function(_1){
+if(typeof this.target==="string"){
+var w=dijit.byId(this.target);
+if(w){
+this.target=w.domNode;
+}else{
+this.target=dojo.byId(this.target);
+}
+}
+dojo.style(this._underlayNode,"display","none");
+dojo.style(this._imageNode,"display","none");
+dojo.style(this._underlayNode,"backgroundColor",this.color);
+dojo.attr(this._imageNode,"src",this.image);
+dojo.attr(this._imageNode,"alt",this.imageText);
+this.connect(this._underlayNode,"onclick","_ignore");
+if(this.domNode.parentNode&&this.domNode.parentNode!=dojo.body()){
+dojo.body().appendChild(this.domNode);
+}
+},show:function(){
+if(!this._displayed){
+this._displayed=true;
+this._size();
+this._fadeIn();
+}
+},hide:function(){
+if(this._displayed){
+this._size();
+this._fadeOut();
+this._displayed=false;
+if(this._resizeCheck!==null){
+clearInterval(this._resizeCheck);
+this._resizeCheck=null;
+}
+}
+},_size:function(){
+if(this._displayed){
+var _3=dojo.style(this._imageNode,"display");
+dojo.style(this._imageNode,"display","block");
+var _4=dojo.coords(this.target);
+var _5=dojo.marginBox(this._imageNode);
+dojo.style(this._imageNode,"display",_3);
+dojo.style(this._imageNode,"zIndex","10000");
+var _6=dojo._docScroll();
+if(!_6){
+_6={x:0,y:0};
+}
+var _7=dojo.style(this.target,"marginLeft");
+if(dojo.isWebKit&&_7){
+_7=_7*2;
+}
+if(_7){
+_4.w=_4.w-_7;
+}
+if(!dojo.isWebKit){
+var _8=dojo.style(this.target,"marginRight");
+if(_8){
+_4.w=_4.w-_8;
+}
+}
+var _9=dojo.style(this.target,"marginTop");
+if(_9){
+_4.h=_4.h-_9;
+}
+var _a=dojo.style(this.target,"marginBottom");
+if(_a){
+_4.h=_4.h-_a;
+}
+if(_4.h>0&&_4.w>0){
+dojo.style(this._underlayNode,"width",_4.w+"px");
+dojo.style(this._underlayNode,"height",_4.h+"px");
+dojo.style(this._underlayNode,"top",(_4.y+_6.y)+"px");
+dojo.style(this._underlayNode,"left",(_4.x+_6.x)+"px");
+var _b=function(_c,_d){
+dojo.forEach(_c,function(_e){
+dojo.style(this._underlayNode,_e,dojo.style(this.target,_e));
+},_d);
+};
+var _f=["borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"];
+_b(_f,this);
+if(!dojo.isIE){
+_f=["MozBorderRadius","MozBorderRadiusTopleft","MozBorderRadiusTopright","MozBorderRadiusBottomleft","MozBorderRadiusBottomright","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius"];
+_b(_f,this);
+}
+var _10=(_4.h/2)-(_5.h/2);
+var _11=(_4.w/2)-(_5.w/2);
+dojo.style(this._imageNode,"top",(_10+_4.y+_6.y)+"px");
+dojo.style(this._imageNode,"left",(_11+_4.x+_6.x)+"px");
+dojo.style(this._underlayNode,"display","block");
+dojo.style(this._imageNode,"display","block");
+}else{
+dojo.style(this._underlayNode,"display","none");
+dojo.style(this._imageNode,"display","none");
+}
+if(this._resizeCheck===null){
+var _12=this;
+this._resizeCheck=setInterval(function(){
+_12._size();
+},100);
+}
+}
+},_fadeIn:function(){
+var _13=dojo.animateProperty({node:this._underlayNode,properties:{opacity:{start:0,end:0.75}}});
+var _14=dojo.animateProperty({node:this._imageNode,properties:{opacity:{start:0,end:1}}});
+var _15=dojo.fx.combine([_13,_14]);
+_15.play();
+},_fadeOut:function(){
+var _16=this;
+var _17=dojo.animateProperty({node:this._underlayNode,properties:{opacity:{start:0.75,end:0}},onEnd:function(){
+dojo.style(_16._underlayNode,"display","none");
+}});
+var _18=dojo.animateProperty({node:this._imageNode,properties:{opacity:{start:1,end:0}},onEnd:function(){
+dojo.style(_16._imageNode,"display","none");
+}});
+var _19=dojo.fx.combine([_17,_18]);
+_19.play();
+},_ignore:function(_1a){
+if(_1a){
+_1a.preventDefault();
+_1a.stopPropagation();
+}
+},uninitialize:function(){
+this.hide();
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,16 @@
+.standbyUnderlayNode {
+	display: none;
+	opacity: 0;
+	z-index: 9999;
+	position: absolute;
+	cursor:wait;
+}
+.standbyImageNode {
+	opacity: 0;
+        display: none;
+	z-index: -10000;
+	position: absolute;
+	top: 0px;
+	left: 0px;
+	cursor:wait;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,6 @@
+<div>
+	<div class="standbyUnderlayNode" dojoAttachPoint="_underlayNode">
+	</div>
+	<img src="${image}" class="standbyImageNode" dojoAttachPoint="_imageNode">
+</div>
+

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/images/loading.gif
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/images/loading.gif?rev=755922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/images/loading.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,176 @@
+/*
+	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.widget.Toaster"]){
+dojo._hasResource["dojox.widget.Toaster"]=true;
+dojo.provide("dojox.widget.Toaster");
+dojo.require("dojo.fx");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.declare("dojox.widget.Toaster",[dijit._Widget,dijit._Templated],{templateString:"<div dojoAttachPoint=\"clipNode\"><div dojoAttachPoint=\"containerNode\" dojoAttachEvent=\"onclick:onSelect\"><div dojoAttachPoint=\"contentNode\"></div></div></div>",messageTopic:"",messageTypes:{MESSAGE:"message",WARNING:"warning",ERROR:"error",FATAL:"fatal"},defaultType:"message",positionDirection:"br-up",positionDirectionTypes:["br-up","br-left","bl-up","bl-right","tr-down","tr-left","tl-down","tl-right"],duration:2000,slideDuration:500,separator:"<hr></hr>",postCreate:function(){
+this.inherited(arguments);
+this.hide();
+dojo.body().appendChild(this.domNode);
+this.clipNode.className="dijitToasterClip";
+this.containerNode.className+=" dijitToasterContainer";
+this.contentNode.className="dijitToasterContent";
+if(this.messageTopic){
+dojo.subscribe(this.messageTopic,this,"_handleMessage");
+}
+},_handleMessage:function(_1){
+if(dojo.isString(_1)){
+this.setContent(_1);
+}else{
+this.setContent(_1.message,_1.type,_1.duration);
+}
+},_capitalize:function(w){
+return w.substring(0,1).toUpperCase()+w.substring(1);
+},setContent:function(_3,_4,_5){
+_5=_5||this.duration;
+if(this.slideAnim){
+if(this.slideAnim.status()!="playing"){
+this.slideAnim.stop();
+}
+if(this.slideAnim.status()=="playing"||(this.fadeAnim&&this.fadeAnim.status()=="playing")){
+setTimeout(dojo.hitch(this,function(){
+this.setContent(_3,_4,_5);
+}),50);
+return;
+}
+}
+for(var _6 in this.messageTypes){
+dojo.removeClass(this.containerNode,"dijitToaster"+this._capitalize(this.messageTypes[_6]));
+}
+dojo.style(this.containerNode,"opacity",1);
+this._setContent(_3);
+dojo.addClass(this.containerNode,"dijitToaster"+this._capitalize(_4||this.defaultType));
+this.show();
+var _7=dojo.marginBox(this.containerNode);
+this._cancelHideTimer();
+if(this.isVisible){
+this._placeClip();
+if(!this._stickyMessage){
+this._setHideTimer(_5);
+}
+}else{
+var _8=this.containerNode.style;
+var pd=this.positionDirection;
+if(pd.indexOf("-up")>=0){
+_8.left=0+"px";
+_8.top=_7.h+10+"px";
+}else{
+if(pd.indexOf("-left")>=0){
+_8.left=_7.w+10+"px";
+_8.top=0+"px";
+}else{
+if(pd.indexOf("-right")>=0){
+_8.left=0-_7.w-10+"px";
+_8.top=0+"px";
+}else{
+if(pd.indexOf("-down")>=0){
+_8.left=0+"px";
+_8.top=0-_7.h-10+"px";
+}else{
+throw new Error(this.id+".positionDirection is invalid: "+pd);
+}
+}
+}
+}
+this.slideAnim=dojo.fx.slideTo({node:this.containerNode,top:0,left:0,duration:this.slideDuration});
+this.connect(this.slideAnim,"onEnd",function(_a,_b){
+this.fadeAnim=dojo.fadeOut({node:this.containerNode,duration:1000});
+this.connect(this.fadeAnim,"onEnd",function(_c){
+this.isVisible=false;
+this.hide();
+});
+this._setHideTimer(_5);
+this.connect(this,"onSelect",function(_d){
+this._cancelHideTimer();
+this._stickyMessage=false;
+this.fadeAnim.play();
+});
+this.isVisible=true;
+});
+this.slideAnim.play();
+}
+},_setContent:function(_e){
+if(dojo.isFunction(_e)){
+_e(this);
+return;
+}
+if(_e&&this.isVisible){
+_e=this.contentNode.innerHTML+this.separator+_e;
+}
+this.contentNode.innerHTML=_e;
+},_cancelHideTimer:function(){
+if(this._hideTimer){
+clearTimeout(this._hideTimer);
+this._hideTimer=null;
+}
+},_setHideTimer:function(_f){
+this._cancelHideTimer();
+if(_f>0){
+this._cancelHideTimer();
+this._hideTimer=setTimeout(dojo.hitch(this,function(evt){
+if(this.bgIframe&&this.bgIframe.iframe){
+this.bgIframe.iframe.style.display="none";
+}
+this._hideTimer=null;
+this._stickyMessage=false;
+this.fadeAnim.play();
+}),_f);
+}else{
+this._stickyMessage=true;
+}
+},_placeClip:function(){
+var _11=dijit.getViewport();
+var _12=dojo.marginBox(this.containerNode);
+var _13=this.clipNode.style;
+_13.height=_12.h+"px";
+_13.width=_12.w+"px";
+var pd=this.positionDirection;
+if(pd.match(/^t/)){
+_13.top=_11.t+"px";
+}else{
+if(pd.match(/^b/)){
+_13.top=(_11.h-_12.h-2+_11.t)+"px";
+}
+}
+if(pd.match(/^[tb]r-/)){
+_13.left=(_11.w-_12.w-1-_11.l)+"px";
+}else{
+if(pd.match(/^[tb]l-/)){
+_13.left=0+"px";
+}
+}
+_13.clip="rect(0px, "+_12.w+"px, "+_12.h+"px, 0px)";
+if(dojo.isIE){
+if(!this.bgIframe){
+this.clipNode.id=dijit.getUniqueId("dojox_widget_Toaster_clipNode");
+this.bgIframe=new dijit.BackgroundIframe(this.clipNode);
+}
+var _15=this.bgIframe.iframe;
+if(_15){
+_15.style.display="block";
+}
+}
+},onSelect:function(e){
+},show:function(){
+dojo.style(this.domNode,"display","block");
+this._placeClip();
+if(!this._scrollConnected){
+this._scrollConnected=dojo.connect(window,"onscroll",this,this._placeClip);
+}
+},hide:function(){
+dojo.style(this.domNode,"display","none");
+if(this._scrollConnected){
+dojo.disconnect(this._scrollConnected);
+this._scrollConnected=false;
+}
+dojo.style(this.containerNode,"opacity",1);
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/Toaster.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/Toaster.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/Toaster.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/Toaster.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,39 @@
+
+.dijitToasterContent {
+	padding:1em;
+	padding-top:0.25em;
+	background:#73c74a;
+}
+.dijitToasterMessage{ 
+	color:#fff;
+}
+.dijitToasterWarning{ }
+.dijitToasterError,
+.dijitToasterFatal{
+	font-weight:bold;
+	color:#fff;
+}
+.dijitToasterWarning .dijitToasterContent{
+	padding:1em;
+	padding-top:0.25em;
+	background:#d4d943;
+} 
+.dijitToasterError .dijitToasterContent{
+	padding:1em;
+	padding-top:0.25em;
+	background:#c46600;
+}
+ 
+.dijitToasterClip {
+	position: absolute;
+	z-index: 5000;
+	overflow: hidden;
+}
+.dijitToasterContainer {
+	display: block;
+	position: absolute;
+	width: 17.5em;
+	margin: 0px;
+	font:0.75em Tahoma, Helvetica, Verdana, Arial;
+}
+ 

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/Toaster.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,108 @@
+/*
+	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.widget.Wizard"]){
+dojo._hasResource["dojox.widget.Wizard"]=true;
+dojo.provide("dojox.widget.Wizard");
+dojo.require("dijit.layout.StackContainer");
+dojo.require("dijit.layout.ContentPane");
+dojo.require("dijit.form.Button");
+dojo.require("dojo.i18n");
+dojo.requireLocalization("dijit","common",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
+dojo.requireLocalization("dojox.widget","Wizard",null,"ROOT,ar,ca,cs,da,de,el,es,fi,fr,he,hu,it,ja,ko,nb,nl,pl,pt,pt-pt,ru,sk,sl,sv,th,tr,zh,zh-tw");
+dojo.declare("dojox.widget.Wizard",[dijit.layout.StackContainer,dijit._Templated],{widgetsInTemplate:true,templateString:"<div class=\"dojoxWizard\" dojoAttachPoint=\"wizardNode\">\n    <div class=\"dojoxWizardContainer\" dojoAttachPoint=\"containerNode\"></div>\n    <div class=\"dojoxWizardButtons\" dojoAttachPoint=\"wizardNav\">\n        <button dojoType=\"dijit.form.Button\" dojoAttachPoint=\"previousButton\">${previousButtonLabel}</button>\n        <button dojoType=\"dijit.form.Button\" dojoAttachPoint=\"nextButton\">${nextButtonLabel}</button>\n        <button dojoType=\"dijit.form.Button\" dojoAttachPoint=\"doneButton\" style=\"display:none\">${doneButtonLabel}</button>\n        <button dojoType=\"dijit.form.Button\" dojoAttachPoint=\"cancelButton\">${cancelButtonLabel}</button>\n    </div>\n</div>\n",nextButtonLabel:"",previousButtonLabel:"",cancelButtonLabel:"",doneButtonLabel:"",cancelFunction:null,hideDisabled:false,postMixInProperties:function(){
+this.inherited(arguments);
+var _1=dojo.mixin({cancel:dojo.i18n.getLocalization("dijit","common",this.lang).buttonCancel},dojo.i18n.getLocalization("dojox.widget","Wizard",this.lang));
+var _2;
+for(_2 in _1){
+if(!this[_2+"ButtonLabel"]){
+this[_2+"ButtonLabel"]=_1[_2];
+}
+}
+},startup:function(){
+if(this._started){
+return;
+}
+this.inherited(arguments);
+this.connect(this.nextButton,"onClick","_forward");
+this.connect(this.previousButton,"onClick","back");
+if(this.cancelFunction){
+if(dojo.isString(this.cancelFunction)){
+this.cancelFunction=dojo.getObject(this.cancelFunction);
+}
+this.connect(this.cancelButton,"onClick",this.cancelFunction);
+}else{
+this.cancelButton.domNode.style.display="none";
+}
+this.connect(this.doneButton,"onClick","done");
+this._subscription=dojo.subscribe(this.id+"-selectChild",dojo.hitch(this,"_checkButtons"));
+this._checkButtons();
+this._started=true;
+},_checkButtons:function(){
+var sw=this.selectedChildWidget;
+var _4=sw.isLastChild;
+this.nextButton.attr("disabled",_4);
+this._setButtonClass(this.nextButton);
+if(sw.doneFunction){
+this.doneButton.domNode.style.display="";
+if(_4){
+this.nextButton.domNode.style.display="none";
+}
+}else{
+this.doneButton.domNode.style.display="none";
+}
+this.previousButton.attr("disabled",!this.selectedChildWidget.canGoBack);
+this._setButtonClass(this.previousButton);
+},_setButtonClass:function(_5){
+_5.domNode.style.display=(this.hideDisabled&&_5.disabled)?"none":"";
+},_forward:function(){
+if(this.selectedChildWidget._checkPass()){
+this.forward();
+}
+},done:function(){
+this.selectedChildWidget.done();
+},destroy:function(){
+dojo.unsubscribe(this._subscription);
+this.inherited(arguments);
+}});
+dojo.declare("dojox.widget.WizardPane",dijit.layout.ContentPane,{canGoBack:true,passFunction:null,doneFunction:null,startup:function(){
+this.inherited(arguments);
+if(this.isFirstChild){
+this.canGoBack=false;
+}
+if(dojo.isString(this.passFunction)){
+this.passFunction=dojo.getObject(this.passFunction);
+}
+if(dojo.isString(this.doneFunction)&&this.doneFunction){
+this.doneFunction=dojo.getObject(this.doneFunction);
+}
+},_onShow:function(){
+if(this.isFirstChild){
+this.canGoBack=false;
+}
+this.inherited(arguments);
+},_checkPass:function(){
+var r=true;
+if(this.passFunction&&dojo.isFunction(this.passFunction)){
+var _7=this.passFunction();
+switch(typeof _7){
+case "boolean":
+r=_7;
+break;
+case "string":
+alert(_7);
+r=false;
+break;
+}
+}
+return r;
+},done:function(){
+if(this.doneFunction&&dojo.isFunction(this.doneFunction)){
+this.doneFunction();
+}
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,19 @@
+.dojoxWizard {
+	position:relative; 
+}
+.dojoxWizardButtons {
+	position:absolute;
+	bottom:5px;
+	right:5px;	
+}
+.tundra .dojoxWizard {
+	background: #eeeeee;
+	border: #b7b7b7 1px solid;
+	padding: 2px;
+	-moz-border-radius:3pt;
+	-webkit-border-radius:4pt;
+}
+.soria .dojoxWizard {
+	border:1px solid #b7b7b7;
+	padding:2px;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,9 @@
+<div class="dojoxWizard" dojoAttachPoint="wizardNode">
+    <div class="dojoxWizardContainer" dojoAttachPoint="containerNode"></div>
+    <div class="dojoxWizardButtons" dojoAttachPoint="wizardNav">
+        <button dojoType="dijit.form.Button" dojoAttachPoint="previousButton">${previousButtonLabel}</button>
+        <button dojoType="dijit.form.Button" dojoAttachPoint="nextButton">${nextButtonLabel}</button>
+        <button dojoType="dijit.form.Button" dojoAttachPoint="doneButton" style="display:none">${doneButtonLabel}</button>
+        <button dojoType="dijit.form.Button" dojoAttachPoint="cancelButton">${cancelButtonLabel}</button>
+    </div>
+</div>

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArcIndicator.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArcIndicator.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArcIndicator.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArcIndicator.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,69 @@
+/*
+	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.widget.gauge.AnalogArcIndicator"]){
+dojo._hasResource["dojox.widget.gauge.AnalogArcIndicator"]=true;
+dojo.provide("dojox.widget.gauge.AnalogArcIndicator");
+dojo.require("dojox.widget.AnalogGauge");
+dojo.experimental("dojox.widget.gauge.AnalogArcIndicator");
+dojo.declare("dojox.widget.gauge.AnalogArcIndicator",[dojox.widget.gauge.AnalogLineIndicator],{_createArc:function(_1){
+if(this.shapes[0]){
+var a=this._gauge._getRadians(this._gauge._getAngle(_1));
+var _3=Math.cos(a);
+var _4=Math.sin(a);
+var sa=this._gauge._getRadians(this._gauge.startAngle);
+var _6=Math.cos(sa);
+var _7=Math.sin(sa);
+var _8=this.offset+this.width;
+var p=["M"];
+p.push(this._gauge.cx+this.offset*_7);
+p.push(this._gauge.cy-this.offset*_6);
+p.push("A",this.offset,this.offset,0,((a-sa)>Math.PI)?1:0,1);
+p.push(this._gauge.cx+this.offset*_4);
+p.push(this._gauge.cy-this.offset*_3);
+p.push("L");
+p.push(this._gauge.cx+_8*_4);
+p.push(this._gauge.cy-_8*_3);
+p.push("A",_8,_8,0,((a-sa)>Math.PI)?1:0,0);
+p.push(this._gauge.cx+_8*_7);
+p.push(this._gauge.cy-_8*_6);
+this.shapes[0].setShape(p.join(" "));
+this.currentValue=_1;
+}
+},draw:function(_a){
+var v=this.value;
+if(v<this._gauge.min){
+v=this._gauge.min;
+}
+if(v>this._gauge.max){
+v=this._gauge.max;
+}
+if(this.shapes){
+if(_a){
+this._createArc(v);
+}else{
+var _c=new dojo._Animation({curve:[this.currentValue,v],duration:this.duration,easing:this.easing});
+dojo.connect(_c,"onAnimate",dojo.hitch(this,this._createArc));
+_c.play();
+}
+}else{
+var _d={color:this.color,width:1};
+if(this.color.type){
+_d.color=this.color.colors[0].color;
+}
+this.shapes=[this._gauge.surface.createPath().setStroke(_d).setFill(this.color)];
+this._createArc(v);
+if(this.hover){
+this.shapes[0].getEventSource().setAttribute("hover",this.hover);
+}
+if(this.onDragMove&&!this.noChange){
+this._gauge.connect(this.shapes[0].getEventSource(),"onmousedown",this._gauge.handleMouseDown);
+this.shapes[0].getEventSource().style.cursor="pointer";
+}
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArcIndicator.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArrowIndicator.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArrowIndicator.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArrowIndicator.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArrowIndicator.js Thu Mar 19 11:13:08 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.widget.gauge.AnalogArrowIndicator"]){
+dojo._hasResource["dojox.widget.gauge.AnalogArrowIndicator"]=true;
+dojo.provide("dojox.widget.gauge.AnalogArrowIndicator");
+dojo.require("dojox.widget.AnalogGauge");
+dojo.experimental("dojox.widget.gauge.AnalogArrowIndicator");
+dojo.declare("dojox.widget.gauge.AnalogArrowIndicator",[dojox.widget.gauge.AnalogLineIndicator],{_getShapes:function(){
+if(!this._gauge){
+return null;
+}
+var x=Math.floor(this.width/2);
+var _2=this.width*5;
+var _3=(this.width&1);
+var _4=[];
+var _5=[{x:-x,y:0},{x:-x,y:-this.length+_2},{x:-2*x,y:-this.length+_2},{x:0,y:-this.length},{x:2*x+_3,y:-this.length+_2},{x:x+_3,y:-this.length+_2},{x:x+_3,y:0},{x:-x,y:0}];
+_4[0]=this._gauge.surface.createPolyline(_5).setStroke({color:this.color}).setFill(this.color);
+_4[1]=this._gauge.surface.createLine({x1:-x,y1:0,x2:-x,y2:-this.length+_2}).setStroke({color:this.highlight});
+_4[2]=this._gauge.surface.createLine({x1:-x-3,y1:-this.length+_2,x2:0,y2:-this.length}).setStroke({color:this.highlight});
+_4[3]=this._gauge.surface.createCircle({cx:0,cy:0,r:this.width}).setStroke({color:this.color}).setFill(this.color);
+return _4;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArrowIndicator.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogNeedleIndicator.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogNeedleIndicator.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogNeedleIndicator.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogNeedleIndicator.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,30 @@
+/*
+	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.widget.gauge.AnalogNeedleIndicator"]){
+dojo._hasResource["dojox.widget.gauge.AnalogNeedleIndicator"]=true;
+dojo.provide("dojox.widget.gauge.AnalogNeedleIndicator");
+dojo.require("dojox.widget.AnalogGauge");
+dojo.experimental("dojox.widget.gauge.AnalogNeedleIndicator");
+dojo.declare("dojox.widget.gauge.AnalogNeedleIndicator",[dojox.widget.gauge.AnalogLineIndicator],{_getShapes:function(){
+if(!this._gauge){
+return null;
+}
+var x=Math.floor(this.width/2);
+var _2=this.width*5;
+var _3=(this.width&1);
+var _4=[];
+var _5={color:this.color,width:1};
+if(this.color.type){
+_5.color=this.color.colors[0].color;
+}
+var xy=(Math.sqrt(2)*(x));
+_4[0]=this._gauge.surface.createPath().setStroke(_5).setFill(this.color).moveTo(xy,-xy).arcTo((2*x),(2*x),0,0,0,-xy,-xy).lineTo(0,-this.length).closePath();
+_4[1]=this._gauge.surface.createCircle({cx:0,cy:0,r:this.width}).setStroke({color:this.color}).setFill(this.color);
+return _4;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogNeedleIndicator.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/BarIndicator.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/BarIndicator.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/BarIndicator.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/BarIndicator.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,80 @@
+/*
+	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.widget.gauge.BarIndicator"]){
+dojo._hasResource["dojox.widget.gauge.BarIndicator"]=true;
+dojo.provide("dojox.widget.gauge.BarIndicator");
+dojo.require("dojox.widget.BarGauge");
+dojo.experimental("dojox.widget.gauge.BarIndicator");
+dojo.declare("dojox.widget.gauge.BarIndicator",[dojox.widget.gauge.BarLineIndicator],{_getShapes:function(){
+if(!this._gauge){
+return null;
+}
+var v=this.value;
+if(v<this._gauge.min){
+v=this._gauge.min;
+}
+if(v>this._gauge.max){
+v=this._gauge.max;
+}
+var _2=this._gauge._getPosition(v);
+if(_2==this.dataX){
+_2=this.dataX+1;
+}
+var y=this._gauge.dataY+Math.floor((this._gauge.dataHeight-this.width)/2)+this.offset;
+var _4=[];
+_4[0]=this._gauge.surface.createRect({x:this._gauge.dataX,y:y,width:_2-this._gauge.dataX,height:this.width});
+_4[0].setStroke({color:this.color});
+_4[0].setFill(this.color);
+_4[1]=this._gauge.surface.createLine({x1:this._gauge.dataX,y1:y,x2:_2,y2:y});
+_4[1].setStroke({color:this.highlight});
+if(this.highlight2){
+y--;
+_4[2]=this._gauge.surface.createLine({x1:this._gauge.dataX,y1:y,x2:_2,y2:y});
+_4[2].setStroke({color:this.highlight2});
+}
+return _4;
+},_createShapes:function(_5){
+for(var i in this.shapes){
+i=this.shapes[i];
+var _7={};
+for(var j in i){
+_7[j]=i[j];
+}
+if(i.shape.type=="line"){
+_7.shape.x2=_5+_7.shape.x1;
+}else{
+if(i.shape.type=="rect"){
+_7.width=_5;
+}
+}
+i.setShape(_7);
+}
+},_move:function(_9){
+var _a=false;
+var c;
+var v=this.value;
+if(v<this.min){
+v=this.min;
+}
+if(v>this.max){
+v=this.max;
+}
+c=this._gauge._getPosition(this.currentValue);
+this.currentValue=v;
+v=this._gauge._getPosition(v)-this._gauge.dataX;
+if(_9){
+this._createShapes(v);
+}else{
+if(c!=v){
+var _d=new dojo._Animation({curve:[c,v],duration:this.duration,easing:this.easing});
+dojo.connect(_d,"onAnimate",dojo.hitch(this,this._createShapes));
+_d.play();
+}
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/BarIndicator.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,51 @@
+@CHARSET "ISO-8859-1";
+.dojoxGaugeContent {
+	font-family: Verdana;
+	border-width: 1px;
+	border-style: solid;
+	border-color: #CCCCCC;
+}
+.dojoxGaugeRange1 {
+	fill: #606060 ;
+	stroke: #606060 ;
+}
+.dojoxGaugeRange2 {
+	fill: #707070 ;
+	stroke: #707070 ;
+}
+.dojoxGaugeRange3 {
+	fill: #808080 ;
+	stroke: #808080 ;
+}
+.dojoxGaugeRange4 {
+	fill: #909090 ;
+	stroke: #909090 ;
+}
+.dojoxGaugeRange5 {
+	fill: #A0A0A0;
+	stroke: #A0A0A0;
+}
+.dojoxGaugeRange6 {
+	fill: #B0B0B0;
+	stroke: #B0B0B0;
+}
+.dojoxGaugeRange7 {
+	fill: #C0C0C0;
+	stroke: #C0C0C0;
+}
+.dojoxGaugeRange8 {
+	fill: #D0D0D0;
+	stroke: #D0D0D0;
+}
+.dojoxGaugeRange9 {
+	fill: #E0E0E0;
+	stroke: #E0E0E0;
+}
+.dojoxGaugeRange10 {
+	fill: #F0F0F0;
+	stroke: #F0F0F0;
+}
+.testing {
+	fill: blue;
+	stroke: blue;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,5 @@
+<div>
+	<div class="dojoxGaugeContent" dojoAttachPoint="gaugeContent"></div>
+	<div dojoAttachPoint="containerNode"></div>
+	<div dojoAttachPoint="mouseNode"></div>
+</div>
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,304 @@
+/*
+	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.widget.gauge._Gauge"]){
+dojo._hasResource["dojox.widget.gauge._Gauge"]=true;
+dojo.provide("dojox.widget.gauge._Gauge");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dijit._Container");
+dojo.require("dijit._Contained");
+dojo.require("dijit.Tooltip");
+dojo.require("dojo.fx.easing");
+dojo.require("dojox.gfx");
+dojo.experimental("dojox.widget.gauge._Gauge");
+dojo.declare("dojox.widget.gauge._Gauge",[dijit._Widget,dijit._Templated,dijit._Container],{width:0,height:0,background:null,min:0,max:0,image:null,useRangeStyles:0,useTooltip:true,majorTicks:null,minorTicks:null,_defaultIndicator:null,defaultColors:[[0,84,170,1],[68,119,187,1],[102,153,204,1],[153,187,238,1],[153,204,255,1],[204,238,255,1],[221,238,255,1]],min:null,max:null,surface:null,hideValues:false,gaugeContent:undefined,templateString:"<div>\n\t<div class=\"dojoxGaugeContent\" dojoAttachPoint=\"gaugeContent\"></div>\n\t<div dojoAttachPoint=\"containerNode\"></div>\n\t<div dojoAttachPoint=\"mouseNode\"></div>\n</div>\n",_backgroundDefault:{color:"#E0E0E0"},_rangeData:null,_indicatorData:null,_drag:null,_img:null,_overOverlay:false,_lastHover:"",startup:function(){
+if(this.image===null){
+this.image={};
+}
+this.connect(this.gaugeContent,"onmousemove",this.handleMouseMove);
+this.connect(this.gaugeContent,"onmouseover",this.handleMouseOver);
+this.connect(this.gaugeContent,"onmouseout",this.handleMouseOut);
+this.connect(this.gaugeContent,"onmouseup",this.handleMouseUp);
+if(!dojo.isArray(this.ranges)){
+this.ranges=[];
+}
+if(!dojo.isArray(this.indicators)){
+this.indicators=[];
+}
+var _1=[],_2=[];
+var i;
+if(this.hasChildren()){
+var _4=this.getChildren();
+for(i=0;i<_4.length;i++){
+if(/dojox\.widget\..*Indicator/.test(_4[i].declaredClass)){
+_2.push(_4[i]);
+continue;
+}
+switch(_4[i].declaredClass){
+case "dojox.widget.gauge.Range":
+_1.push(_4[i]);
+break;
+}
+}
+this.ranges=this.ranges.concat(_1);
+this.indicators=this.indicators.concat(_2);
+}
+if(!this.background){
+this.background=this._backgroundDefault;
+}
+this.background=this.background.color||this.background;
+if(!this.surface){
+this.createSurface();
+}
+this.addRanges(this.ranges);
+if(this.minorTicks&&this.minorTicks.interval){
+this.setMinorTicks(this.minorTicks);
+}
+if(this.majorTicks&&this.majorTicks.interval){
+this.setMajorTicks(this.majorTicks);
+}
+for(i=0;i<this.indicators.length;i++){
+this.addIndicator(this.indicators[i]);
+}
+},_setTicks:function(_5,_6,_7){
+var i;
+if(_5&&dojo.isArray(_5._ticks)){
+for(i=0;i<_5._ticks.length;i++){
+this.removeIndicator(_5._ticks[i]);
+}
+}
+var t={length:_6.length,offset:_6.offset,noChange:true};
+if(_6.color){
+t.color=_6.color;
+}
+if(_6.font){
+t.font=_6.font;
+}
+_6._ticks=[];
+for(i=this.min;i<=this.max;i+=_6.interval){
+t.value=i;
+if(_7){
+t.label=""+i;
+}
+_6._ticks.push(this.addIndicator(t));
+}
+return _6;
+},setMinorTicks:function(_a){
+this.minorTicks=this._setTicks(this.minorTicks,_a,false);
+},setMajorTicks:function(_b){
+this.majorTicks=this._setTicks(this.majorTicks,_b,true);
+},postCreate:function(){
+if(this.hideValues){
+dojo.style(this.containerNode,"display","none");
+}
+dojo.style(this.mouseNode,"width","0");
+dojo.style(this.mouseNode,"height","0");
+dojo.style(this.mouseNode,"position","absolute");
+dojo.style(this.mouseNode,"z-index","100");
+if(this.useTooltip){
+dijit.showTooltip("test",this.mouseNode);
+dijit.hideTooltip(this.mouseNode);
+}
+},createSurface:function(){
+this.gaugeContent.style.width=this.width+"px";
+this.gaugeContent.style.height=this.height+"px";
+this.surface=dojox.gfx.createSurface(this.gaugeContent,this.width,this.height);
+this._background=this.surface.createRect({x:0,y:0,width:this.width,height:this.height});
+this._background.setFill(this.background);
+if(this.image.url){
+this._img=this.surface.createImage({width:this.image.width||this.width,height:this.image.height||this.height,src:this.image.url});
+if(this.image.overlay){
+this._img.getEventSource().setAttribute("overlay",true);
+}
+if(this.image.x||this.image.y){
+this._img.setTransform({dx:this.image.x||0,dy:this.image.y||0});
+}
+}
+},setBackground:function(_c){
+if(!_c){
+_c=this._backgroundDefault;
+}
+this.background=_c.color||_c;
+this._background.setFill(this.background);
+},addRange:function(_d){
+this.addRanges([_d]);
+},addRanges:function(_e){
+if(!this._rangeData){
+this._rangeData=[];
+}
+var _f;
+for(var i=0;i<_e.length;i++){
+_f=_e[i];
+if((this.min===null)||(_f.low<this.min)){
+this.min=_f.low;
+}
+if((this.max===null)||(_f.high>this.max)){
+this.max=_f.high;
+}
+if(!_f.color){
+var _11=this._rangeData.length%this.defaultColors.length;
+if(dojox.gfx.svg&&this.useRangeStyles>0){
+_11=(this._rangeData.length%this.useRangeStyles)+1;
+_f.color={style:"dojoxGaugeRange"+_11};
+}else{
+_11=this._rangeData.length%this.defaultColors.length;
+_f.color=this.defaultColors[_11];
+}
+}
+this._rangeData[this._rangeData.length]=_f;
+}
+this.draw();
+},addIndicator:function(_12){
+_12._gauge=this;
+if(!_12.declaredClass){
+_12=new this._defaultIndicator(_12);
+}
+if(!_12.hideValue){
+this.containerNode.appendChild(_12.domNode);
+}
+if(!this._indicatorData){
+this._indicatorData=[];
+}
+this._indicatorData[this._indicatorData.length]=_12;
+_12.draw();
+return _12;
+},removeIndicator:function(_13){
+for(var i=0;i<this._indicatorData.length;i++){
+if(this._indicatorData[i]===_13){
+this._indicatorData.splice(i,1);
+_13.remove();
+break;
+}
+}
+},moveIndicatorToFront:function(_15){
+if(_15.shapes){
+for(var i=0;i<_15.shapes.length;i++){
+_15.shapes[i].moveToFront();
+}
+}
+},drawText:function(txt,x,y,_1a,_1b,_1c,_1d){
+var t=this.surface.createText({x:x,y:y,text:txt,align:_1a});
+t.setFill(_1c);
+t.setFont(_1d);
+return t;
+},removeText:function(t){
+this.surface.rawNode.removeChild(t);
+},updateTooltip:function(txt,e){
+if(this._lastHover!=txt){
+if(txt!==""){
+dijit.hideTooltip(this.mouseNode);
+dijit.showTooltip(txt,this.mouseNode);
+}else{
+dijit.hideTooltip(this.mouseNode);
+}
+this._lastHover=txt;
+}
+},handleMouseOver:function(_22){
+var _23=_22.target.getAttribute("hover");
+if(_22.target.getAttribute("overlay")){
+this._overOverlay=true;
+var r=this.getRangeUnderMouse(_22);
+if(r&&r.hover){
+_23=r.hover;
+}
+}
+if(this.useTooltip&&!this._drag){
+if(_23){
+this.updateTooltip(_23,_22);
+}else{
+this.updateTooltip("",_22);
+}
+}
+},handleMouseOut:function(_25){
+if(_25.target.getAttribute("overlay")){
+this._overOverlay=false;
+}
+if(this.useTooltip&&this.mouseNode){
+dijit.hideTooltip(this.mouseNode);
+}
+},handleMouseDown:function(_26){
+for(var i=0;i<this._indicatorData.length;i++){
+var _28=this._indicatorData[i].shapes;
+for(var s=0;s<_28.length;s++){
+if(_28[s].getEventSource()==_26.target){
+this._drag=this._indicatorData[i];
+s=_28.length;
+i=this._indicatorData.length;
+}
+}
+}
+dojo.stopEvent(_26);
+},handleMouseUp:function(_2a){
+this._drag=null;
+dojo.stopEvent(_2a);
+},handleMouseMove:function(_2b){
+if(_2b){
+dojo.style(this.mouseNode,"left",_2b.pageX+1+"px");
+dojo.style(this.mouseNode,"top",_2b.pageY+1+"px");
+}
+if(this._drag){
+this._dragIndicator(this,_2b);
+}else{
+if(this.useTooltip&&this._overOverlay){
+var r=this.getRangeUnderMouse(_2b);
+if(r&&r.hover){
+this.updateTooltip(r.hover,_2b);
+}else{
+this.updateTooltip("",_2b);
+}
+}
+}
+}});
+dojo.declare("dojox.widget.gauge.Range",[dijit._Widget,dijit._Contained],{low:0,high:0,hover:"",color:null,size:0,startup:function(){
+this.color=this.color.color||this.color;
+}});
+dojo.declare("dojox.widget.gauge._Indicator",[dijit._Widget,dijit._Contained,dijit._Templated],{value:0,type:"",color:"black",label:"",font:{family:"sans-serif",size:"12px"},length:0,width:0,offset:0,hover:"",front:false,easing:dojo._defaultEasing,duration:1000,hideValue:false,noChange:false,_gauge:null,title:"",templateString:"<div class=\"dojoxGaugeIndicatorDiv\">\n\t<label class=\"dojoxGaugeIndicatorLabel\" for=\"${title}\">${title}:</label>\n\t<input class=\"dojoxGaugeIndicatorInput\" name=\"${title}\" size=\"5\" value=\"${value}\" dojoAttachPoint=\"valueNode\" dojoAttachEvent=\"onchange:_update\"></input>\n</div>\n",startup:function(){
+if(this.onDragMove){
+this.onDragMove=dojo.hitch(this.onDragMove);
+}
+},postCreate:function(){
+if(this.title===""){
+dojo.style(this.domNode,"display","none");
+}
+if(dojo.isString(this.easing)){
+this.easing=dojo.getObject(this.easing);
+}
+},_update:function(_2d){
+var _2e=this.valueNode.value;
+if(_2e===""){
+this.value=null;
+}else{
+this.value=Number(_2e);
+this.hover=this.title+": "+_2e;
+}
+if(this._gauge){
+this.draw();
+this.valueNode.value=this.value;
+if((this.title=="Target"||this.front)&&this._gauge.moveIndicator){
+this._gauge.moveIndicatorToFront(this);
+}
+}
+},update:function(_2f){
+if(!this.noChange){
+this.valueNode.value=_2f;
+this._update();
+}
+},onDragMove:function(){
+this.value=Math.floor(this.value);
+this.valueNode.value=this.value;
+this.hover=this.title+": "+this.value;
+},draw:function(_30){
+},remove:function(){
+for(var i=0;i<this.shapes.length;i++){
+this._gauge.surface.remove(this.shapes[i]);
+}
+if(this.text){
+this._gauge.surface.remove(this.text);
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Indicator.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Indicator.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Indicator.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Indicator.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,4 @@
+<div class="dojoxGaugeIndicatorDiv">
+	<label class="dojoxGaugeIndicatorLabel" for="${title}">${title}:</label>
+	<input class="dojoxGaugeIndicatorInput" name="${title}" size="5" value="${value}" dojoAttachPoint="valueNode" dojoAttachEvent="onchange:_update"></input>
+</div>
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Indicator.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/FilePicker.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/FilePicker.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/FilePicker.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/FilePicker.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1 @@
+({"name":"Name","size":"Size (in bytes)","path":"Path"})
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/FilePicker.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/RollingList.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/RollingList.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/RollingList.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/RollingList.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1 @@
+({"empty":"&lt;EMPTY&gt;"})
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/RollingList.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/Wizard.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/Wizard.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/Wizard.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/Wizard.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1 @@
+({"next":"Next","done":"Done","previous":"Previous"})
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/Wizard.js
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message