You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2009/03/19 11:17:26 UTC

svn commit: r755893 [10/29] - in /camel/trunk/components/camel-web/src/main/webapp/js/dijit: ./ _base/ _editor/ _editor/nls/ _editor/nls/ar/ _editor/nls/ca/ _editor/nls/cs/ _editor/nls/da/ _editor/nls/de/ _editor/nls/el/ _editor/nls/es/ _editor/nls/fi/...

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/dijit.js.uncompressed.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Button.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Button.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Button.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Button.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,232 @@
+/*
+	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["dijit.form.Button"]){
+dojo._hasResource["dijit.form.Button"]=true;
+dojo.provide("dijit.form.Button");
+dojo.require("dijit.form._FormWidget");
+dojo.require("dijit._Container");
+dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><span class=\"dijitReset dijitRight dijitInline\"\n\t\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\t\tdojoAttachPoint=\"titleNode,focusNode\" \n\t\t\t\t${nameAttrSetting} type=\"${type}\" value=\"${value}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" \n\t\t\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#10003;</span \n\t\t\t\t></span \n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\" \n\t\t\t\t\tid=\"${id}_label\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNo
 de\"\n\t\t\t\t></span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),_onClick:function(e){
+if(this.disabled||this.readOnly){
+return false;
+}
+this._clicked();
+return this.onClick(e);
+},_onButtonClick:function(e){
+if(e.type!="click"&&!(this.type=="submit"||this.type=="reset")){
+dojo.stopEvent(e);
+}
+if(this._onClick(e)===false){
+e.preventDefault();
+}else{
+if(this.type=="submit"&&!this.focusNode.form){
+for(var _3=this.domNode;_3.parentNode;_3=_3.parentNode){
+var _4=dijit.byNode(_3);
+if(_4&&typeof _4._onSubmit=="function"){
+_4._onSubmit(e);
+break;
+}
+}
+}
+}
+},_setValueAttr:function(_5){
+var _6=this.attributeMap.value||"";
+if(this[_6.node||_6||"domNode"].tagName=="BUTTON"){
+if(_5!=this.value){
+
+}
+}
+},_fillContent:function(_7){
+if(_7&&!("label" in this.params)){
+this.attr("label",_7.innerHTML);
+}
+},postCreate:function(){
+if(this.showLabel==false){
+dojo.addClass(this.containerNode,"dijitDisplayNone");
+}
+dojo.setSelectable(this.focusNode,false);
+this.inherited(arguments);
+},onClick:function(e){
+return true;
+},_clicked:function(e){
+},setLabel:function(_a){
+dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");
+this.attr("label",_a);
+},_setLabelAttr:function(_b){
+this.containerNode.innerHTML=this.label=_b;
+this._layoutHack();
+if(this.showLabel==false&&!this.params.title){
+this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");
+}
+}});
+dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"<span class=\"dijit dijitReset dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\n\t><span class='dijitReset dijitRight dijitInline'\n\t\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\t\t><button class=\"dijitReset dijitStretch dijitButtonContents\" \n\t\t\t\t${nameAttrSetting} type=\"${type}\" value=\"${value}\"\n\t\t\t\tdojoAttachPoint=\"focusNode,titleNode\" \n\t\t\t\twaiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t\t\t><span class=\"dijitReset dijitInline\" \n\t\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  \n\t\t\t\t\tdojoAttachPoint=\"containerNode,popupStateNode\" \n\t\t\t\t\tid=\
 "${id}_label\"\n\t\t\t\t></span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\">&thinsp;</span\n\t\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t\t></button\n\t\t></span\n\t></span\n></span>\n",_fillContent:function(){
+if(this.srcNodeRef){
+var _c=dojo.query("*",this.srcNodeRef);
+dijit.form.DropDownButton.superclass._fillContent.call(this,_c[0]);
+this.dropDownContainer=this.srcNodeRef;
+}
+},startup:function(){
+if(this._started){
+return;
+}
+if(!this.dropDown){
+var _d=dojo.query("[widgetId]",this.dropDownContainer)[0];
+this.dropDown=dijit.byNode(_d);
+delete this.dropDownContainer;
+}
+dijit.popup.prepare(this.dropDown.domNode);
+this.inherited(arguments);
+},destroyDescendants:function(){
+if(this.dropDown){
+this.dropDown.destroyRecursive();
+delete this.dropDown;
+}
+this.inherited(arguments);
+},_onArrowClick:function(e){
+if(this.disabled||this.readOnly){
+return;
+}
+this._toggleDropDown();
+},_onDropDownClick:function(e){
+var _10=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;
+if(!_10||e.detail!=0||this._seenKeydown){
+this._onArrowClick(e);
+}
+this._seenKeydown=false;
+},_onDropDownKeydown:function(e){
+this._seenKeydown=true;
+},_onDropDownBlur:function(e){
+this._seenKeydown=false;
+},_onKey:function(e){
+if(this.disabled||this.readOnly){
+return;
+}
+if(e.charOrCode==dojo.keys.DOWN_ARROW){
+if(!this.dropDown||this.dropDown.domNode.style.visibility=="hidden"){
+dojo.stopEvent(e);
+this._toggleDropDown();
+}
+}
+},_onBlur:function(){
+this._closeDropDown();
+this.inherited(arguments);
+},_toggleDropDown:function(){
+if(this.disabled||this.readOnly){
+return;
+}
+dijit.focus(this.popupStateNode);
+var _14=this.dropDown;
+if(!_14){
+return;
+}
+if(!this._opened){
+if(_14.href&&!_14.isLoaded){
+var _15=this;
+var _16=dojo.connect(_14,"onLoad",function(){
+dojo.disconnect(_16);
+_15._openDropDown();
+});
+_14.refresh();
+return;
+}else{
+this._openDropDown();
+}
+}else{
+this._closeDropDown();
+}
+},_openDropDown:function(){
+var _17=this.dropDown;
+var _18=_17.domNode.style.width;
+var _19=this;
+dijit.popup.open({parent:this,popup:_17,around:this.domNode,orient:this.isLeftToRight()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function(){
+_19._closeDropDown(true);
+},onCancel:function(){
+_19._closeDropDown(true);
+},onClose:function(){
+_17.domNode.style.width=_18;
+_19.popupStateNode.removeAttribute("popupActive");
+_19._opened=false;
+}});
+if(this.domNode.offsetWidth>_17.domNode.offsetWidth){
+var _1a=null;
+if(!this.isLeftToRight()){
+_1a=_17.domNode.parentNode;
+var _1b=_1a.offsetLeft+_1a.offsetWidth;
+}
+dojo.marginBox(_17.domNode,{w:this.domNode.offsetWidth});
+if(_1a){
+_1a.style.left=_1b-this.domNode.offsetWidth+"px";
+}
+}
+this.popupStateNode.setAttribute("popupActive","true");
+this._opened=true;
+if(_17.focus){
+_17.focus();
+}
+},_closeDropDown:function(_1c){
+if(this._opened){
+dijit.popup.close(this.dropDown);
+if(_1c){
+this.focus();
+}
+this._opened=false;
+}
+}});
+dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:"<table class='dijit dijitReset dijitInline dijitLeft'\n\tcellspacing='0' cellpadding='0' waiRole=\"presentation\"\n\t><tbody waiRole=\"presentation\"><tr waiRole=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"  dojoAttachPoint=\"titleNode\"\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline\" dojoAttachPoint=\"iconNode\" waiRole=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" waiRole=\"presentation\"></div\n\t\t></td\n\t\t><td class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"popupStateNode,focusNode\"\n\t\t\tdojoAttachEvent=\"on
 dijitclick:_onArrowClick, onkeypress:_onKey,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\tstateModifier=\"DownArrow\"\n\t\t\ttitle=\"${optionsTitle}\" ${nameAttrSetting}\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" waiRole=\"presentation\">&thinsp;</div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" waiRole=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n",attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",tabIndex:["focusNode","titleNode"]}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){
+this.inherited(arguments);
+this._focalNodes=[this.titleNode,this.popupStateNode];
+dojo.forEach(this._focalNodes,dojo.hitch(this,function(_1d){
+if(dojo.isIE){
+this.connect(_1d,"onactivate",this._onNodeFocus);
+this.connect(_1d,"ondeactivate",this._onNodeBlur);
+}else{
+this.connect(_1d,"onfocus",this._onNodeFocus);
+this.connect(_1d,"onblur",this._onNodeBlur);
+}
+}));
+},focusFocalNode:function(_1e){
+this._focusedNode=_1e;
+dijit.focus(_1e);
+},hasNextFocalNode:function(){
+return this._focusedNode!==this.getFocalNodes()[1];
+},focusNext:function(){
+this._focusedNode=this.getFocalNodes()[this._focusedNode?1:0];
+dijit.focus(this._focusedNode);
+},hasPrevFocalNode:function(){
+return this._focusedNode!==this.getFocalNodes()[0];
+},focusPrev:function(){
+this._focusedNode=this.getFocalNodes()[this._focusedNode?0:1];
+dijit.focus(this._focusedNode);
+},getFocalNodes:function(){
+return this._focalNodes;
+},_onNodeFocus:function(evt){
+this._focusedNode=evt.currentTarget;
+var fnc=this._focusedNode==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";
+dojo.addClass(this._focusedNode,fnc);
+},_onNodeBlur:function(evt){
+var fnc=evt.currentTarget==this.focusNode?"dijitDownArrowButtonFocused":"dijitButtonContentsFocused";
+dojo.removeClass(evt.currentTarget,fnc);
+},_onBlur:function(){
+this.inherited(arguments);
+this._focusedNode=null;
+}});
+dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){
+this.attr("checked",!this.checked);
+},_setCheckedAttr:function(_24){
+this.checked=_24;
+dojo.attr(this.focusNode||this.domNode,"checked",_24);
+dijit.setWaiState(this.focusNode||this.domNode,"pressed",_24);
+this._setStateClass();
+this._handleOnChange(_24,true);
+},setChecked:function(_25){
+dojo.deprecated("setChecked("+_25+") is deprecated. Use attr('checked',"+_25+") instead.","","2.0");
+this.attr("checked",_25);
+},reset:function(){
+this._hasBeenBlurred=false;
+this.attr("checked",this.params.checked||false);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Button.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CheckBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CheckBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CheckBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CheckBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,65 @@
+/*
+	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["dijit.form.CheckBox"]){
+dojo._hasResource["dijit.form.CheckBox"]=true;
+dojo.provide("dijit.form.CheckBox");
+dojo.require("dijit.form.Button");
+dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:"<div class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \t${nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></div>\n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",_setValueAttr:function(_1){
+if(typeof _1=="string"){
+this.value=_1;
+dojo.attr(this.focusNode,"value",_1);
+_1=true;
+}
+if(this._created){
+this.attr("checked",_1);
+}
+},_getValueAttr:function(){
+return (this.checked?this.value:false);
+},postMixInProperties:function(){
+if(this.value==""){
+this.value="on";
+}
+this.checkedAttrSetting=this.checked?"checked":"";
+this.inherited(arguments);
+},_fillContent:function(_2){
+},reset:function(){
+this._hasBeenBlurred=false;
+this.attr("checked",this.params.checked||false);
+this.value=this.params.value||"on";
+dojo.attr(this.focusNode,"value",this.value);
+},_onFocus:function(){
+if(this.id){
+dojo.query("label[for='"+this.id+"']").addClass("dijitFocusedLabel");
+}
+},_onBlur:function(){
+if(this.id){
+dojo.query("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");
+}
+}});
+dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_setCheckedAttr:function(_3){
+this.inherited(arguments);
+if(!this._created){
+return;
+}
+if(_3){
+var _4=this;
+dojo.query("INPUT[type=radio]",this.focusNode.form||dojo.doc).forEach(function(_5){
+if(_5.name==_4.name&&_5!=_4.focusNode&&_5.form==_4.focusNode.form){
+var _6=dijit.getEnclosingWidget(_5);
+if(_6&&_6.checked){
+_6.attr("checked",false);
+}
+}
+});
+}
+},_clicked:function(e){
+if(!this.checked){
+this.attr("checked",true);
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CheckBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,601 @@
+/*
+	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["dijit.form.ComboBox"]){
+dojo._hasResource["dijit.form.ComboBox"]=true;
+dojo.provide("dijit.form.ComboBox");
+dojo.require("dijit.form.ValidationTextBox");
+dojo.require("dojo.data.util.simpleFetch");
+dojo.require("dojo.data.util.filter");
+dojo.require("dojo.regexp");
+dojo.requireLocalization("dijit.form","ComboBox",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("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" dojoAttachPoint=\"comboNode\" waiRole=\"combobox\" tabIndex=\"-1\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"downArrowNode\" waiRole=\"presentation\"\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\n\t\t></div\n\t\t><div class=\"di
 jitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input ${nameAttrSetting} type=\"text\" autocomplete=\"off\" class='dijitReset'\n\t\t\tdojoAttachEvent=\"onkeypress:_onKeyPress,compositionend\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"textbox\" waiState=\"haspopup-true,autocomplete-list\"\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitComboBox",_getCaretPos:function(_1){
+var _2=0;
+if(typeof (_1.selectionStart)=="number"){
+_2=_1.selectionStart;
+}else{
+if(dojo.isIE){
+var tr=dojo.doc.selection.createRange().duplicate();
+var _4=_1.createTextRange();
+tr.move("character",0);
+_4.move("character",0);
+try{
+_4.setEndPoint("EndToEnd",tr);
+_2=String(_4.text).replace(/\r/g,"").length;
+}
+catch(e){
+}
+}
+}
+return _2;
+},_setCaretPos:function(_5,_6){
+_6=parseInt(_6);
+dijit.selectInputText(_5,_6,_6);
+},_setDisabledAttr:function(_7){
+this.inherited(arguments);
+dijit.setWaiState(this.comboNode,"disabled",_7);
+},_onKeyPress:function(_8){
+var _9=_8.charOrCode;
+if(_8.altKey||(_8.ctrlKey&&(_9!="x"&&_9!="v"))||_8.key==dojo.keys.SHIFT){
+return;
+}
+var _a=false;
+var pw=this._popupWidget;
+var dk=dojo.keys;
+var _d=null;
+if(this._isShowingNow){
+pw.handleKey(_9);
+_d=pw.getHighlightedOption();
+}
+switch(_9){
+case dk.PAGE_DOWN:
+case dk.DOWN_ARROW:
+if(!this._isShowingNow||this._prev_key_esc){
+this._arrowPressed();
+_a=true;
+}else{
+if(_d){
+this._announceOption(_d);
+}
+}
+dojo.stopEvent(_8);
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+break;
+case dk.PAGE_UP:
+case dk.UP_ARROW:
+if(this._isShowingNow){
+this._announceOption(_d);
+}
+dojo.stopEvent(_8);
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+break;
+case dk.ENTER:
+if(_d){
+if(_d==pw.nextButton){
+this._nextSearch(1);
+dojo.stopEvent(_8);
+break;
+}else{
+if(_d==pw.previousButton){
+this._nextSearch(-1);
+dojo.stopEvent(_8);
+break;
+}
+}
+}else{
+this._setDisplayedValueAttr(this.attr("displayedValue"),true);
+}
+_8.preventDefault();
+case dk.TAB:
+var _e=this.attr("displayedValue");
+if(pw&&(_e==pw._messages["previousMessage"]||_e==pw._messages["nextMessage"])){
+break;
+}
+if(this._isShowingNow){
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+if(_d){
+pw.attr("value",{target:_d});
+}
+this._lastQuery=null;
+this._hideResultList();
+}
+break;
+case " ":
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+if(_d){
+dojo.stopEvent(_8);
+this._selectOption();
+this._hideResultList();
+}else{
+_a=true;
+}
+break;
+case dk.ESCAPE:
+this._prev_key_backspace=false;
+this._prev_key_esc=true;
+if(this._isShowingNow){
+dojo.stopEvent(_8);
+this._hideResultList();
+}
+break;
+case dk.DELETE:
+case dk.BACKSPACE:
+this._prev_key_esc=false;
+this._prev_key_backspace=true;
+_a=true;
+break;
+case dk.RIGHT_ARROW:
+case dk.LEFT_ARROW:
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+break;
+default:
+this._prev_key_backspace=false;
+this._prev_key_esc=false;
+_a=typeof _9=="string";
+}
+if(this.searchTimer){
+clearTimeout(this.searchTimer);
+}
+if(_a){
+setTimeout(dojo.hitch(this,"_startSearchFromInput"),1);
+}
+},_autoCompleteText:function(_f){
+var fn=this.focusNode;
+dijit.selectInputText(fn,fn.value.length);
+var _11=this.ignoreCase?"toLowerCase":"substr";
+if(_f[_11](0).indexOf(this.focusNode.value[_11](0))==0){
+var _12=this._getCaretPos(fn);
+if((_12+1)>fn.value.length){
+fn.value=_f;
+dijit.selectInputText(fn,_12);
+}
+}else{
+fn.value=_f;
+dijit.selectInputText(fn);
+}
+},_openResultList:function(_13,_14){
+if(this.disabled||this.readOnly||(_14.query[this.searchAttr]!=this._lastQuery)){
+return;
+}
+this._popupWidget.clearResultList();
+if(!_13.length){
+this._hideResultList();
+return;
+}
+this.item=null;
+var _15=new String(this.store.getValue(_13[0],this.searchAttr));
+if(_15&&this.autoComplete&&!this._prev_key_backspace&&(_14.query[this.searchAttr]!="*")){
+this.item=_13[0];
+this._autoCompleteText(_15);
+}
+_14._maxOptions=this._maxOptions;
+this._popupWidget.createOptions(_13,_14,dojo.hitch(this,"_getMenuLabelFromItem"));
+this._showResultList();
+if(_14.direction){
+if(1==_14.direction){
+this._popupWidget.highlightFirstOption();
+}else{
+if(-1==_14.direction){
+this._popupWidget.highlightLastOption();
+}
+}
+this._announceOption(this._popupWidget.getHighlightedOption());
+}
+},_showResultList:function(){
+this._hideResultList();
+var _16=this._popupWidget.getItems(),_17=Math.min(_16.length,this.maxListLength);
+this._arrowPressed();
+this.displayMessage("");
+dojo.style(this._popupWidget.domNode,{width:"",height:""});
+var _18=this.open();
+var _19=dojo.marginBox(this._popupWidget.domNode);
+this._popupWidget.domNode.style.overflow=((_18.h==_19.h)&&(_18.w==_19.w))?"hidden":"auto";
+var _1a=_18.w;
+if(_18.h<this._popupWidget.domNode.scrollHeight){
+_1a+=16;
+}
+dojo.marginBox(this._popupWidget.domNode,{h:_18.h,w:Math.max(_1a,this.domNode.offsetWidth)});
+dijit.setWaiState(this.comboNode,"expanded","true");
+},_hideResultList:function(){
+if(this._isShowingNow){
+dijit.popup.close(this._popupWidget);
+this._arrowIdle();
+this._isShowingNow=false;
+dijit.setWaiState(this.comboNode,"expanded","false");
+dijit.removeWaiState(this.focusNode,"activedescendant");
+}
+},_setBlurValue:function(){
+var _1b=this.attr("displayedValue");
+var pw=this._popupWidget;
+if(pw&&(_1b==pw._messages["previousMessage"]||_1b==pw._messages["nextMessage"])){
+this._setValueAttr(this._lastValueReported,true);
+}else{
+this.attr("displayedValue",_1b);
+}
+},_onBlur:function(){
+this._hideResultList();
+this._arrowIdle();
+this.inherited(arguments);
+},_announceOption:function(_1d){
+if(_1d==null){
+return;
+}
+var _1e;
+if(_1d==this._popupWidget.nextButton||_1d==this._popupWidget.previousButton){
+_1e=_1d.innerHTML;
+}else{
+_1e=this.store.getValue(_1d.item,this.searchAttr);
+}
+this.focusNode.value=this.focusNode.value.substring(0,this._getCaretPos(this.focusNode));
+dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(_1d,"id"));
+this._autoCompleteText(_1e);
+},_selectOption:function(evt){
+var tgt=null;
+if(!evt){
+evt={target:this._popupWidget.getHighlightedOption()};
+}
+if(!evt.target){
+this.attr("displayedValue",this.attr("displayedValue"));
+return;
+}else{
+tgt=evt.target;
+}
+if(!evt.noHide){
+this._hideResultList();
+this._setCaretPos(this.focusNode,this.store.getValue(tgt.item,this.searchAttr).length);
+}
+this._doSelect(tgt);
+},_doSelect:function(tgt){
+this.item=tgt.item;
+this.attr("value",this.store.getValue(tgt.item,this.searchAttr));
+},_onArrowMouseDown:function(evt){
+if(this.disabled||this.readOnly){
+return;
+}
+dojo.stopEvent(evt);
+this.focus();
+if(this._isShowingNow){
+this._hideResultList();
+}else{
+this._startSearch("");
+}
+},_startSearchFromInput:function(){
+this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));
+},_getQueryString:function(_23){
+return dojo.string.substitute(this.queryExpr,[_23]);
+},_startSearch:function(key){
+if(!this._popupWidget){
+var _25=this.id+"_popup";
+this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_25});
+dijit.removeWaiState(this.focusNode,"activedescendant");
+dijit.setWaiState(this.textbox,"owns",_25);
+}
+this.item=null;
+var _26=dojo.clone(this.query);
+this._lastInput=key;
+this._lastQuery=_26[this.searchAttr]=this._getQueryString(key);
+this.searchTimer=setTimeout(dojo.hitch(this,function(_27,_28){
+var _29={queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_27,onBegin:dojo.hitch(this,"_setMaxOptions"),onComplete:dojo.hitch(this,"_openResultList"),onError:function(_2a){
+console.error("dijit.form.ComboBox: "+_2a);
+dojo.hitch(_28,"_hideResultList")();
+},start:0,count:this.pageSize};
+dojo.mixin(_29,_28.fetchProperties);
+var _2b=_28.store.fetch(_29);
+var _2c=function(_2d,_2e){
+_2d.start+=_2d.count*_2e;
+_2d.direction=_2e;
+this.store.fetch(_2d);
+};
+this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_2c,_2b);
+},_26,this),this.searchDelay);
+},_setMaxOptions:function(_2f,_30){
+this._maxOptions=_2f;
+},_getValueField:function(){
+return this.searchAttr;
+},_arrowPressed:function(){
+if(!this.disabled&&!this.readOnly&&this.hasDownArrow){
+dojo.addClass(this.downArrowNode,"dijitArrowButtonActive");
+}
+},_arrowIdle:function(){
+if(!this.disabled&&!this.readOnly&&this.hasDownArrow){
+dojo.removeClass(this.downArrowNode,"dojoArrowButtonPushed");
+}
+},compositionend:function(evt){
+this._onKeyPress({charCode:-1});
+},constructor:function(){
+this.query={};
+this.fetchProperties={};
+},postMixInProperties:function(){
+if(!this.hasDownArrow){
+this.baseClass="dijitTextBox";
+}
+if(!this.store){
+var _32=this.srcNodeRef;
+this.store=new dijit.form._ComboBoxDataStore(_32);
+if(!this.value||((typeof _32.selectedIndex=="number")&&_32.selectedIndex.toString()===this.value)){
+var _33=this.store.fetchSelectedItem();
+if(_33){
+this.value=this.store.getValue(_33,this._getValueField());
+}
+}
+}
+this.inherited(arguments);
+},postCreate:function(){
+var _34=dojo.query("label[for=\""+this.id+"\"]");
+if(_34.length){
+_34[0].id=(this.id+"_label");
+var cn=this.comboNode;
+dijit.setWaiState(cn,"labelledby",_34[0].id);
+}
+this.inherited(arguments);
+},uninitialize:function(){
+if(this._popupWidget){
+this._hideResultList();
+this._popupWidget.destroy();
+}
+},_getMenuLabelFromItem:function(_36){
+var _37=this.store.getValue(_36,this.labelAttr||this.searchAttr);
+var _38=this.labelType;
+if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){
+_37=this.doHighlight(_37,this._escapeHtml(this._lastInput));
+_38="html";
+}
+return {html:_38=="html",label:_37};
+},doHighlight:function(_39,_3a){
+var _3b="i"+(this.highlightMatch=="all"?"g":"");
+var _3c=this._escapeHtml(_39);
+_3a=dojo.regexp.escapeString(_3a);
+var ret=_3c.replace(new RegExp("(^|\\s)("+_3a+")",_3b),"$1<span class=\"dijitComboBoxHighlightMatch\">$2</span>");
+return ret;
+},_escapeHtml:function(str){
+str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");
+return str;
+},open:function(){
+this._isShowingNow=true;
+return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});
+},reset:function(){
+this.item=null;
+this.inherited(arguments);
+}});
+dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"<ul class='dijitReset dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow: \"auto\"; overflow-x: \"hidden\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton' waiRole='option'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton' waiRole='option'></li>"+"</ul>",_messages:null,postMixInProperties:function(){
+this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);
+this.inherited(arguments);
+},_setValueAttr:function(_3f){
+this.value=_3f;
+this.onChange(_3f);
+},onChange:function(_40){
+},onPage:function(_41){
+},postCreate:function(){
+this.previousButton.innerHTML=this._messages["previousMessage"];
+this.nextButton.innerHTML=this._messages["nextMessage"];
+this.inherited(arguments);
+},onClose:function(){
+this._blurOptionNode();
+},_createOption:function(_42,_43){
+var _44=_43(_42);
+var _45=dojo.doc.createElement("li");
+dijit.setWaiRole(_45,"option");
+if(_44.html){
+_45.innerHTML=_44.label;
+}else{
+_45.appendChild(dojo.doc.createTextNode(_44.label));
+}
+if(_45.innerHTML==""){
+_45.innerHTML="&nbsp;";
+}
+_45.item=_42;
+return _45;
+},createOptions:function(_46,_47,_48){
+this.previousButton.style.display=(_47.start==0)?"none":"";
+dojo.attr(this.previousButton,"id",this.id+"_prev");
+dojo.forEach(_46,function(_49,i){
+var _4b=this._createOption(_49,_48);
+_4b.className="dijitReset dijitMenuItem";
+dojo.attr(_4b,"id",this.id+i);
+this.domNode.insertBefore(_4b,this.nextButton);
+},this);
+var _4c=false;
+if(_47._maxOptions&&_47._maxOptions!=-1){
+if((_47.start+_47.count)<_47._maxOptions){
+_4c=true;
+}else{
+if((_47.start+_47.count)>(_47._maxOptions-1)){
+if(_47.count==_46.length){
+_4c=true;
+}
+}
+}
+}else{
+if(_47.count==_46.length){
+_4c=true;
+}
+}
+this.nextButton.style.display=_4c?"":"none";
+dojo.attr(this.nextButton,"id",this.id+"_next");
+},clearResultList:function(){
+while(this.domNode.childNodes.length>2){
+this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);
+}
+},getItems:function(){
+return this.domNode.childNodes;
+},getListLength:function(){
+return this.domNode.childNodes.length-2;
+},_onMouseDown:function(evt){
+dojo.stopEvent(evt);
+},_onMouseUp:function(evt){
+if(evt.target===this.domNode){
+return;
+}else{
+if(evt.target==this.previousButton){
+this.onPage(-1);
+}else{
+if(evt.target==this.nextButton){
+this.onPage(1);
+}else{
+var tgt=evt.target;
+while(!tgt.item){
+tgt=tgt.parentNode;
+}
+this._setValueAttr({target:tgt},true);
+}
+}
+}
+},_onMouseOver:function(evt){
+if(evt.target===this.domNode){
+return;
+}
+var tgt=evt.target;
+if(!(tgt==this.previousButton||tgt==this.nextButton)){
+while(!tgt.item){
+tgt=tgt.parentNode;
+}
+}
+this._focusOptionNode(tgt);
+},_onMouseOut:function(evt){
+if(evt.target===this.domNode){
+return;
+}
+this._blurOptionNode();
+},_focusOptionNode:function(_53){
+if(this._highlighted_option!=_53){
+this._blurOptionNode();
+this._highlighted_option=_53;
+dojo.addClass(this._highlighted_option,"dijitMenuItemSelected");
+}
+},_blurOptionNode:function(){
+if(this._highlighted_option){
+dojo.removeClass(this._highlighted_option,"dijitMenuItemSelected");
+this._highlighted_option=null;
+}
+},_highlightNextOption:function(){
+var fc=this.domNode.firstChild;
+if(!this.getHighlightedOption()){
+this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);
+}else{
+var ns=this._highlighted_option.nextSibling;
+if(ns&&ns.style.display!="none"){
+this._focusOptionNode(ns);
+}
+}
+dijit.scrollIntoView(this._highlighted_option);
+},highlightFirstOption:function(){
+this._focusOptionNode(this.domNode.firstChild.nextSibling);
+dijit.scrollIntoView(this._highlighted_option);
+},highlightLastOption:function(){
+this._focusOptionNode(this.domNode.lastChild.previousSibling);
+dijit.scrollIntoView(this._highlighted_option);
+},_highlightPrevOption:function(){
+var lc=this.domNode.lastChild;
+if(!this.getHighlightedOption()){
+this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);
+}else{
+var ps=this._highlighted_option.previousSibling;
+if(ps&&ps.style.display!="none"){
+this._focusOptionNode(ps);
+}
+}
+dijit.scrollIntoView(this._highlighted_option);
+},_page:function(up){
+var _59=0;
+var _5a=this.domNode.scrollTop;
+var _5b=dojo.style(this.domNode,"height");
+if(!this.getHighlightedOption()){
+this._highlightNextOption();
+}
+while(_59<_5b){
+if(up){
+if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){
+break;
+}
+this._highlightPrevOption();
+}else{
+if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){
+break;
+}
+this._highlightNextOption();
+}
+var _5c=this.domNode.scrollTop;
+_59+=(_5c-_5a)*(up?-1:1);
+_5a=_5c;
+}
+},pageUp:function(){
+this._page(true);
+},pageDown:function(){
+this._page(false);
+},getHighlightedOption:function(){
+var ho=this._highlighted_option;
+return (ho&&ho.parentNode)?ho:null;
+},handleKey:function(key){
+switch(key){
+case dojo.keys.DOWN_ARROW:
+this._highlightNextOption();
+break;
+case dojo.keys.PAGE_DOWN:
+this.pageDown();
+break;
+case dojo.keys.UP_ARROW:
+this._highlightPrevOption();
+break;
+case dojo.keys.PAGE_UP:
+this.pageUp();
+break;
+}
+}});
+dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{_setValueAttr:function(_5f,_60){
+if(!_5f){
+_5f="";
+}
+dijit.form.ValidationTextBox.prototype._setValueAttr.call(this,_5f,_60);
+}});
+dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(_61){
+this.root=_61;
+dojo.query("> option",_61).forEach(function(_62){
+_62.innerHTML=dojo.trim(_62.innerHTML);
+});
+},getValue:function(_63,_64,_65){
+return (_64=="value")?_63.value:(_63.innerText||_63.textContent||"");
+},isItemLoaded:function(_66){
+return true;
+},getFeatures:function(){
+return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};
+},_fetchItems:function(_67,_68,_69){
+if(!_67.query){
+_67.query={};
+}
+if(!_67.query.name){
+_67.query.name="";
+}
+if(!_67.queryOptions){
+_67.queryOptions={};
+}
+var _6a=dojo.data.util.filter.patternToRegExp(_67.query.name,_67.queryOptions.ignoreCase),_6b=dojo.query("> option",this.root).filter(function(_6c){
+return (_6c.innerText||_6c.textContent||"").match(_6a);
+});
+if(_67.sort){
+_6b.sort(dojo.data.util.sorter.createSortFunction(_67.sort,this));
+}
+_68(_6b,_67);
+},close:function(_6d){
+return;
+},getLabel:function(_6e){
+return _6e.innerHTML;
+},getIdentity:function(_6f){
+return dojo.attr(_6f,"value");
+},fetchItemByIdentity:function(_70){
+var _71=dojo.query("option[value='"+_70.identity+"']",this.root)[0];
+_70.onItem(_71);
+},fetchSelectedItem:function(){
+var _72=this.root,si=_72.selectedIndex;
+return dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",_72)[0];
+}});
+dojo.extend(dijit.form._ComboBoxDataStore,dojo.data.util.simpleFetch);
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboButton.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboButton.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboButton.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboButton.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.ComboButton"]){
+dojo._hasResource["dijit.form.ComboButton"]=true;
+dojo.provide("dijit.form.ComboButton");
+dojo.require("dijit.form.Button");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ComboButton.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CurrencyTextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CurrencyTextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CurrencyTextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CurrencyTextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,20 @@
+/*
+	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["dijit.form.CurrencyTextBox"]){
+dojo._hasResource["dijit.form.CurrencyTextBox"]=true;
+dojo.provide("dijit.form.CurrencyTextBox");
+dojo.require("dojo.currency");
+dojo.require("dijit.form.NumberTextBox");
+dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,_formatter:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){
+if(this.constraints===dijit.form.ValidationTextBox.prototype.constraints){
+this.constraints={};
+}
+this.constraints.currency=this.currency;
+dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this,arguments);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/CurrencyTextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DateTextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DateTextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DateTextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DateTextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,14 @@
+/*
+	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["dijit.form.DateTextBox"]){
+dojo._hasResource["dijit.form.DateTextBox"]=true;
+dojo.provide("dijit.form.DateTextBox");
+dojo.require("dijit._Calendar");
+dojo.require("dijit.form._DateTimeTextBox");
+dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitDateTextBox",popupClass:"dijit._Calendar",_selector:"date",value:new Date("")});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DateTextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DropDownButton.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DropDownButton.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DropDownButton.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DropDownButton.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.DropDownButton"]){
+dojo._hasResource["dijit.form.DropDownButton"]=true;
+dojo.provide("dijit.form.DropDownButton");
+dojo.require("dijit.form.Button");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/DropDownButton.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/FilteringSelect.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/FilteringSelect.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/FilteringSelect.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/FilteringSelect.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,104 @@
+/*
+	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["dijit.form.FilteringSelect"]){
+dojo._hasResource["dijit.form.FilteringSelect"]=true;
+dojo.provide("dijit.form.FilteringSelect");
+dojo.require("dijit.form.ComboBox");
+dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{_isvalid:true,required:true,_lastDisplayedValue:"",isValid:function(){
+return this._isvalid||(!this.required&&this.attr("displayedValue")=="");
+},_callbackSetLabel:function(_1,_2,_3){
+if((_2&&_2.query[this.searchAttr]!=this._lastQuery)||(!_2&&_1.length&&this.store.getIdentity(_1[0])!=this._lastQuery)){
+return;
+}
+if(!_1.length){
+if(_3||!this._focused){
+this.valueNode.value="";
+}
+dijit.form.TextBox.superclass._setValueAttr.call(this,"",_3||!this._focused);
+this._isvalid=false;
+this.validate(this._focused);
+this.item=null;
+}else{
+this._setValueFromItem(_1[0],_3);
+}
+},_openResultList:function(_4,_5){
+if(_5.query[this.searchAttr]!=this._lastQuery){
+return;
+}
+this._isvalid=_4.length!=0;
+this.validate(true);
+dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);
+},_getValueAttr:function(){
+return this.valueNode.value;
+},_getValueField:function(){
+return "value";
+},_setValue:function(_6,_7,_8){
+this.valueNode.value=_6;
+dijit.form.FilteringSelect.superclass._setValueAttr.call(this,_6,_8,_7);
+this._lastDisplayedValue=_7;
+},_setValueAttr:function(_9,_a){
+if(!this._onChangeActive){
+_a=null;
+}
+this._lastQuery=_9;
+if(_9===null||_9===""){
+this._setDisplayedValueAttr("",_a);
+return;
+}
+var _b=this;
+var _c=function(_d,_e){
+if(_d){
+if(_b.store.isItemLoaded(_d)){
+_b._callbackSetLabel([_d],undefined,_e);
+}else{
+_b.store.loadItem({item:_d,onItem:function(_f,_10){
+_b._callbackSetLabel(_f,_10,_e);
+}});
+}
+}else{
+_b._isvalid=false;
+_b.validate(false);
+}
+};
+this.store.fetchItemByIdentity({identity:_9,onItem:function(_11){
+_c(_11,_a);
+}});
+},_setValueFromItem:function(_12,_13){
+this._isvalid=true;
+this.item=_12;
+this._setValue(this.store.getIdentity(_12),this.labelFunc(_12,this.store),_13);
+},labelFunc:function(_14,_15){
+return _15.getValue(_14,this.searchAttr);
+},_doSelect:function(tgt){
+this._setValueFromItem(tgt.item,true);
+},_setDisplayedValueAttr:function(_17,_18){
+if(!this._created){
+_18=false;
+}
+if(this.store){
+var _19=dojo.clone(this.query);
+this._lastQuery=_19[this.searchAttr]=_17.replace(/([\\\*\?])/g,"\\$1");
+this.textbox.value=_17;
+this._lastDisplayedValue=_17;
+var _1a=this;
+var _1b={query:_19,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:function(_1c,_1d){
+dojo.hitch(_1a,"_callbackSetLabel")(_1c,_1d,_18);
+},onError:function(_1e){
+console.error("dijit.form.FilteringSelect: "+_1e);
+dojo.hitch(_1a,"_setValue")("",_17,false);
+}};
+dojo.mixin(_1b,this.fetchProperties);
+this.store.fetch(_1b);
+}
+},postMixInProperties:function(){
+this.inherited(arguments);
+this._isvalid=!this.required;
+},undo:function(){
+this.attr("displayedValue",this._lastDisplayedValue);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/FilteringSelect.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Form.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Form.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Form.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Form.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,62 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.Form"]){
+dojo._hasResource["dijit.form.Form"]=true;
+dojo.provide("dijit.form.Form");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dijit.form._FormMixin");
+dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' ${nameAttrSetting}></form>",attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),postMixInProperties:function(){
+this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";
+this.inherited(arguments);
+},execute:function(_1){
+},onExecute:function(){
+},_setEncTypeAttr:function(_2){
+this.encType=_2;
+dojo.attr(this.domNode,"encType",_2);
+if(dojo.isIE){
+this.domNode.encoding=_2;
+}
+},postCreate:function(){
+if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){
+var _3=this.srcNodeRef.attributes.getNamedItem("encType");
+if(_3&&!_3.specified&&(typeof _3.value=="string")){
+this.attr("encType",_3.value);
+}
+}
+this.inherited(arguments);
+},onReset:function(e){
+return true;
+},_onReset:function(e){
+var _6={returnValue:true,preventDefault:function(){
+this.returnValue=false;
+},stopPropagation:function(){
+},currentTarget:e.currentTarget,target:e.target};
+if(!(this.onReset(_6)===false)&&_6.returnValue){
+this.reset();
+}
+dojo.stopEvent(e);
+return false;
+},_onSubmit:function(e){
+var fp=dijit.form.Form.prototype;
+if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){
+dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");
+this.onExecute();
+this.execute(this.getValues());
+}
+if(this.onSubmit(e)===false){
+dojo.stopEvent(e);
+}
+},onSubmit:function(e){
+return this.isValid();
+},submit:function(){
+if(!(this.onSubmit()===false)){
+this.containerNode.submit();
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Form.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRule.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRule.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRule.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRule.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,38 @@
+/*
+	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["dijit.form.HorizontalRule"]){
+dojo._hasResource["dijit.form.HorizontalRule"]=true;
+dojo.provide("dijit.form.HorizontalRule");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.declare("dijit.form.HorizontalRule",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(_1,_2){
+return this._positionPrefix+_1+this._positionSuffix+this.ruleStyle+this._suffix;
+},_isHorizontal:true,postCreate:function(){
+var _3;
+if(this.count==1){
+_3=this._genHTML(50,0);
+}else{
+var i;
+var _5=100/(this.count-1);
+if(!this._isHorizontal||this.isLeftToRight()){
+_3=this._genHTML(0,0);
+for(i=1;i<this.count-1;i++){
+_3+=this._genHTML(_5*i,i);
+}
+_3+=this._genHTML(100,this.count-1);
+}else{
+_3=this._genHTML(100,0);
+for(i=1;i<this.count-1;i++){
+_3+=this._genHTML(100-_5*i,i);
+}
+_3+=this._genHTML(0,this.count-1);
+}
+}
+this.domNode.innerHTML=_3;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRule.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRuleLabels.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRuleLabels.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRuleLabels.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRuleLabels.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,38 @@
+/*
+	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["dijit.form.HorizontalRuleLabels"]){
+dojo._hasResource["dijit.form.HorizontalRuleLabels"]=true;
+dojo.provide("dijit.form.HorizontalRuleLabels");
+dojo.require("dijit.form.HorizontalRule");
+dojo.declare("dijit.form.HorizontalRuleLabels",dijit.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</span></div>",_calcPosition:function(_1){
+return _1;
+},_genHTML:function(_2,_3){
+return this._positionPrefix+this._calcPosition(_2)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[_3]+this._suffix;
+},getLabels:function(){
+var _4=this.labels;
+if(!_4.length){
+_4=dojo.query("> li",this.srcNodeRef).map(function(_5){
+return String(_5.innerHTML);
+});
+}
+this.srcNodeRef.innerHTML="";
+if(!_4.length&&this.count>1){
+var _6=this.minimum;
+var _7=(this.maximum-_6)/(this.count-1);
+for(var i=0;i<this.count;i++){
+_4.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":dojo.number.format(_6,this.constraints));
+_6+=_7;
+}
+}
+return _4;
+},postMixInProperties:function(){
+this.inherited(arguments);
+this.labels=this.getLabels();
+this.count=this.labels.length;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalRuleLabels.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalSlider.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalSlider.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalSlider.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalSlider.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,202 @@
+/*
+	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["dijit.form.HorizontalSlider"]){
+dojo._hasResource["dijit.form.HorizontalSlider"]=true;
+dojo.provide("dijit.form.HorizontalSlider");
+dojo.require("dijit.form._FormWidget");
+dojo.require("dijit._Container");
+dojo.require("dojo.dnd.move");
+dojo.require("dijit.form.Button");
+dojo.require("dojo.number");
+dojo.require("dojo._base.fx");
+dojo.declare("dijit.form.HorizontalSlider",[dijit.form._FormValueWidget,dijit._Container],{templateString:"<table class=\"dijit dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,topDecoration\" class=\"dijitReset\" style=\"text-align:center;width:100%;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper dijitSliderLeftBumper\" dojoAttachEven
 t=\"onmousedown:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" ${nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" waiRole=\"presentation\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" dojoAttachEvent=\"onmousedown:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\" \n\t\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" dojoAttachEvent=\"onmousedown:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div waiRole=\"presentation\" dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingB
 arH\" dojoAttachEvent=\"onmousedown:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper dijitSliderRightBumper\" dojoAttachEvent=\"onmousedown:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\" style=\"right:0px;\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,bottomDecoration\" class=\"dijitReset\" style=\"text-align:center;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n",value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:d
 ijit.defaultDuration,widgetsInTemplate:true,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{id:""}),baseClass:"dijitSlider",_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_startingPixelCount:"l",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyPress:function(e){
+if(this.disabled||this.readOnly||e.altKey||e.ctrlKey){
+return;
+}
+switch(e.charOrCode){
+case dojo.keys.HOME:
+this._setValueAttr(this.minimum,true);
+break;
+case dojo.keys.END:
+this._setValueAttr(this.maximum,true);
+break;
+case ((this._descending||this.isLeftToRight())?dojo.keys.RIGHT_ARROW:dojo.keys.LEFT_ARROW):
+case (this._descending===false?dojo.keys.DOWN_ARROW:dojo.keys.UP_ARROW):
+case (this._descending===false?dojo.keys.PAGE_DOWN:dojo.keys.PAGE_UP):
+this.increment(e);
+break;
+case ((this._descending||this.isLeftToRight())?dojo.keys.LEFT_ARROW:dojo.keys.RIGHT_ARROW):
+case (this._descending===false?dojo.keys.UP_ARROW:dojo.keys.DOWN_ARROW):
+case (this._descending===false?dojo.keys.PAGE_UP:dojo.keys.PAGE_DOWN):
+this.decrement(e);
+break;
+default:
+return;
+}
+dojo.stopEvent(e);
+},_onHandleClick:function(e){
+if(this.disabled||this.readOnly){
+return;
+}
+if(!dojo.isIE){
+dijit.focus(this.sliderHandle);
+}
+dojo.stopEvent(e);
+},_isReversed:function(){
+return !this.isLeftToRight();
+},_onBarClick:function(e){
+if(this.disabled||this.readOnly||!this.clickSelect){
+return;
+}
+dijit.focus(this.sliderHandle);
+dojo.stopEvent(e);
+var _4=dojo.coords(this.sliderBarContainer,true);
+var _5=e[this._mousePixelCoord]-_4[this._startingPixelCoord];
+this._setPixelValue(this._isReversed()?(_4[this._pixelCount]-_5):_5,_4[this._pixelCount],true);
+this._movable.onMouseDown(e);
+},_setPixelValue:function(_6,_7,_8){
+if(this.disabled||this.readOnly){
+return;
+}
+_6=_6<0?0:_7<_6?_7:_6;
+var _9=this.discreteValues;
+if(_9<=1||_9==Infinity){
+_9=_7;
+}
+_9--;
+var _a=_7/_9;
+var _b=Math.round(_6/_a);
+this._setValueAttr((this.maximum-this.minimum)*_b/_9+this.minimum,_8);
+},_setValueAttr:function(_c,_d){
+this.valueNode.value=this.value=_c;
+dijit.setWaiState(this.focusNode,"valuenow",_c);
+this.inherited(arguments);
+var _e=(_c-this.minimum)/(this.maximum-this.minimum);
+var _f=(this._descending===false)?this.remainingBar:this.progressBar;
+var _10=(this._descending===false)?this.progressBar:this.remainingBar;
+if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){
+this._inProgressAnim.stop(true);
+}
+if(_d&&this.slideDuration>0&&_f.style[this._progressPixelSize]){
+var _11=this;
+var _12={};
+var _13=parseFloat(_f.style[this._progressPixelSize]);
+var _14=this.slideDuration*(_e-_13/100);
+if(_14==0){
+return;
+}
+if(_14<0){
+_14=0-_14;
+}
+_12[this._progressPixelSize]={start:_13,end:_e*100,units:"%"};
+this._inProgressAnim=dojo.animateProperty({node:_f,duration:_14,onAnimate:function(v){
+_10.style[_11._progressPixelSize]=(100-parseFloat(v[_11._progressPixelSize]))+"%";
+},onEnd:function(){
+delete _11._inProgressAnim;
+},properties:_12});
+this._inProgressAnim.play();
+}else{
+_f.style[this._progressPixelSize]=(_e*100)+"%";
+_10.style[this._progressPixelSize]=((1-_e)*100)+"%";
+}
+},_bumpValue:function(_16){
+if(this.disabled||this.readOnly){
+return;
+}
+var s=dojo.getComputedStyle(this.sliderBarContainer);
+var c=dojo._getContentBox(this.sliderBarContainer,s);
+var _19=this.discreteValues;
+if(_19<=1||_19==Infinity){
+_19=c[this._pixelCount];
+}
+_19--;
+var _1a=(this.value-this.minimum)*_19/(this.maximum-this.minimum)+_16;
+if(_1a<0){
+_1a=0;
+}
+if(_1a>_19){
+_1a=_19;
+}
+_1a=_1a*(this.maximum-this.minimum)/_19+this.minimum;
+this._setValueAttr(_1a,true);
+},_onClkBumper:function(val){
+if(this.disabled||this.readOnly||!this.clickSelect){
+return;
+}
+this._setValueAttr(val,true);
+},_onClkIncBumper:function(){
+this._onClkBumper(this._descending===false?this.minimum:this.maximum);
+},_onClkDecBumper:function(){
+this._onClkBumper(this._descending===false?this.maximum:this.minimum);
+},decrement:function(e){
+this._bumpValue(e.charOrCode==dojo.keys.PAGE_DOWN?-this.pageIncrement:-1);
+},increment:function(e){
+this._bumpValue(e.charOrCode==dojo.keys.PAGE_UP?this.pageIncrement:1);
+},_mouseWheeled:function(evt){
+dojo.stopEvent(evt);
+var _1f=!dojo.isMozilla;
+var _20=evt[(_1f?"wheelDelta":"detail")]*(_1f?1:-1);
+this[(_20<0?"decrement":"increment")](evt);
+},startup:function(){
+dojo.forEach(this.getChildren(),function(_21){
+if(this[_21.container]!=this.containerNode){
+this[_21.container].appendChild(_21.domNode);
+}
+},this);
+},_typematicCallback:function(_22,_23,e){
+if(_22==-1){
+return;
+}
+this[(_23==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);
+},postCreate:function(){
+if(this.showButtons){
+this.incrementButton.style.display="";
+this.decrementButton.style.display="";
+this._connects.push(dijit.typematic.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));
+this._connects.push(dijit.typematic.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));
+}
+this.connect(this.domNode,!dojo.isMozilla?"onmousewheel":"DOMMouseScroll","_mouseWheeled");
+var _25=this;
+var _26=function(){
+dijit.form._SliderMover.apply(this,arguments);
+this.widget=_25;
+};
+dojo.extend(_26,dijit.form._SliderMover.prototype);
+this._movable=new dojo.dnd.Moveable(this.sliderHandle,{mover:_26});
+var _27=dojo.query("label[for=\""+this.id+"\"]");
+if(_27.length){
+_27[0].id=(this.id+"_label");
+dijit.setWaiState(this.focusNode,"labelledby",_27[0].id);
+}
+dijit.setWaiState(this.focusNode,"valuemin",this.minimum);
+dijit.setWaiState(this.focusNode,"valuemax",this.maximum);
+this.inherited(arguments);
+},destroy:function(){
+this._movable.destroy();
+if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){
+this._inProgressAnim.stop(true);
+}
+this.inherited(arguments);
+}});
+dojo.declare("dijit.form._SliderMover",dojo.dnd.Mover,{onMouseMove:function(e){
+var _29=this.widget;
+var _2a=_29._abspos;
+if(!_2a){
+_2a=_29._abspos=dojo.coords(_29.sliderBarContainer,true);
+_29._setPixelValue_=dojo.hitch(_29,"_setPixelValue");
+_29._isReversed_=_29._isReversed();
+}
+var _2b=e[_29._mousePixelCoord]-_2a[_29._startingPixelCoord];
+_29._setPixelValue_(_29._isReversed_?(_2a[_29._pixelCount]-_2b):_2b,_2a[_29._pixelCount],false);
+},destroy:function(e){
+dojo.dnd.Mover.prototype.destroy.apply(this,arguments);
+var _2d=this.widget;
+_2d._abspos=null;
+_2d._setValueAttr(_2d.value,true);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/HorizontalSlider.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MappedTextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MappedTextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MappedTextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MappedTextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.MappedTextBox"]){
+dojo._hasResource["dijit.form.MappedTextBox"]=true;
+dojo.provide("dijit.form.MappedTextBox");
+dojo.require("dijit.form.ValidationTextBox");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MappedTextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MultiSelect.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MultiSelect.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MultiSelect.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MultiSelect.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,49 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.MultiSelect"]){
+dojo._hasResource["dijit.form.MultiSelect"]=true;
+dojo.provide("dijit.form.MultiSelect");
+dojo.require("dijit.form._FormWidget");
+dojo.declare("dijit.form.MultiSelect",dijit.form._FormWidget,{size:7,templateString:"<select multiple='true' ${nameAttrSetting} dojoAttachPoint='containerNode,focusNode' dojoAttachEvent='onchange: _onChange'></select>",attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{size:"focusNode"}),reset:function(){
+this._hasBeenBlurred=false;
+this._setValueAttr(this._resetValue,true);
+},addSelected:function(_1){
+_1.getSelected().forEach(function(n){
+this.containerNode.appendChild(n);
+this.domNode.scrollTop=this.domNode.offsetHeight;
+var _3=_1.domNode.scrollTop;
+_1.domNode.scrollTop=0;
+_1.domNode.scrollTop=_3;
+},this);
+},getSelected:function(){
+return dojo.query("option",this.containerNode).filter(function(n){
+return n.selected;
+});
+},_getValueAttr:function(){
+return this.getSelected().map(function(n){
+return n.value;
+});
+},_multiValue:true,_setValueAttr:function(_6){
+dojo.query("option",this.containerNode).forEach(function(n){
+n.selected=(dojo.indexOf(_6,n.value)!=-1);
+});
+},invertSelection:function(_8){
+dojo.query("option",this.containerNode).forEach(function(n){
+n.selected=!n.selected;
+});
+this._handleOnChange(this.attr("value"),_8==true);
+},_onChange:function(e){
+this._handleOnChange(this.attr("value"),true);
+},resize:function(_b){
+if(_b){
+dojo.marginBox(this.domNode,_b);
+}
+},postCreate:function(){
+this._onChange();
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/MultiSelect.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberSpinner.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberSpinner.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberSpinner.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberSpinner.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,38 @@
+/*
+	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["dijit.form.NumberSpinner"]){
+dojo._hasResource["dijit.form.NumberSpinner"]=true;
+dojo.provide("dijit.form.NumberSpinner");
+dojo.require("dijit.form._Spinner");
+dojo.require("dijit.form.NumberTextBox");
+dojo.declare("dijit.form.NumberSpinner",[dijit.form._Spinner,dijit.form.NumberTextBoxMixin],{required:true,adjust:function(_1,_2){
+var tc=this.constraints,v=isNaN(_1),_5=!isNaN(tc.max),_6=!isNaN(tc.min);
+if(v&&_2!=0){
+_1=(_2>0)?_6?tc.min:_5?tc.max:0:_5?this.constraints.max:_6?tc.min:0;
+}
+var _7=_1+_2;
+if(v||isNaN(_7)){
+return _1;
+}
+if(_5&&(_7>tc.max)){
+_7=tc.max;
+}
+if(_6&&(_7<tc.min)){
+_7=tc.min;
+}
+return _7;
+},_onKeyPress:function(e){
+if((e.charOrCode==dojo.keys.HOME||e.charOrCode==dojo.keys.END)&&!e.ctrlKey&&!e.altKey){
+var _9=this.constraints[(e.charOrCode==dojo.keys.HOME?"min":"max")];
+if(_9){
+this._setValueAttr(_9,true);
+}
+dojo.stopEvent(e);
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberSpinner.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberTextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberTextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberTextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberTextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,45 @@
+/*
+	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["dijit.form.NumberTextBox"]){
+dojo._hasResource["dijit.form.NumberTextBox"]=true;
+dojo.provide("dijit.form.NumberTextBox");
+dojo.require("dijit.form.ValidationTextBox");
+dojo.require("dojo.number");
+dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,editOptions:{pattern:"#.######"},_formatter:dojo.number.format,_onFocus:function(){
+if(this.disabled){
+return;
+}
+var _1=this.attr("value");
+if(typeof _1=="number"&&!isNaN(_1)){
+this.textbox.value=this.format(_1,this.constraints);
+}
+this.inherited(arguments);
+},format:function(_2,_3){
+if(typeof _2=="string"){
+return _2;
+}
+if(isNaN(_2)){
+return "";
+}
+if(this.editOptions&&this._focused){
+_3=dojo.mixin(dojo.mixin({},this.editOptions),this.constraints);
+}
+return this._formatter(_2,_3);
+},parse:dojo.number.parse,_getDisplayedValueAttr:function(){
+var v=this.inherited(arguments);
+return isNaN(v)?this.textbox.value:v;
+},filter:function(_5){
+return (_5===null||_5===""||_5===undefined)?NaN:this.inherited(arguments);
+},serialize:function(_6,_7){
+return (typeof _6!="number"||isNaN(_6))?"":this.inherited(arguments);
+},_getValueAttr:function(){
+var v=this.inherited(arguments);
+return (isNaN(v)&&this.textbox.value!=="")?undefined:v;
+},value:NaN});
+dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/NumberTextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/RangeBoundTextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/RangeBoundTextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/RangeBoundTextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/RangeBoundTextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.RangeBoundTextBox"]){
+dojo._hasResource["dijit.form.RangeBoundTextBox"]=true;
+dojo.provide("dijit.form.RangeBoundTextBox");
+dojo.require("dijit.form.ValidationTextBox");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/RangeBoundTextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/SimpleTextarea.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/SimpleTextarea.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/SimpleTextarea.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/SimpleTextarea.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,57 @@
+/*
+	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["dijit.form.SimpleTextarea"]){
+dojo._hasResource["dijit.form.SimpleTextarea"]=true;
+dojo.provide("dijit.form.SimpleTextarea");
+dojo.require("dijit.form.TextBox");
+dojo.declare("dijit.form.SimpleTextarea",dijit.form.TextBox,{baseClass:"dijitTextArea",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{rows:"textbox",cols:"textbox"}),rows:"3",cols:"20",templatePath:null,templateString:"<textarea ${nameAttrSetting} dojoAttachPoint='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){
+if(!this.value&&this.srcNodeRef){
+this.value=this.srcNodeRef.value;
+}
+this.inherited(arguments);
+},filter:function(_1){
+if(_1){
+_1=_1.replace(/\r/g,"");
+}
+return this.inherited(arguments);
+},postCreate:function(){
+this.inherited(arguments);
+if(dojo.isIE&&this.cols){
+dojo.addClass(this.domNode,"dijitTextAreaCols");
+}
+},_previousValue:"",_onInput:function(e){
+if(this.maxLength){
+var _3=parseInt(this.maxLength);
+var _4=this.textbox.value.replace(/\r/g,"");
+var _5=_4.length-_3;
+if(_5>0){
+dojo.stopEvent(e);
+var _6=this.textbox;
+if(_6.selectionStart){
+var _7=_6.selectionStart;
+var cr=0;
+if(dojo.isOpera){
+cr=(this.textbox.value.substring(0,_7).match(/\r/g)||[]).length;
+}
+this.textbox.value=_4.substring(0,_7-_5-cr)+_4.substring(_7-cr);
+_6.setSelectionRange(_7-_5,_7-_5);
+}else{
+if(dojo.doc.selection){
+_6.focus();
+var _9=dojo.doc.selection.createRange();
+_9.moveStart("character",-_5);
+_9.text="";
+_9.select();
+}
+}
+}
+this._previousValue=this.textbox.value;
+}
+this.inherited(arguments);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/SimpleTextarea.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Slider.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Slider.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Slider.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Slider.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,18 @@
+/*
+	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["dijit.form.Slider"]){
+dojo._hasResource["dijit.form.Slider"]=true;
+dojo.provide("dijit.form.Slider");
+dojo.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");
+dojo.require("dijit.form.HorizontalSlider");
+dojo.require("dijit.form.VerticalSlider");
+dojo.require("dijit.form.HorizontalRule");
+dojo.require("dijit.form.VerticalRule");
+dojo.require("dijit.form.HorizontalRuleLabels");
+dojo.require("dijit.form.VerticalRuleLabels");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Slider.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,145 @@
+/*
+	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["dijit.form.TextBox"]){
+dojo._hasResource["dijit.form.TextBox"]=true;
+dojo.provide("dijit.form.TextBox");
+dojo.require("dijit.form._FormWidget");
+dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode'\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse'\n\tautocomplete=\"off\" type=\"${type}\" ${nameAttrSetting}\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),_getValueAttr:function(){
+return this.parse(this.attr("displayedValue"),this.constraints);
+},_setValueAttr:function(_1,_2,_3){
+var _4;
+if(_1!==undefined){
+_4=this.filter(_1);
+if(_4!==null&&((typeof _4!="number")||!isNaN(_4))){
+if(typeof _3!="string"){
+_3=this.filter(this.format(_4,this.constraints));
+}
+}else{
+_3="";
+}
+}
+if(_3!=null&&_3!=undefined&&this.textbox.value!=_3){
+this.textbox.value=_3;
+}
+dijit.form.TextBox.superclass._setValueAttr.call(this,_4,_2);
+},displayedValue:"",getDisplayedValue:function(){
+dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use attr('displayedValue') instead.","","2.0");
+return this.attr("displayedValue");
+},_getDisplayedValueAttr:function(){
+return this.filter(this.textbox.value);
+},setDisplayedValue:function(_5){
+dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use attr('displayedValue', ...) instead.","","2.0");
+this.attr("displayedValue",_5);
+},_setDisplayedValueAttr:function(_6){
+this.textbox.value=_6;
+this._setValueAttr(this.attr("value"),undefined,_6);
+},format:function(_7,_8){
+return ((_7==null||_7==undefined)?"":(_7.toString?_7.toString():_7));
+},parse:function(_9,_a){
+return _9;
+},_refreshState:function(){
+},_onInput:function(e){
+if(e&&e.type&&/key/i.test(e.type)&&e.keyCode){
+switch(e.keyCode){
+case dojo.keys.SHIFT:
+case dojo.keys.ALT:
+case dojo.keys.CTRL:
+case dojo.keys.TAB:
+return;
+}
+}
+if(this.intermediateChanges){
+var _c=this;
+setTimeout(function(){
+_c._handleOnChange(_c.attr("value"),false);
+},0);
+}
+this._refreshState();
+},postCreate:function(){
+this.textbox.setAttribute("value",this.textbox.value);
+this.inherited(arguments);
+if(dojo.isMoz||dojo.isOpera){
+this.connect(this.textbox,"oninput",this._onInput);
+}else{
+this.connect(this.textbox,"onkeydown",this._onInput);
+this.connect(this.textbox,"onkeyup",this._onInput);
+this.connect(this.textbox,"onpaste",this._onInput);
+this.connect(this.textbox,"oncut",this._onInput);
+}
+this._layoutHack();
+},filter:function(_d){
+if(_d===null){
+return "";
+}
+if(typeof _d!="string"){
+return _d;
+}
+if(this.trim){
+_d=dojo.trim(_d);
+}
+if(this.uppercase){
+_d=_d.toUpperCase();
+}
+if(this.lowercase){
+_d=_d.toLowerCase();
+}
+if(this.propercase){
+_d=_d.replace(/[^\s]+/g,function(_e){
+return _e.substring(0,1).toUpperCase()+_e.substring(1);
+});
+}
+return _d;
+},_setBlurValue:function(){
+this._setValueAttr(this.attr("value"),true);
+},_onBlur:function(e){
+if(this.disabled){
+return;
+}
+this._setBlurValue();
+this.inherited(arguments);
+},_onFocus:function(e){
+if(this.disabled){
+return;
+}
+this._refreshState();
+this.inherited(arguments);
+},reset:function(){
+this.textbox.value="";
+this.inherited(arguments);
+}});
+dijit.selectInputText=function(_11,_12,_13){
+var _14=dojo.global;
+var _15=dojo.doc;
+_11=dojo.byId(_11);
+if(isNaN(_12)){
+_12=0;
+}
+if(isNaN(_13)){
+_13=_11.value?_11.value.length:0;
+}
+_11.focus();
+if(_15["selection"]&&dojo.body()["createTextRange"]){
+if(_11.createTextRange){
+var _16=_11.createTextRange();
+with(_16){
+collapse(true);
+moveStart("character",_12);
+moveEnd("character",_13);
+select();
+}
+}
+}else{
+if(_14["getSelection"]){
+var _17=_14.getSelection();
+if(_11.setSelectionRange){
+_11.setSelectionRange(_12,_13);
+}
+}
+}
+};
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Textarea.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Textarea.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Textarea.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Textarea.js Thu Mar 19 10:17:06 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["dijit.form.Textarea"]){
+dojo._hasResource["dijit.form.Textarea"]=true;
+dojo.provide("dijit.form.Textarea");
+dojo.require("dijit.form.SimpleTextarea");
+dojo.declare("dijit.form.Textarea",dijit.form.SimpleTextarea,{cols:"",_previousNewlines:0,_strictMode:(dojo.doc.compatMode!="BackCompat"),_getHeight:function(_1){
+var _2=_1.scrollHeight;
+if(dojo.isIE){
+_2+=_1.offsetHeight-_1.clientHeight-((dojo.isIE<8&&this._strictMode)?dojo._getPadBorderExtents(_1).h:0);
+}else{
+if(dojo.isMoz){
+_2+=_1.offsetHeight-_1.clientHeight;
+}else{
+_2+=dojo._getPadBorderExtents(_1).h;
+}
+}
+return _2;
+},_onInput:function(){
+this.inherited(arguments);
+if(this._busyResizing){
+return;
+}
+this._busyResizing=true;
+var _3=this.domNode;
+_3.scrollTop=0;
+var _4=parseFloat(dojo.getComputedStyle(_3).height);
+var _5=this._getHeight(_3);
+if(_5>0&&_3.style.height!=_5){
+_3.style.maxHeight=_3.style.height=_5+"px";
+}
+this._busyResizing=false;
+if(dojo.isMoz||dojo.isWebKit){
+var _6=(_3.value.match(/\n/g)||[]).length;
+if(_6<this._previousNewlines){
+this._shrink();
+}
+this._previousNewlines=_6;
+}
+},_busyResizing:false,_shrink:function(){
+if((dojo.isMoz||dojo.isSafari)&&!this._busyResizing){
+this._busyResizing=true;
+var _7=this.domNode;
+var _8=false;
+if(_7.value==""){
+_7.value=" ";
+_8=true;
+}
+var _9=this._getHeight(_7);
+if(_9>0){
+var _a=_7.scrollHeight;
+var _b=-1;
+var _c=dojo.getComputedStyle(_7).paddingBottom;
+var _d=dojo._getPadExtents(_7);
+var _e=_d.h-_d.t;
+_7.style.maxHeight=_9+"px";
+while(_b!=_a){
+_b=_a;
+_e+=16;
+_7.style.paddingBottom=_e+"px";
+_7.scrollTop=0;
+_a=_7.scrollHeight;
+_9-=_b-_a;
+}
+_7.style.paddingBottom=_c;
+_7.style.maxHeight=_7.style.height=_9+"px";
+}
+if(_8){
+_7.value="";
+}
+this._busyResizing=false;
+}
+},resize:function(){
+this._onInput();
+this._shrink();
+},_setValueAttr:function(){
+this.inherited(arguments);
+this.resize();
+},postCreate:function(){
+this.inherited(arguments);
+dojo.style(this.domNode,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});
+this.connect(this.domNode,"onscroll",this._onInput);
+this.connect(this.domNode,"onresize",this._onInput);
+setTimeout(dojo.hitch(this,"resize"),0);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/Textarea.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TimeTextBox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TimeTextBox.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TimeTextBox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TimeTextBox.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,14 @@
+/*
+	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["dijit.form.TimeTextBox"]){
+dojo._hasResource["dijit.form.TimeTextBox"]=true;
+dojo.provide("dijit.form.TimeTextBox");
+dojo.require("dijit._TimePicker");
+dojo.require("dijit.form._DateTimeTextBox");
+dojo.declare("dijit.form.TimeTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitTimeTextBox",popupClass:"dijit._TimePicker",_selector:"time",value:new Date("")});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/TimeTextBox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ToggleButton.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ToggleButton.js?rev=755893&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ToggleButton.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ToggleButton.js Thu Mar 19 10:17:06 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dijit.form.ToggleButton"]){
+dojo._hasResource["dijit.form.ToggleButton"]=true;
+dojo.provide("dijit.form.ToggleButton");
+dojo.require("dijit.form.Button");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dijit/form/ToggleButton.js
------------------------------------------------------------------------------
    svn:eol-style = native