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 12:13:15 UTC

svn commit: r755922 [1/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...

Author: jstrachan
Date: Thu Mar 19 11:13:08 2009
New Revision: 755922

URL: http://svn.apache.org/viewvc?rev=755922&view=rev
Log:
added Bespin support for editing routes for CAMEL-1355 - which includes adding Bespin & Dojo JS libraries. Sorry for the big commit :)

Added:
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/AnalogGauge.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/BarGauge.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarDay.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonth.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonthYear.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarYear.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarFx.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarViews.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/hue.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/hueHandle.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/pickerPointer.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/underlay.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog/Dialog.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog/Dialog.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog/images/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog/images/dialogCloseButton.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Dialog/images/dialogCloseButton.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/DocTester/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/DocTester.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/DocTester/DocTester.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/DocTester/DocTester.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/FilePicker.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/_FileInfoPane.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/images/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/images/nihiloFileIcons.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/images/soriaFileIcons.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FilePicker/images/tundraFileIcons.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FisheyeList/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FisheyeList.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FisheyeList/FisheyeList.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/FisheyeLite.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Iterator.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Loader/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Loader.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Loader/Loader.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Loader/icons/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Loader/icons/loading.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/Pager.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/Pager.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/hNext.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/hPrevious.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/pageActive.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/pageInactive.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/vNext.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Pager/images/vPrevious.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/PlaceholderMenuItem.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Roller.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/RollingList/RollingList.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/SortList/SortList.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/Standby.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/images/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Standby/images/loading.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Toaster/Toaster.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Wizard/Wizard.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArcIndicator.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogArrowIndicator.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/AnalogNeedleIndicator.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/BarIndicator.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Gauge.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/gauge/_Indicator.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/FilePicker.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/RollingList.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ar/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ar/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ca/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ca/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/cs/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/cs/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/da/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/da/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/de/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/de/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/el/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/el/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/es/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/es/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/fi/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/fi/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/fr/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/fr/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/he/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/he/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/hu/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/hu/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/it/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/it/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ja/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ja/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ko/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ko/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/nb/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/nb/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/nl/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/nl/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/pl/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/pl/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/pt/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/pt-pt/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/pt-pt/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/pt/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ru/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/ru/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/sk/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/sk/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/sl/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/sl/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/sv/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/sv/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/th/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/th/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/tr/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/tr/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/zh/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/zh-tw/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/zh-tw/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/nls/zh/Wizard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/CompositeWire.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/DataWire.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/TableAdapter.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/TextAdapter.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/TreeAdapter.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/Wire.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/XmlWire.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/_base.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/Action.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/Data.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/DataStore.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/Invocation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/Service.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/Transfer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/wire/ml/util.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xml/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xml/DomParser.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xml/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xml/Script.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xml/parser.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xml/widgetParser.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/ChatService.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/PresenceService.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/RosterService.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/TransportSession.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/UserService.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/sasl.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/util.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/widget/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/widget/ChatSession.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/widget/templates/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/widget/templates/ChatSession.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/xmpp/xmppSession.js   (with props)

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/AnalogGauge.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/AnalogGauge.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/AnalogGauge.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/AnalogGauge.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,246 @@
+/*
+	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.AnalogGauge"]){
+dojo._hasResource["dojox.widget.AnalogGauge"]=true;
+dojo.provide("dojox.widget.AnalogGauge");
+dojo.require("dojox.gfx");
+dojo.require("dojox.widget.gauge._Gauge");
+dojo.experimental("dojox.widget.AnalogGauge");
+dojo.declare("dojox.widget.gauge.AnalogLineIndicator",[dojox.widget.gauge._Indicator],{_getShapes:function(){
+var _1=[];
+_1[0]=this._gauge.surface.createLine({x1:0,y1:-this.offset,x2:0,y2:-this.length-this.offset}).setStroke({color:this.color,width:this.width});
+return _1;
+},draw:function(_2){
+if(this.shapes){
+this._move(_2);
+}else{
+if(this.text){
+this._gauge.surface.rawNode.removeChild(this.text);
+this.text=null;
+}
+var v=this.value;
+if(v<this._gauge.min){
+v=this._gauge.min;
+}
+if(v>this._gauge.max){
+v=this._gauge.max;
+}
+var a=this._gauge._getAngle(v);
+this.color=this.color||"#000000";
+this.length=this.length||this._gauge.radius;
+this.width=this.width||1;
+this.offset=this.offset||0;
+this.highlight=this.highlight||"#D0D0D0";
+this.shapes=this._getShapes(this._gauge,this);
+if(this.shapes){
+for(var s=0;s<this.shapes.length;s++){
+this.shapes[s].setTransform([{dx:this._gauge.cx,dy:this._gauge.cy},dojox.gfx.matrix.rotateg(a)]);
+if(this.hover){
+this.shapes[s].getEventSource().setAttribute("hover",this.hover);
+}
+if(this.onDragMove&&!this.noChange){
+this._gauge.connect(this.shapes[s].getEventSource(),"onmousedown",this._gauge.handleMouseDown);
+this.shapes[s].getEventSource().style.cursor="pointer";
+}
+}
+}
+if(this.label){
+var _6=this.length+this.offset;
+var x=this._gauge.cx+(_6+5)*Math.sin(this._gauge._getRadians(a));
+var y=this._gauge.cy-(_6+5)*Math.cos(this._gauge._getRadians(a));
+var _9="start";
+if(a<=-10){
+_9="end";
+}
+if(a>-10&&a<10){
+_9="middle";
+}
+var _a="bottom";
+if((a<-90)||(a>90)){
+_a="top";
+}
+this.text=this._gauge.drawText(""+this.label,x,y,_9,_a,this.color,this.font);
+}
+this.currentValue=this.value;
+}
+},_move:function(_b){
+var v=this.value;
+if(v<this._gauge.min){
+v=this._gauge.min;
+}
+if(v>this._gauge.max){
+v=this._gauge.max;
+}
+var c=this.currentValue;
+if(_b){
+var _e=this._gauge._getAngle(v);
+for(var i in this.shapes){
+this.shapes[i].setTransform([{dx:this._gauge.cx,dy:this._gauge.cy},dojox.gfx.matrix.rotateg(_e)]);
+if(this.hover){
+this.shapes[i].getEventSource().setAttribute("hover",this.hover);
+}
+}
+}else{
+if(c!=v){
+var _10=new dojo._Animation({curve:[c,v],duration:this.duration,easing:this.easing});
+dojo.connect(_10,"onAnimate",dojo.hitch(this,function(_11){
+for(var i in this.shapes){
+this.shapes[i].setTransform([{dx:this._gauge.cx,dy:this._gauge.cy},dojox.gfx.matrix.rotateg(this._gauge._getAngle(_11))]);
+if(this.hover){
+this.shapes[i].getEventSource().setAttribute("hover",this.hover);
+}
+}
+this.currentValue=_11;
+}));
+_10.play();
+}
+}
+}});
+dojo.declare("dojox.widget.AnalogGauge",dojox.widget.gauge._Gauge,{startAngle:-90,endAngle:90,cx:0,cy:0,radius:0,_defaultIndicator:dojox.widget.gauge.AnalogLineIndicator,startup:function(){
+if(this.getChildren){
+dojo.forEach(this.getChildren(),function(_13){
+_13.startup();
+});
+}
+this.startAngle=Number(this.startAngle);
+this.endAngle=Number(this.endAngle);
+this.cx=Number(this.cx);
+if(!this.cx){
+this.cx=this.width/2;
+}
+this.cy=Number(this.cy);
+if(!this.cy){
+this.cy=this.height/2;
+}
+this.radius=Number(this.radius);
+if(!this.radius){
+this.radius=Math.min(this.cx,this.cy)-25;
+}
+this._oppositeMiddle=(this.startAngle+this.endAngle)/2+180;
+this.inherited(arguments);
+},_getAngle:function(_14){
+return (_14-this.min)/(this.max-this.min)*(this.endAngle-this.startAngle)+this.startAngle;
+},_getValueForAngle:function(_15){
+if(_15>this._oppositeMiddle){
+_15-=360;
+}
+return (_15-this.startAngle)*(this.max-this.min)/(this.endAngle-this.startAngle)+this.min;
+},_getRadians:function(_16){
+return _16*Math.PI/180;
+},_getDegrees:function(_17){
+return _17*180/Math.PI;
+},draw:function(){
+var i;
+if(this._rangeData){
+for(i=0;i<this._rangeData.length;i++){
+this.drawRange(this._rangeData[i]);
+}
+if(this._img&&this.image.overlay){
+this._img.moveToFront();
+}
+}
+if(this._indicatorData){
+for(i=0;i<this._indicatorData.length;i++){
+this._indicatorData[i].draw();
+}
+}
+},drawRange:function(_19){
+var _1a;
+if(_19.shape){
+this.surface.remove(_19.shape);
+_19.shape=null;
+}
+var a1;
+var a2;
+if((_19.low==this.min)&&(_19.high==this.max)&&((this.endAngle-this.startAngle)==360)){
+_1a=this.surface.createCircle({cx:this.cx,cy:this.cy,r:this.radius});
+}else{
+a1=this._getRadians(this._getAngle(_19.low));
+a2=this._getRadians(this._getAngle(_19.high));
+var x1=this.cx+this.radius*Math.sin(a1);
+var y1=this.cy-this.radius*Math.cos(a1);
+var x2=this.cx+this.radius*Math.sin(a2);
+var y2=this.cy-this.radius*Math.cos(a2);
+var big=0;
+if((a2-a1)>Math.PI){
+big=1;
+}
+_1a=this.surface.createPath();
+if(_19.size){
+_1a.moveTo(this.cx+(this.radius-_19.size)*Math.sin(a1),this.cy-(this.radius-_19.size)*Math.cos(a1));
+}else{
+_1a.moveTo(this.cx,this.cy);
+}
+_1a.lineTo(x1,y1);
+_1a.arcTo(this.radius,this.radius,0,big,1,x2,y2);
+if(_19.size){
+_1a.lineTo(this.cx+(this.radius-_19.size)*Math.sin(a2),this.cy-(this.radius-_19.size)*Math.cos(a2));
+_1a.arcTo((this.radius-_19.size),(this.radius-_19.size),0,big,0,this.cx+(this.radius-_19.size)*Math.sin(a1),this.cy-(this.radius-_19.size)*Math.cos(a1));
+}
+_1a.closePath();
+}
+if(dojo.isArray(_19.color)||dojo.isString(_19.color)){
+_1a.setStroke({color:_19.color});
+_1a.setFill(_19.color);
+}else{
+if(_19.color.type){
+a1=this._getRadians(this._getAngle(_19.low));
+a2=this._getRadians(this._getAngle(_19.high));
+_19.color.x1=this.cx+(this.radius*Math.sin(a1))/2;
+_19.color.x2=this.cx+(this.radius*Math.sin(a2))/2;
+_19.color.y1=this.cy-(this.radius*Math.cos(a1))/2;
+_19.color.y2=this.cy-(this.radius*Math.cos(a2))/2;
+_1a.setFill(_19.color);
+_1a.setStroke({color:_19.color.colors[0].color});
+}else{
+_1a.setStroke({color:"green"});
+_1a.setFill("green");
+_1a.getEventSource().setAttribute("class",_19.color.style);
+}
+}
+if(_19.hover){
+_1a.getEventSource().setAttribute("hover",_19.hover);
+}
+_19.shape=_1a;
+},getRangeUnderMouse:function(_22){
+var _23=null;
+var pos=dojo.coords(this.gaugeContent);
+var x=_22.clientX-pos.x;
+var y=_22.clientY-pos.y;
+var r=Math.sqrt((y-this.cy)*(y-this.cy)+(x-this.cx)*(x-this.cx));
+if(r<this.radius){
+var _28=this._getDegrees(Math.atan2(y-this.cy,x-this.cx)+Math.PI/2);
+var _29=this._getValueForAngle(_28);
+if(this._rangeData){
+for(var i=0;(i<this._rangeData.length)&&!_23;i++){
+if((Number(this._rangeData[i].low)<=_29)&&(Number(this._rangeData[i].high)>=_29)){
+_23=this._rangeData[i];
+}
+}
+}
+}
+return _23;
+},_dragIndicator:function(_2b,_2c){
+var pos=dojo.coords(_2b.gaugeContent);
+var x=_2c.clientX-pos.x;
+var y=_2c.clientY-pos.y;
+var _30=_2b._getDegrees(Math.atan2(y-_2b.cy,x-_2b.cx)+Math.PI/2);
+var _31=_2b._getValueForAngle(_30);
+if(_31<_2b.min){
+_31=_2b.min;
+}
+if(_31>_2b.max){
+_31=_2b.max;
+}
+_2b._drag.value=_31;
+_2b._drag.currentValue=_31;
+_2b._drag.onDragMove(_2b._drag);
+_2b._drag.draw(true);
+dojo.stopEvent(_2c);
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/BarGauge.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/BarGauge.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/BarGauge.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/BarGauge.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,194 @@
+/*
+	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.BarGauge"]){
+dojo._hasResource["dojox.widget.BarGauge"]=true;
+dojo.provide("dojox.widget.BarGauge");
+dojo.require("dojox.gfx");
+dojo.require("dojox.widget.gauge._Gauge");
+dojo.experimental("dojox.widget.BarGauge");
+dojo.declare("dojox.widget.gauge.BarLineIndicator",[dojox.widget.gauge._Indicator],{width:1,_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);
+var _3=[];
+if(this.width>1){
+_3[0]=this._gauge.surface.createRect({x:_2,y:this._gauge.dataY+this.offset,width:this.width,height:this.length});
+_3[0].setStroke({color:this.color});
+_3[0].setFill(this.color);
+}else{
+_3[0]=this._gauge.surface.createLine({x1:_2,y1:this._gauge.dataY+this.offset,x2:_2,y2:this._gauge.dataY+this.offset+this.length});
+_3[0].setStroke({color:this.color});
+}
+return _3;
+},draw:function(_4){
+var i;
+if(this.shapes){
+this._move(_4);
+}else{
+if(this.shapes){
+for(i=0;i<this.shapes.length;i++){
+this._gauge.surface.remove(this.shapes[i]);
+}
+this.shapes=null;
+}
+if(this.text){
+this._gauge.surface.rawNode.removeChild(this.text);
+this.text=null;
+}
+this.color=this.color||"#000000";
+this.length=this.length||this._gauge.dataHeight;
+this.width=this.width||3;
+this.offset=this.offset||0;
+this.highlight=this.highlight||"#4D4D4D";
+this.highlight2=this.highlight2||"#A3A3A3";
+this.shapes=this._getShapes(this._gauge,this);
+if(this.label){
+var v=this.value;
+if(v<this._gauge.min){
+v=this._gauge.min;
+}
+if(v>this._gauge.max){
+v=this._gauge.max;
+}
+var _7=this._gauge._getPosition(v);
+this.text=this._gauge.drawText(""+this.label,_7,this._gauge.dataY+this.offset-5,"middle","top",this.color,this.font);
+}
+for(i=0;i<this.shapes.length;i++){
+if(this.hover){
+this.shapes[i].getEventSource().setAttribute("hover",this.hover);
+}
+if(this.onDragMove&&!this.noChange){
+this._gauge.connect(this.shapes[i].getEventSource(),"onmousedown",this._gauge.handleMouseDown);
+this.shapes[i].getEventSource().style.cursor="pointer";
+}
+}
+this.currentValue=this.value;
+}
+},_move:function(_8){
+var v=this.value;
+if(v<this.min){
+v=this.min;
+}
+if(v>this.max){
+v=this.max;
+}
+var c=this._gauge._getPosition(this.currentValue);
+this.currentValue=v;
+v=this._gauge._getPosition(v)-this._gauge.dataX;
+if(_8){
+this.shapes[0].applyTransform(dojox.gfx.matrix.translate(v-(this.shapes[0].matrix?this.shapes[0].matrix.dx:0),0));
+}else{
+var _b=new dojo._Animation({curve:[c,v],duration:this.duration,easing:this.easing});
+dojo.connect(_b,"onAnimate",dojo.hitch(this,function(_c){
+this.shapes[0].applyTransform(dojox.gfx.matrix.translate(_c-(this.shapes[0].matrix?this.shapes[0].matrix.dx:0),0));
+}));
+_b.play();
+}
+}});
+dojo.declare("dojox.widget.BarGauge",dojox.widget.gauge._Gauge,{dataX:5,dataY:5,dataWidth:0,dataHeight:0,_defaultIndicator:dojox.widget.gauge.BarLineIndicator,startup:function(){
+if(this.getChildren){
+dojo.forEach(this.getChildren(),function(_d){
+_d.startup();
+});
+}
+if(!this.dataWidth){
+this.dataWidth=this.gaugeWidth-10;
+}
+if(!this.dataHeight){
+this.dataHeight=this.gaugeHeight-10;
+}
+this.inherited(arguments);
+},_getPosition:function(_e){
+return this.dataX+Math.floor((_e-this.min)/(this.max-this.min)*this.dataWidth);
+},_getValueForPosition:function(_f){
+return (_f-this.dataX)*(this.max-this.min)/this.dataWidth+this.min;
+},draw:function(){
+if(!this.surface){
+this.createSurface();
+}
+var i;
+if(this._rangeData){
+for(i=0;i<this._rangeData.length;i++){
+this.drawRange(this._rangeData[i]);
+}
+if(this._img&&this.image.overlay){
+this._img.moveToFront();
+}
+}
+if(this._indicatorData){
+for(i=0;i<this._indicatorData.length;i++){
+this._indicatorData[i].draw();
+}
+}
+},drawRange:function(_11){
+if(_11.shape){
+this.surface.remove(_11.shape);
+_11.shape=null;
+}
+var x1=this._getPosition(_11.low);
+var x2=this._getPosition(_11.high);
+var _14=this.surface.createRect({x:x1,y:this.dataY,width:x2-x1,height:this.dataHeight});
+if(dojo.isArray(_11.color)||dojo.isString(_11.color)){
+_14.setStroke({color:_11.color});
+_14.setFill(_11.color);
+}else{
+if(_11.color.type){
+var y=this.dataY+this.dataHeight/2;
+_11.color.x1=x1;
+_11.color.x2=x2;
+_11.color.y1=y;
+_11.color.y2=y;
+_14.setFill(_11.color);
+_14.setStroke({color:_11.color.colors[0].color});
+}else{
+_14.setStroke({color:"green"});
+_14.setFill("green");
+_14.getEventSource().setAttribute("class",_11.color.style);
+}
+}
+if(_11.hover){
+_14.getEventSource().setAttribute("hover",_11.hover);
+}
+_11.shape=_14;
+},getRangeUnderMouse:function(_16){
+var _17=null;
+var pos=dojo.coords(this.gaugeContent);
+var x=_16.clientX-pos.x;
+var _1a=this._getValueForPosition(x);
+if(this._rangeData){
+for(var i=0;(i<this._rangeData.length)&&!_17;i++){
+if((Number(this._rangeData[i].low)<=_1a)&&(Number(this._rangeData[i].high)>=_1a)){
+_17=this._rangeData[i];
+}
+}
+}
+return _17;
+},_dragIndicator:function(_1c,_1d){
+var pos=dojo.coords(_1c.gaugeContent);
+var x=_1d.clientX-pos.x;
+var _20=_1c._getValueForPosition(x);
+if(_20<_1c.min){
+_20=_1c.min;
+}
+if(_20>_1c.max){
+_20=_1c.max;
+}
+_1c._drag.value=_20;
+_1c._drag.onDragMove(_1c._drag);
+_1c._drag.draw(true);
+dojo.stopEvent(_1d);
+}});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,485 @@
+/*
+	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.Calendar"]){
+dojo._hasResource["dojox.widget.Calendar"]=true;
+dojo.provide("dojox.widget.Calendar");
+dojo.experimental("dojox.widget.Calendar");
+dojo.require("dijit._Calendar");
+dojo.require("dijit._Container");
+dojo.declare("dojox.widget._CalendarBase",[dijit._Widget,dijit._Templated,dijit._Container],{templateString:"<div class=\"dojoxCalendar\">\n    <div tabindex=\"0\" class=\"dojoxCalendarContainer\" style=\"visibility: visible; width: 180px; heightL 138px;\" dojoAttachPoint=\"container\">\n\t\t<div style=\"display:none\">\n\t\t\t<div dojoAttachPoint=\"previousYearLabelNode\"></div>\n\t\t\t<div dojoAttachPoint=\"nextYearLabelNode\"></div>\n\t\t\t<div dojoAttachPoint=\"monthLabelSpacer\"></div>\n\t\t</div>\n        <div class=\"dojoxCalendarHeader\">\n            <div>\n                <div class=\"dojoxCalendarDecrease\" dojoAttachPoint=\"decrementMonth\"></div>\n            </div>\n            <div class=\"\">\n                <div class=\"dojoxCalendarIncrease\" dojoAttachPoint=\"incrementMonth\"></div>\n            </div>\n            <div class=\"dojoxCalendarTitle\" dojoAttachPoint=\"header\" dojoAttachEvent=\"onclick: onHeaderClick\">\n            </div>\n        </div>\n
         <div class=\"dojoxCalendarBody\" dojoAttachPoint=\"containerNode\"></div>\n        <div class=\"\">\n            <div class=\"dojoxCalendarFooter\" dojoAttachPoint=\"footer\">                        \n            </div>\n        </div>\n    </div>\n</div>\n",_views:null,useFx:true,widgetsInTemplate:true,value:new Date(),constraints:null,footerFormat:"medium",constructor:function(){
+this._views=[];
+},postMixInProperties:function(){
+var c=this.constraints;
+if(c){
+var _2=dojo.date.stamp.fromISOString;
+if(typeof c.min=="string"){
+c.min=_2(c.min);
+}
+if(typeof c.max=="string"){
+c.max=_2(c.max);
+}
+}
+},postCreate:function(){
+this._height=dojo.style(this.containerNode,"height");
+this.displayMonth=new Date(this.attr("value"));
+var _3={parent:this,_getValueAttr:dojo.hitch(this,function(){
+return new Date(this.displayMonth);
+}),_getConstraintsAttr:dojo.hitch(this,function(){
+return this.constraints;
+}),getLang:dojo.hitch(this,function(){
+return this.lang;
+}),isDisabledDate:dojo.hitch(this,this.isDisabledDate),getClassForDate:dojo.hitch(this,this.getClassForDate),addFx:this.useFx?dojo.hitch(this,this.addFx):function(){
+}};
+dojo.forEach(this._views,function(_4){
+var _5=new _4(_3,dojo.create("div"));
+this.addChild(_5);
+var _6=_5.getHeader();
+if(_6){
+this.header.appendChild(_6);
+dojo.style(_6,"display","none");
+}
+dojo.style(_5.domNode,"visibility","hidden");
+dojo.connect(_5,"onValueSelected",this,"_onDateSelected");
+_5.attr("value",this.attr("value"));
+},this);
+if(this._views.length<2){
+dojo.style(this.header,"cursor","auto");
+}
+this.inherited(arguments);
+this._children=this.getChildren();
+this._currentChild=0;
+var _7=new Date();
+this.footer.innerHTML="Today: "+dojo.date.locale.format(_7,{formatLength:this.footerFormat,selector:"date",locale:this.lang});
+dojo.connect(this.footer,"onclick",this,"goToToday");
+var _8=this._children[0];
+dojo.style(_8.domNode,"top","0px");
+dojo.style(_8.domNode,"visibility","visible");
+var _9=_8.getHeader();
+if(_9){
+dojo.style(_8.getHeader(),"display","");
+}
+dojo[_8.useHeader?"removeClass":"addClass"](this.container,"no-header");
+_8.onDisplay();
+var _a=this;
+var _b=function(_c,_d,_e){
+dijit.typematic.addMouseListener(_a[_c],_a,function(_f){
+if(_f>=0){
+_a._adjustDisplay(_d,_e);
+}
+},0.8,500);
+};
+_b("incrementMonth","month",1);
+_b("decrementMonth","month",-1);
+this._updateTitleStyle();
+},addFx:function(_10,_11){
+},_setValueAttr:function(_12){
+if(!_12["getFullYear"]){
+_12=dojo.date.stamp.fromISOString(_12+"");
+}
+if(!this.value||dojo.date.compare(_12,this.value)){
+_12=new Date(_12);
+this.displayMonth=new Date(_12);
+if(!this.isDisabledDate(_12,this.lang)){
+this.value=_12;
+this.onChange(_12);
+}
+this._children[this._currentChild].attr("value",this.value);
+return true;
+}
+return false;
+},isDisabledDate:function(_13,_14){
+var c=this.constraints;
+var _16=dojo.date.compare;
+return c&&(c.min&&(_16(c.min,_13,"date")>0)||(c.max&&_16(c.max,_13,"date")<0));
+},onValueSelected:function(_17){
+},_onDateSelected:function(_18,_19,_1a){
+this.displayMonth=_18;
+this.attr("value",_18);
+if(!this._transitionVert(-1)){
+if(!_19&&_19!==0){
+_19=this.attr("value");
+}
+this.onValueSelected(_19);
+}
+},onChange:function(_1b){
+},onHeaderClick:function(e){
+this._transitionVert(1);
+},goToToday:function(){
+this.attr("value",new Date());
+this.onValueSelected(this.attr("value"));
+},_transitionVert:function(_1d){
+var _1e=this._children[this._currentChild];
+var _1f=this._children[this._currentChild+_1d];
+if(!_1f){
+return false;
+}
+dojo.style(_1f.domNode,"visibility","visible");
+var _20=dojo.style(this.containerNode,"height");
+_1f.attr("value",this.displayMonth);
+if(_1e.header){
+dojo.style(_1e.header,"display","none");
+}
+if(_1f.header){
+dojo.style(_1f.header,"display","");
+}
+dojo.style(_1f.domNode,"top",(_20*-1)+"px");
+dojo.style(_1f.domNode,"visibility","visible");
+this._currentChild+=_1d;
+var _21=_20*_1d;
+var _22=0;
+dojo.style(_1f.domNode,"top",(_21*-1)+"px");
+var _23=dojo.animateProperty({node:_1e.domNode,properties:{top:_21},onEnd:function(){
+dojo.style(_1e.domNode,"visibility","hidden");
+}});
+var _24=dojo.animateProperty({node:_1f.domNode,properties:{top:_22},onEnd:function(){
+_1f.onDisplay();
+}});
+dojo[_1f.useHeader?"removeClass":"addClass"](this.container,"no-header");
+_23.play();
+_24.play();
+_1e.onBeforeUnDisplay();
+_1f.onBeforeDisplay();
+this._updateTitleStyle();
+return true;
+},_updateTitleStyle:function(){
+dojo[this._currentChild<this._children.length-1?"addClass":"removeClass"](this.header,"navToPanel");
+},_slideTable:function(_25,_26,_27){
+var _28=_25.domNode;
+var _29=_28.cloneNode(true);
+var _2a=dojo.style(_28,"width");
+_28.parentNode.appendChild(_29);
+dojo.style(_28,"left",(_2a*_26)+"px");
+_27();
+var _2b=dojo.animateProperty({node:_29,properties:{left:_2a*_26*-1},duration:500,onEnd:function(){
+_29.parentNode.removeChild(_29);
+}});
+var _2c=dojo.animateProperty({node:_28,properties:{left:0},duration:500});
+_2b.play();
+_2c.play();
+},_addView:function(_2d){
+this._views.push(_2d);
+},getClassForDate:function(_2e,_2f){
+},_adjustDisplay:function(_30,_31,_32){
+var _33=this._children[this._currentChild];
+var _34=this.displayMonth=_33.adjustDate(this.displayMonth,_31);
+this._slideTable(_33,_31,function(){
+_33.attr("value",_34);
+});
+}});
+dojo.declare("dojox.widget._CalendarView",dijit._Widget,{headerClass:"",useHeader:true,cloneClass:function(_35,n,_37){
+var _38=dojo.query(_35,this.domNode)[0];
+if(!_37){
+for(var i=0;i<n;i++){
+_38.parentNode.appendChild(_38.cloneNode(true));
+}
+}else{
+var _3a=dojo.query(_35,this.domNode)[0];
+for(var i=0;i<n;i++){
+_38.parentNode.insertBefore(_38.cloneNode(true),_3a);
+}
+}
+},_setText:function(_3b,_3c){
+while(_3b.firstChild){
+_3b.removeChild(_3b.firstChild);
+}
+_3b.appendChild(dojo.doc.createTextNode(_3c));
+},getHeader:function(){
+return this.header||(this.header=this.header=dojo.create("span",{"class":this.headerClass}));
+},onValueSelected:function(_3d){
+},adjustDate:function(_3e,_3f){
+return dojo.date.add(_3e,this.datePart,_3f);
+},onDisplay:function(){
+},onBeforeDisplay:function(){
+},onBeforeUnDisplay:function(){
+}});
+dojo.declare("dojox.widget._CalendarDay",null,{parent:null,constructor:function(){
+this._addView(dojox.widget._CalendarDayView);
+}});
+dojo.declare("dojox.widget._CalendarDayView",[dojox.widget._CalendarView,dijit._Templated],{templateString:"<div class=\"dijitCalendarDayLabels\" style=\"left: 0px;\" dojoAttachPoint=\"dayContainer\">\n\t<div dojoAttachPoint=\"header\">\n\t\t<div dojoAttachPoint=\"monthAndYearHeader\">\n\t\t\t<span dojoAttachPoint=\"monthLabelNode\" class=\"dojoxCalendarMonthLabelNode\"></span>\n\t\t\t<span dojoAttachPoint=\"headerComma\" class=\"dojoxCalendarComma\">,</span>\n\t\t\t<span dojoAttachPoint=\"yearLabelNode\" class=\"dojoxCalendarDayYearLabel\"></span>\n\t\t</div>\n\t</div>\n\t<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin: auto;\">\n\t\t<thead>\n\t\t\t<tr>\n\t\t\t\t<td class=\"dijitCalendarDayLabelTemplate\"><div class=\"dijitCalendarDayLabel\"></div></td>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody dojoAttachEvent=\"onclick: _onDayClick\">\n\t\t\t<tr class=\"dijitCalendarWeekTemplate\">\n\t\t\t\t<td class=\"dojoxCalendarNextMonth dijitCalendarDateTemplate\">
 \n\t\t\t\t\t<div class=\"dijitCalendarDateLabel\"></div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</div>\n",datePart:"month",dayWidth:"narrow",postCreate:function(){
+this.cloneClass(".dijitCalendarDayLabelTemplate",6);
+this.cloneClass(".dijitCalendarDateTemplate",6);
+this.cloneClass(".dijitCalendarWeekTemplate",5);
+var _40=dojo.date.locale.getNames("days",this.dayWidth,"standAlone",this.getLang());
+var _41=dojo.cldr.supplemental.getFirstDayOfWeek(this.getLang());
+dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_42,i){
+this._setText(_42,_40[(i+_41)%7]);
+},this);
+},onDisplay:function(){
+if(!this._addedFx){
+this._addedFx=true;
+this.addFx(".dijitCalendarDateTemplate div",this.domNode);
+}
+},_onDayClick:function(e){
+var _45=new Date(this.attr("value"));
+var p=e.target.parentNode;
+var c="dijitCalendar";
+var d=dojo.hasClass(p,c+"PreviousMonth")?-1:(dojo.hasClass(p,c+"NextMonth")?1:0);
+if(d){
+_45=dojo.date.add(_45,"month",d);
+}
+_45.setDate(e.target._date);
+if(this.isDisabledDate(_45)){
+dojo.stopEvent(e);
+return;
+}
+this.attr("value",_45);
+this.parent._onDateSelected(_45);
+},_setValueAttr:function(_49){
+this._populateDays();
+},_populateDays:function(){
+var _4a=this.attr("value");
+_4a.setDate(1);
+var _4b=_4a.getDay();
+var _4c=dojo.date.getDaysInMonth(_4a);
+var _4d=dojo.date.getDaysInMonth(dojo.date.add(_4a,"month",-1));
+var _4e=new Date();
+var _4f=this.attr("value");
+var _50=dojo.cldr.supplemental.getFirstDayOfWeek(this.getLang());
+if(_50>_4b){
+_50-=7;
+}
+dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_51,i){
+i+=_50;
+var _53=new Date(_4a);
+var _54,_55="dijitCalendar",adj=0;
+if(i<_4b){
+_54=_4d-_4b+i+1;
+adj=-1;
+_55+="Previous";
+}else{
+if(i>=(_4b+_4c)){
+_54=i-_4b-_4c+1;
+adj=1;
+_55+="Next";
+}else{
+_54=i-_4b+1;
+_55+="Current";
+}
+}
+if(adj){
+_53=dojo.date.add(_53,"month",adj);
+}
+_53.setDate(_54);
+if(!dojo.date.compare(_53,_4e,"date")){
+_55="dijitCalendarCurrentDate "+_55;
+}
+if(!dojo.date.compare(_53,_4f,"date")){
+_55="dijitCalendarSelectedDate "+_55;
+}
+if(this.isDisabledDate(_53,this.getLang())){
+_55=" dijitCalendarDisabledDate "+_55;
+}
+var _57=this.getClassForDate(_53,this.getLang());
+if(_57){
+_55+=_57+" "+_55;
+}
+_51.className=_55+"Month dijitCalendarDateTemplate";
+_51.dijitDateValue=_53.valueOf();
+var _58=dojo.query(".dijitCalendarDateLabel",_51)[0];
+this._setText(_58,_53.getDate());
+_58._date=_58.parentNode._date=_53.getDate();
+},this);
+var _59=dojo.date.locale.getNames("months","wide","standAlone",this.getLang());
+this._setText(this.monthLabelNode,_59[_4a.getMonth()]);
+this._setText(this.yearLabelNode,_4a.getFullYear());
+}});
+dojo.declare("dojox.widget._CalendarMonthYear",null,{constructor:function(){
+this._addView(dojox.widget._CalendarMonthYearView);
+}});
+dojo.declare("dojox.widget._CalendarMonthYearView",[dojox.widget._CalendarView,dijit._Templated],{templateString:"<div class=\"dojoxCal-MY-labels\" style=\"left: 0px;\"\t\n\tdojoAttachPoint=\"myContainer\" dojoAttachEvent=\"onclick: onClick\">\n\t\t<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin: auto;\">\n\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr class=\"dojoxCal-MY-G-Template\">\n\t\t\t\t\t\t\t\t<td class=\"dojoxCal-MY-M-Template\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"dojoxCalendarMonthLabel\"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td class=\"dojoxCal-MY-M-Template\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"dojoxCalendarMonthLabel\"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td class=\"dojoxCal-MY-Y-Template\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"dojoxCalendarYearLabel\"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td class=\"dojoxCal-MY-Y-Template\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"dojoxCalendarYearLabel\"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t
  </tr>\n\t\t\t\t\t\t <tr class=\"dojoxCal-MY-btns\">\n\t\t\t\t\t\t \t <td class=\"dojoxCal-MY-btns\" colspan=\"4\">\n\t\t\t\t\t\t \t\t <span class=\"dijitReset dijitInline dijitButtonNode ok-btn\" dojoAttachEvent=\"onclick: onOk\" dojoAttachPoint=\"okBtn\">\n\t\t\t\t\t\t \t \t \t <button\tclass=\"dijitReset dijitStretch dijitButtonContents\">OK</button>\n\t\t\t\t\t\t\t\t </span>\n\t\t\t\t\t\t\t\t <span class=\"dijitReset dijitInline dijitButtonNode cancel-btn\" dojoAttachEvent=\"onclick: onCancel\" dojoAttachPoint=\"cancelBtn\">\n\t\t\t\t\t\t \t \t\t <button\tclass=\"dijitReset dijitStretch dijitButtonContents\">Cancel</button>\n\t\t\t\t\t\t\t\t </span>\n\t\t\t\t\t\t \t </td>\n\t\t\t\t\t\t </tr>\n\t\t\t\t</tbody>\n\t\t</table>\n</div>\n",datePart:"year",displayedYears:10,useHeader:false,postCreate:function(){
+this.cloneClass(".dojoxCal-MY-G-Template",5,".dojoxCal-MY-btns");
+this.monthContainer=this.yearContainer=this.myContainer;
+var _5a="dojoxCalendarYearLabel";
+var _5b="dojoxCalendarDecrease";
+var _5c="dojoxCalendarIncrease";
+dojo.query("."+_5a,this.myContainer).forEach(function(_5d,idx){
+var _5f=_5c;
+switch(idx){
+case 0:
+_5f=_5b;
+case 1:
+dojo.removeClass(_5d,_5a);
+dojo.addClass(_5d,_5f);
+break;
+}
+});
+this._decBtn=dojo.query("."+_5b,this.myContainer)[0];
+this._incBtn=dojo.query("."+_5c,this.myContainer)[0];
+dojo.query(".dojoxCal-MY-M-Template",this.domNode).filter(function(_60){
+return _60.cellIndex==1;
+}).addClass("dojoxCal-MY-M-last");
+dojo.connect(this,"onBeforeDisplay",dojo.hitch(this,function(){
+this._cachedDate=new Date(this.attr("value").getTime());
+this._populateYears(this._cachedDate.getFullYear());
+this._populateMonths();
+this._updateSelectedMonth();
+this._updateSelectedYear();
+}));
+dojo.connect(this,"_populateYears",dojo.hitch(this,function(){
+this._updateSelectedYear();
+}));
+dojo.connect(this,"_populateMonths",dojo.hitch(this,function(){
+this._updateSelectedMonth();
+}));
+this._cachedDate=this.attr("value");
+this._populateYears();
+this._populateMonths();
+this.addFx(".dojoxCalendarMonthLabel,.dojoxCalendarYearLabel ",this.myContainer);
+},_setValueAttr:function(_61){
+this._populateYears(_61.getFullYear());
+},getHeader:function(){
+return null;
+},_getMonthNames:function(_62){
+this._monthNames=this._monthNames||dojo.date.locale.getNames("months",_62,"standAlone",this.getLang());
+return this._monthNames;
+},_populateMonths:function(){
+var _63=this._getMonthNames("abbr");
+dojo.query(".dojoxCalendarMonthLabel",this.monthContainer).forEach(dojo.hitch(this,function(_64,cnt){
+this._setText(_64,_63[cnt]);
+}));
+var _66=this.attr("constraints");
+if(_66){
+var _67=new Date();
+_67.setFullYear(this._year);
+var min=-1,max=12;
+if(_66.min){
+var _6a=_66.min.getFullYear();
+if(_6a>this._year){
+min=12;
+}else{
+if(_6a==this._year){
+min=_66.min.getMonth();
+}
+}
+}
+if(_66.max){
+var _6b=_66.max.getFullYear();
+if(_6b<this._year){
+max=-1;
+}else{
+if(_6b==this._year){
+max=_66.max.getMonth();
+}
+}
+}
+dojo.query(".dojoxCalendarMonthLabel",this.monthContainer).forEach(dojo.hitch(this,function(_6c,cnt){
+dojo[(cnt<min||cnt>max)?"addClass":"removeClass"](_6c,"dijitCalendarDisabledDate");
+}));
+}
+var h=this.getHeader();
+if(h){
+this._setText(this.getHeader(),this.attr("value").getFullYear());
+}
+},_populateYears:function(_6f){
+var _70=this.attr("constraints");
+var _71=_6f||this.attr("value").getFullYear();
+var _72=_71-Math.floor(this.displayedYears/2);
+var min=_70&&_70.min?_70.min.getFullYear():_72-10000;
+_72=Math.max(min,_72);
+this._displayedYear=_71;
+var _74=dojo.query(".dojoxCalendarYearLabel",this.yearContainer);
+var max=_70&&_70.max?_70.max.getFullYear()-_72:_74.length;
+var _76="dijitCalendarDisabledDate";
+_74.forEach(dojo.hitch(this,function(_77,cnt){
+if(cnt<=max){
+this._setText(_77,_72+cnt);
+dojo.removeClass(_77,_76);
+}else{
+dojo.addClass(_77,_76);
+}
+}));
+if(this._incBtn){
+dojo[max<_74.length?"addClass":"removeClass"](this._incBtn,_76);
+}
+if(this._decBtn){
+dojo[min>=_72?"addClass":"removeClass"](this._decBtn,_76);
+}
+var h=this.getHeader();
+if(h){
+this._setText(this.getHeader(),_72+" - "+(_72+11));
+}
+},_updateSelectedYear:function(){
+this._year=String((this._cachedDate||this.attr("value")).getFullYear());
+this._updateSelectedNode(".dojoxCalendarYearLabel",dojo.hitch(this,function(_7a,idx){
+return this._year!==null&&_7a.innerHTML==this._year;
+}));
+},_updateSelectedMonth:function(){
+var _7c=(this._cachedDate||this.attr("value")).getMonth();
+this._month=_7c;
+this._updateSelectedNode(".dojoxCalendarMonthLabel",function(_7d,idx){
+return idx==_7c;
+});
+},_updateSelectedNode:function(_7f,_80){
+var sel="dijitCalendarSelectedDate";
+dojo.query(_7f,this.domNode).forEach(function(_82,idx,_84){
+dojo[_80(_82,idx,_84)?"addClass":"removeClass"](_82.parentNode,sel);
+});
+var _85=dojo.query(".dojoxCal-MY-M-Template div",this.myContainer).filter(function(_86){
+return dojo.hasClass(_86.parentNode,sel);
+})[0];
+if(!_85){
+return;
+}
+var _87=dojo.hasClass(_85,"dijitCalendarDisabledDate");
+dojo[_87?"addClass":"removeClass"](this.okBtn,"dijitDisabled");
+},onClick:function(evt){
+var _89;
+var _8a=this;
+var sel="dijitCalendarSelectedDate";
+function hc(c){
+return dojo.hasClass(evt.target,c);
+};
+if(hc("dijitCalendarDisabledDate")){
+dojo.stopEvent(evt);
+return;
+}
+if(hc("dojoxCalendarMonthLabel")){
+_89="dojoxCal-MY-M-Template";
+this._month=evt.target.parentNode.cellIndex+(evt.target.parentNode.parentNode.rowIndex*2);
+this._cachedDate.setMonth(this._month);
+this._updateSelectedMonth();
+}else{
+if(hc("dojoxCalendarYearLabel")){
+_89="dojoxCal-MY-Y-Template";
+this._year=Number(evt.target.innerHTML);
+this._cachedDate.setYear(this._year);
+this._populateMonths();
+this._updateSelectedYear();
+}else{
+if(hc("dojoxCalendarDecrease")){
+this._populateYears(this._displayedYear-10);
+return;
+}else{
+if(hc("dojoxCalendarIncrease")){
+this._populateYears(this._displayedYear+10);
+return;
+}else{
+return true;
+}
+}
+}
+}
+dojo.stopEvent(evt);
+return false;
+},onOk:function(evt){
+dojo.stopEvent(evt);
+if(dojo.hasClass(this.okBtn,"dijitDisabled")){
+return false;
+}
+this.onValueSelected(this._cachedDate);
+return false;
+},onCancel:function(evt){
+dojo.stopEvent(evt);
+this.onValueSelected(this.attr("value"));
+return false;
+}});
+dojo.declare("dojox.widget.Calendar2Pane",[dojox.widget._CalendarBase,dojox.widget._CalendarDay,dojox.widget._CalendarMonthYear],{});
+dojo.declare("dojox.widget.Calendar",[dojox.widget._CalendarBase,dojox.widget._CalendarDay,dojox.widget._CalendarMonthYear],{});
+dojo.declare("dojox.widget.DailyCalendar",[dojox.widget._CalendarBase,dojox.widget._CalendarDay],{});
+dojo.declare("dojox.widget.MonthAndYearlyCalendar",[dojox.widget._CalendarBase,dojox.widget._CalendarMonthYear],{});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,260 @@
+.dojoxCalendar {
+	width: 182px;
+}
+.dojoxCalendarContainer {
+	cursor: default;
+	font-family: tahoma, verdana, helvetica;
+	font-size: 11px;
+	padding: 0px;
+	text-align: center;
+	width: 180px;
+	overflow: hidden;
+}
+.dojoxCalendarBody {
+	height: 138px;
+	overflow: hidden;
+	position: relative;
+	margin: auto;
+	width: 180px;
+}
+.dojoxCalendar .no-header .dojoxCalendarBody {
+	height: 162px;
+}
+.dojoxCalendar .dijitCalendarDayLabels, .dojoxCalendarMonthLabels, .dojoxCalendarYearLabels, .dojoxCal-MY-labels {
+	width: 180px;
+	height: 138px;
+	top: 0px;
+	position: absolute;
+	left: 0px;
+	margin: auto;
+	text-align: center;
+}
+.dojoxCalendar .dojoxCalendarBody > div {
+	width: 180px;
+}
+.dojoxCalendar .dijitCalendarDateTemplate {
+	padding: 0 1px 0 0 !important;
+}
+.nihilo .dojoxCalendar .dijitCalendarDateTemplate,
+.soria .dojoxCalendar .dijitCalendarDateTemplate {
+	border: 0px none !important; 
+}
+.soria tr.dojoxCal-MY-btns {
+	background:   url(../../../dijit/themes/soria/images/tabBottomHoverC.gif) repeat-x scroll 0px -21px;
+}
+.dojoxCalendar .noPointer, .dojoxCalendar .noPointer * {
+	cursor: auto;
+}
+.dojoxCalendarContainer table {
+	font-size: 11px;
+	border-bottom: 4px solid white;
+}
+.dojoxCalendarHeader {
+	height: 20px;
+	width: 172px;
+	padding: 4px 4px 0;
+}
+.dojoxCalendar .no-header .dojoxCalendarHeader {
+	display: none;
+}
+.soria .dojoxCalendarHeader {
+	background: #BED7F0 url(../../../dijit/themes/soria/images/titleBar.png) repeat-x scroll center top;
+}
+.dojoxCalendarDecrease, .dojoxCalendarIncrease {
+	height: 15px;
+	width: 15px;
+	cursor: pointer;
+}
+.dojoxCalendarDecrease {
+	background: transparent url(../../../dijit/themes/nihilo/images/spriteRoundedIconsSmall.png) no-repeat scroll left top;
+	float: left;
+}
+.dojoxCalendarIncrease {
+	background: transparent url(../../../dijit/themes/nihilo/images/spriteRoundedIconsSmall.png) no-repeat scroll -30px top;
+	float: right;
+}
+.dojoxCalendarMonthLabel {
+	cursor: pointer;
+	height: 35px;
+	width: 41px;
+	overflow: hidden;
+	text-align: center;
+	padding-top: 10px;
+}
+.dojoxCalendarYearLabel {
+	cursor: pointer;
+	height: 35px;
+	width: 41px;
+	overflow: hidden;
+	text-align: center;
+	padding-top: 10px;
+}
+.dojoxCalendarTitle {
+	cursor: pointer;
+	font-weight: bold;
+}
+.dojoxCalendar .navToPanel .dojoxCalendarDayYearLabel,
+.dojoxCalendar .navToPanel .dojoxCalendarYearHeader,
+.dojoxCalendar .navToPanel .dojoxCalendarMonthHeader  {
+	padding-right: 15px;
+	background: url(../../../dijit/themes/tundra/images/comboArrowDown.gif) right no-repeat;
+}
+.dojoxCalendar .dijitCalendarDateLabel {
+	height: 17px;
+	width: 17px;
+	padding: 1px 3px 0px 3px;
+	text-align: center;
+	border: 1px solid white;
+}
+.dojoxCalendar .dijitCalendarDayLabel {
+	cursor: pointer;
+	height: 17px;
+	width: 18px;
+	padding: 0pt 2px;
+	text-align: center;
+}
+.dojoxCalendar .dojoxCalendarContainer {
+	background-color: white;
+	border: 1px solid #656565;
+	color: black;
+}
+.dojoxCalendar .dijitCalendarDisabledDate {
+	text-decoration:line-through !important;
+	cursor:default !important;
+}
+.dojoxCalendar .dojoxCalendarFooter {
+	border-top: 1px solid #F4F4F4;
+	height: 15px;
+	padding-top: 4px;
+	cursor: pointer;
+}
+.soria .dojoxCalendar .dojoxCalendarFooter {
+	border-top: 0px none;
+	padding-top: 5px;
+	background: white url(../../../dijit/themes/soria/images/titleBar.png) repeat-x scroll center top
+}
+.dojoxCalendar .dojoxCalendarMonthLabel {
+	border: 1px solid white;
+}
+.dojoxCalendar .dojoxCalendarYearLabel {
+	border: 1px solid white;
+}
+.dojoxCalendar .dijitCalendarNextMonth .dijitCalendarDateLabel,
+.dojoxCalendar .dijitCalendarPreviousMonth .dijitCalendarDateLabel  {
+	border: 0px;
+  color: #646464;
+	padding-left: 0px;
+	padding-right: 0px;
+}
+.dojoxCalendar .dijitCalendarNextMonth, .dojoxCalendar .dijitCalendarPreviousMonth {
+  background-color: #E4E4E4;
+}
+.dojoxCalendar .dijitCalendarNextMonth .dojoxCalendarYearLabel,
+.dojoxCalendar .dijitCalendarPreviousMonth .dojoxCalendarYearLabel {
+	background-color: white;
+	border-color: white;
+	color: #646464;
+}
+.dojoxCalendar .dijitCalendarSelectedDate,
+.tundra .dojoxCalendar .dijitCalendarSelectedDate,
+.nihilo .dojoxCalendar .dijitCalendarSelectedDate {
+	
+	background-color:#ffe284 !important;
+	color:black !important;
+	border:#f5b93c solid 1px !important;
+}
+.soria .dojoxCalendar td.dijitCalendarSelectedDate {
+	background-color: #B9CBF1 !important;
+	color: black !important;
+	border: 1px solid #4B5AAA !important;
+}
+.soria .dojoxCalendar .dijitCalendarSelectedDate div {
+	
+	background-color: #B9CBF1 !important;
+	border: none  !important;
+}
+.dojoxCalendar .dijitCalendarSelectedDate div {
+	
+	background-color: #FFE284 !important;
+	border: none  !important;
+}
+div.dojoxCalendar tr.dojoxCal-MY-G-Template td.dijitCalendarSelectedDate {
+	background-color: transparent;
+	width: 43px;
+}
+.dojoxCalendar tr.dojoxCal-MY-G-Template td {
+	width: 45px;
+}
+.dojoxCalendar .dijitCalendarSelectedDate div.dijitCalendarDateLabel {
+	padding: 1px 1px 0px 3px;
+}
+.dojoxCalendar .monthOnly .dijitCalendarDayLabels,
+.dojoxCalendar .yearOnly .dijitCalendarDayLabels,
+.dojoxCalendar .monthOnly .dojoxCalendarComma,
+.dojoxCalendar .yearOnly .dojoxCalendarComma,
+.dojoxCalendar .monthOnly .dojoxCalendarFooter,
+.dojoxCalendar .yearOnly .dojoxCalendarFooter,
+.dojoxCalendar .monthOnly .dojoxCalendarYearHeader,
+.dojoxCalendar .monthOnly .dojoxCalendarIncrease,
+.dojoxCalendar .monthOnly .dojoxCalendarDecrease,
+.dojoxCalendar .yearOnly .dojoxCalendarMonthLabelNode {
+	display: none;
+}
+.dojoxCal-MY-labels .dojoxCalendarMonthLabel,
+.dojoxCal-MY-labels .dojoxCalendarYearLabel {
+	height: 13px;
+	padding-top: 4px;
+	padding-bottom: 3px;
+}
+.dojoxCal-MY-labels td.dojoxCal-MY-btns {
+	padding-top: 2px;
+	border-top: 1px solid grey;
+	text-align: center;
+}
+.dojoxCal-MY-labels {
+	background-color: white;
+}
+.dojoxCal-MY-labels .dojoxCalendarIncrease,
+.dojoxCal-MY-labels .dojoxCalendarDecrease {
+	float: none;
+	margin-left: 14px;
+}
+.dojoxCal-MY-btns button {
+	font-size: 8pt;
+}
+.dojoxCalendar .dojoxCal-MY-btns .dijitDisabled button {
+	color: #999;
+}
+.dojoxCal-hidden {
+	visibility: hidden;
+}
+.dojoxCalendar .dojoxCal-MY-labels {
+	height: 164px;
+}
+.dojoxCalendar .dojoxCal-MY-labels .dijitCalendarSelectedDate div {
+	padding-top: 3px;
+	padding-bottom: 2px;
+}
+.soria .dojoxCal-MY-labels .dijitCalendarSelectedDate div {
+	padding-top: 4px;
+	padding-bottom: 3px;
+}
+.dojoxCal-MY-labels .dojoxCalendarMonthLabel {
+	width: 38px;
+}
+.dojoxCal-MY-labels .dojoxCal-MY-M-last {
+	border-right: 1px grey solid;
+}
+.soria .dojoxCal-MY-labels .dojoxCal-MY-M-last {
+	border-right: 1px #B9CBF1 solid;
+} 
+.dojoxCal-MY-labels .dojoxCal-MY-M-last .dojoxCalendarMonthLabel,
+.dojoxCal-MY-labels .dojoxCal-MY-G-Template div.dojoxCalendarYearLabel {
+	width: 42px;
+}
+.dojoxCalendar .cancel-btn {
+	margin-left: 11px;
+}
+.dojoxCalendar .ok-btn {
+	margin-left: 15px;
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/Calendar.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,24 @@
+<div class="dojoxCalendar">
+    <div tabindex="0" class="dojoxCalendarContainer" style="visibility: visible; width: 180px; heightL 138px;" dojoAttachPoint="container">
+		<div style="display:none">
+			<div dojoAttachPoint="previousYearLabelNode"></div>
+			<div dojoAttachPoint="nextYearLabelNode"></div>
+			<div dojoAttachPoint="monthLabelSpacer"></div>
+		</div>
+        <div class="dojoxCalendarHeader">
+            <div>
+                <div class="dojoxCalendarDecrease" dojoAttachPoint="decrementMonth"></div>
+            </div>
+            <div class="">
+                <div class="dojoxCalendarIncrease" dojoAttachPoint="incrementMonth"></div>
+            </div>
+            <div class="dojoxCalendarTitle" dojoAttachPoint="header" dojoAttachEvent="onclick: onHeaderClick">
+            </div>
+        </div>
+        <div class="dojoxCalendarBody" dojoAttachPoint="containerNode"></div>
+        <div class="">
+            <div class="dojoxCalendarFooter" dojoAttachPoint="footer">                        
+            </div>
+        </div>
+    </div>
+</div>

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarDay.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarDay.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarDay.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarDay.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,23 @@
+<div class="dijitCalendarDayLabels" style="left: 0px;" dojoAttachPoint="dayContainer">
+	<div dojoAttachPoint="header">
+		<div dojoAttachPoint="monthAndYearHeader">
+			<span dojoAttachPoint="monthLabelNode" class="dojoxCalendarMonthLabelNode"></span>
+			<span dojoAttachPoint="headerComma" class="dojoxCalendarComma">,</span>
+			<span dojoAttachPoint="yearLabelNode" class="dojoxCalendarDayYearLabel"></span>
+		</div>
+	</div>
+	<table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
+		<thead>
+			<tr>
+				<td class="dijitCalendarDayLabelTemplate"><div class="dijitCalendarDayLabel"></div></td>
+			</tr>
+		</thead>
+		<tbody dojoAttachEvent="onclick: _onDayClick">
+			<tr class="dijitCalendarWeekTemplate">
+				<td class="dojoxCalendarNextMonth dijitCalendarDateTemplate">
+					<div class="dijitCalendarDateLabel"></div>
+				</td>
+			</tr>
+		</tbody>
+	</table>
+</div>

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonth.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonth.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonth.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonth.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,12 @@
+<div class="dojoxCalendarMonthLabels" style="left: 0px;"  
+	dojoAttachPoint="monthContainer" dojoAttachEvent="onclick: onClick">
+    <table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
+        <tbody>
+            <tr class="dojoxCalendarMonthGroupTemplate">
+                <td class="dojoxCalendarMonthTemplate">
+                    <div class="dojoxCalendarMonthLabel"></div>
+                </td>
+             </tr>
+        </tbody>
+    </table>
+</div>

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonthYear.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonthYear.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonthYear.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarMonthYear.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,31 @@
+<div class="dojoxCal-MY-labels" style="left: 0px;"	
+	dojoAttachPoint="myContainer" dojoAttachEvent="onclick: onClick">
+		<table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
+				<tbody>
+						<tr class="dojoxCal-MY-G-Template">
+								<td class="dojoxCal-MY-M-Template">
+										<div class="dojoxCalendarMonthLabel"></div>
+								</td>
+								<td class="dojoxCal-MY-M-Template">
+										<div class="dojoxCalendarMonthLabel"></div>
+								</td>
+								<td class="dojoxCal-MY-Y-Template">
+										<div class="dojoxCalendarYearLabel"></div>
+								</td>
+								<td class="dojoxCal-MY-Y-Template">
+										<div class="dojoxCalendarYearLabel"></div>
+								</td>
+						 </tr>
+						 <tr class="dojoxCal-MY-btns">
+						 	 <td class="dojoxCal-MY-btns" colspan="4">
+						 		 <span class="dijitReset dijitInline dijitButtonNode ok-btn" dojoAttachEvent="onclick: onOk" dojoAttachPoint="okBtn">
+						 	 	 	 <button	class="dijitReset dijitStretch dijitButtonContents">OK</button>
+								 </span>
+								 <span class="dijitReset dijitInline dijitButtonNode cancel-btn" dojoAttachEvent="onclick: onCancel" dojoAttachPoint="cancelBtn">
+						 	 		 <button	class="dijitReset dijitStretch dijitButtonContents">Cancel</button>
+								 </span>
+						 	 </td>
+						 </tr>
+				</tbody>
+		</table>
+</div>

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarYear.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarYear.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarYear.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/Calendar/CalendarYear.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,12 @@
+<div class="dojoxCalendarYearLabels" style="left: 0px;" dojoAttachPoint="yearContainer">
+    <table cellspacing="0" cellpadding="0" border="0" style="margin: auto;" dojoAttachEvent="onclick: onClick">
+        <tbody>
+            <tr class="dojoxCalendarYearGroupTemplate">
+                <td class="dojoxCalendarNextMonth dojoxCalendarYearTemplate">
+                    <div class="dojoxCalendarYearLabel">
+                    </div>
+                </td>
+            </tr>
+        </tbody>
+    </table>
+</div>

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarFx.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarFx.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarFx.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarFx.js Thu Mar 19 11:13:08 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["dojox.widget.CalendarFx"]){
+dojo._hasResource["dojox.widget.CalendarFx"]=true;
+dojo.provide("dojox.widget.CalendarFx");
+dojo.require("dojox.widget.FisheyeLite");
+dojo.declare("dojox.widget._FisheyeFX",null,{addFx:function(_1,_2){
+dojo.query(_1,_2).forEach(function(_3){
+new dojox.widget.FisheyeLite({properties:{fontSize:1.1}},_3);
+});
+}});
+dojo.declare("dojox.widget.CalendarFisheye",[dojox.widget.Calendar,dojox.widget._FisheyeFX],{});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarViews.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarViews.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarViews.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/CalendarViews.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,59 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.widget.CalendarViews"]){
+dojo._hasResource["dojox.widget.CalendarViews"]=true;
+dojo.provide("dojox.widget.CalendarViews");
+dojo.experimental("dojox.widget.CalendarViews");
+dojo.require("dojox.widget.Calendar");
+dojo.declare("dojox.widget._CalendarMonth",null,{constructor:function(){
+this._addView(dojox.widget._CalendarMonthView);
+}});
+dojo.declare("dojox.widget._CalendarMonthView",[dojox.widget._CalendarView,dijit._Templated],{templateString:"<div class=\"dojoxCalendarMonthLabels\" style=\"left: 0px;\"  \n\tdojoAttachPoint=\"monthContainer\" dojoAttachEvent=\"onclick: onClick\">\n    <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin: auto;\">\n        <tbody>\n            <tr class=\"dojoxCalendarMonthGroupTemplate\">\n                <td class=\"dojoxCalendarMonthTemplate\">\n                    <div class=\"dojoxCalendarMonthLabel\"></div>\n                </td>\n             </tr>\n        </tbody>\n    </table>\n</div>\n",datePart:"year",headerClass:"dojoxCalendarMonthHeader",postCreate:function(){
+this.cloneClass(".dojoxCalendarMonthTemplate",3);
+this.cloneClass(".dojoxCalendarMonthGroupTemplate",2);
+this._populateMonths();
+this.addFx(".dojoxCalendarMonthLabel",this.domNode);
+},_setValueAttr:function(_1){
+
+this.header.innerHTML=_1.getFullYear();
+},_getMonthNames:dojox.widget._CalendarMonthYearView.prototype._getMonthNames,_populateMonths:dojox.widget._CalendarMonthYearView.prototype._populateMonths,onClick:function(_2){
+if(!dojo.hasClass(_2.target,"dojoxCalendarMonthLabel")){
+dojo.stopEvent(_2);
+return;
+}
+var _3=_2.target.parentNode.cellIndex+(_2.target.parentNode.parentNode.rowIndex*4);
+var _4=this.attr("value");
+_4.setMonth(_3);
+this.onValueSelected(_4,_3);
+}});
+dojo.declare("dojox.widget._CalendarYear",null,{parent:null,constructor:function(){
+this._addView(dojox.widget._CalendarYearView);
+}});
+dojo.declare("dojox.widget._CalendarYearView",[dojox.widget._CalendarView,dijit._Templated],{templateString:"<div class=\"dojoxCalendarYearLabels\" style=\"left: 0px;\" dojoAttachPoint=\"yearContainer\">\n    <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin: auto;\" dojoAttachEvent=\"onclick: onClick\">\n        <tbody>\n            <tr class=\"dojoxCalendarYearGroupTemplate\">\n                <td class=\"dojoxCalendarNextMonth dojoxCalendarYearTemplate\">\n                    <div class=\"dojoxCalendarYearLabel\">\n                    </div>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n",displayedYears:6,postCreate:function(){
+this.cloneClass(".dojoxCalendarYearTemplate",3);
+this.cloneClass(".dojoxCalendarYearGroupTemplate",2);
+this._populateYears();
+this.addFx(".dojoxCalendarYearLabel",this.domNode);
+},_setValueAttr:function(_5){
+this._populateYears(_5.getFullYear());
+},_populateYears:dojox.widget._CalendarMonthYearView.prototype._populateYears,adjustDate:function(_6,_7){
+return dojo.date.add(_6,"year",_7*12);
+},onClick:function(_8){
+if(!dojo.hasClass(_8.target,"dojoxCalendarYearLabel")){
+dojo.stopEvent(_8);
+return;
+}
+var _9=Number(_8.target.innerHTML);
+var _a=this.attr("value");
+_a.setYear(_9);
+this.onValueSelected(_a,_9);
+}});
+dojo.declare("dojox.widget.Calendar3Pane",[dojox.widget._CalendarBase,dojox.widget._CalendarDay,dojox.widget._CalendarMonth,dojox.widget._CalendarYear],{});
+dojo.declare("dojox.widget.MonthlyCalendar",[dojox.widget._CalendarBase,dojox.widget._CalendarMonth],{});
+dojo.declare("dojox.widget.YearlyCalendar",[dojox.widget._CalendarBase,dojox.widget._CalendarYear],{});
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker.js?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker.js Thu Mar 19 11:13:08 2009
@@ -0,0 +1,162 @@
+/*
+	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.ColorPicker"]){
+dojo._hasResource["dojox.widget.ColorPicker"]=true;
+dojo.provide("dojox.widget.ColorPicker");
+dojo.experimental("dojox.widget.ColorPicker");
+dojo.require("dijit.form._FormWidget");
+dojo.require("dojo.dnd.move");
+dojo.require("dojo.fx");
+dojo.require("dojox.color");
+(function(d){
+var _2=function(_3){
+return _3;
+};
+dojo.declare("dojox.widget.ColorPicker",dijit.form._FormWidget,{showRgb:true,showHsv:true,showHex:true,webSafe:true,animatePoint:true,slideDuration:250,liveUpdate:false,PICKER_HUE_H:150,PICKER_SAT_VAL_H:150,PICKER_SAT_VAL_W:150,value:"#ffffff",_underlay:d.moduleUrl("dojox.widget","ColorPicker/images/underlay.png"),templateString:"<div class=\"dojoxColorPicker\" dojoAttachEvent=\"onkeypress: _handleKey\">\n\t<div class=\"dojoxColorPickerBox\">\n\t\t<div dojoAttachPoint=\"cursorNode\" tabIndex=\"0\" class=\"dojoxColorPickerPoint\"></div>\n\t\t<img dojoAttachPoint=\"colorUnderlay\" dojoAttachEvent=\"onclick: _setPoint\" class=\"dojoxColorPickerUnderlay\" src=\"${_underlay}\">\n\t</div>\n\t<div class=\"dojoxHuePicker\">\n\t\t<div dojoAttachPoint=\"hueCursorNode\" tabIndex=\"0\" class=\"dojoxHuePickerPoint\"></div>\n\t\t<div dojoAttachPoint=\"hueNode\" class=\"dojoxHuePickerUnderlay\" dojoAttachEvent=\"onclick: _setHuePoint\"></div>\n\t</div>\n\t<div dojoAttachPoint=\"previewNode
 \" class=\"dojoxColorPickerPreview\"></div>\n\t<div dojoAttachPoint=\"safePreviewNode\" class=\"dojoxColorPickerWebSafePreview\"></div>\n\t<div class=\"dojoxColorPickerOptional\" dojoAttachEvent=\"onchange: _colorInputChange\">\n\t\t<div class=\"dijitInline dojoxColorPickerRgb\" dojoAttachPoint=\"rgbNode\">\n\t\t\t<table>\n\t\t\t<tr><td>r</td><td><input dojoAttachPoint=\"Rval\" size=\"1\"></td></tr>\n\t\t\t<tr><td>g</td><td><input dojoAttachPoint=\"Gval\" size=\"1\"></td></tr>\n\t\t\t<tr><td>b</td><td><input dojoAttachPoint=\"Bval\" size=\"1\"></td></tr>\n\t\t\t</table>\n\t\t</div>\n\t\t<div class=\"dijitInline dojoxColorPickerHsv\" dojoAttachPoint=\"hsvNode\">\n\t\t\t<table>\n\t\t\t<tr><td>h</td><td><input dojoAttachPoint=\"Hval\"size=\"1\"> &deg;</td></tr>\n\t\t\t<tr><td>s</td><td><input dojoAttachPoint=\"Sval\" size=\"1\"> %</td></tr>\n\t\t\t<tr><td>v</td><td><input dojoAttachPoint=\"Vval\" size=\"1\"> %</td></tr>\n\t\t\t</table>\n\t\t</div>\n\t\t<div class=\"dojoxColorPi
 ckerHex\" dojoAttachPoint=\"hexNode\">\t\n\t\t\thex: <input dojoAttachPoint=\"hexCode, focusNode, valueNode\" size=\"6\" class=\"dojoxColorPickerHexCode\">\n\t\t</div>\n\t</div>\n</div>\n",buildRendering:function(){
+this.inherited(arguments);
+if(d.isIE<7){
+this.colorUnderlay.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this._underlay+"', sizingMethod='scale')";
+this.colorUnderlay.src=this._blankGif.toString();
+}
+if(!this.showRgb){
+this.rgbNode.style.display="none";
+}
+if(!this.showHsv){
+this.hsvNode.style.display="none";
+}
+if(!this.showHex){
+this.hexNode.style.display="none";
+}
+if(!this.webSafe){
+this.safePreviewNode.style.visibility="hidden";
+}
+this._offset=0;
+var _4=d.marginBox(this.cursorNode);
+var _5=d.marginBox(this.hueCursorNode);
+this._shift={hue:{x:Math.round(_5.w/2)-1,y:Math.round(_5.h/2)-1},picker:{x:Math.floor(_4.w/2),y:Math.floor(_4.h/2)}};
+this.PICKER_HUE_H=d.coords(this.hueNode).h;
+var cu=d.coords(this.colorUnderlay);
+this.PICKER_SAT_VAL_H=cu.h;
+this.PICKER_SAT_VAL_W=cu.w;
+var ox=this._shift.picker.x;
+var oy=this._shift.picker.y;
+this._mover=new d.dnd.move.boxConstrainedMoveable(this.cursorNode,{box:{t:0-oy,l:0-ox,w:this.PICKER_SAT_VAL_W,h:this.PICKER_SAT_VAL_H}});
+this._hueMover=new d.dnd.move.boxConstrainedMoveable(this.hueCursorNode,{box:{t:0-this._shift.hue.y,l:0,w:0,h:this.PICKER_HUE_H}});
+d.subscribe("/dnd/move/stop",d.hitch(this,"_clearTimer"));
+d.subscribe("/dnd/move/start",d.hitch(this,"_setTimer"));
+},_setValueAttr:function(_9){
+this.setColor(_9,true);
+},setColor:function(_a,_b){
+var _c=dojox.color.fromString(_a);
+this._updatePickerLocations(_c);
+this._updateColorInputs(_c);
+this._updateValue(_c,_b);
+},_setTimer:function(_d){
+dijit.focus(_d.node);
+d.setSelectable(this.domNode,false);
+this._timer=setInterval(d.hitch(this,"_updateColor"),45);
+},_clearTimer:function(_e){
+clearInterval(this._timer);
+this._timer=null;
+this.onChange(this.value);
+d.setSelectable(this.domNode,true);
+},_setHue:function(h){
+d.style(this.colorUnderlay,"backgroundColor",dojox.color.fromHsv(h,100,100).toHex());
+},_updateColor:function(){
+var _10=d.style(this.hueCursorNode,"top")+this._shift.hue.y,_11=d.style(this.cursorNode,"top")+this._shift.picker.y,_12=d.style(this.cursorNode,"left")+this._shift.picker.x,h=Math.round(360-(_10/this.PICKER_HUE_H*360)),col=dojox.color.fromHsv(h,_12/this.PICKER_SAT_VAL_W*100,100-(_11/this.PICKER_SAT_VAL_H*100));
+this._updateColorInputs(col);
+this._updateValue(col,true);
+if(h!=this._hue){
+this._setHue(h);
+}
+},_colorInputChange:function(e){
+var col,_17=false;
+switch(e.target){
+case this.hexCode:
+col=dojox.color.fromString(e.target.value);
+_17=true;
+break;
+case this.Rval:
+case this.Gval:
+case this.Bval:
+col=dojox.color.fromArray([this.Rval.value,this.Gval.value,this.Bval.value]);
+_17=true;
+break;
+case this.Hval:
+case this.Sval:
+case this.Vval:
+col=dojox.color.fromHsv(this.Hval.value,this.Sval.value,this.Vval.value);
+_17=true;
+break;
+}
+if(_17){
+this._updatePickerLocations(col);
+this._updateColorInputs(col);
+this._updateValue(col,true);
+}
+},_updateValue:function(col,_19){
+var hex=col.toHex();
+this.value=this.valueNode.value=hex;
+if(_19&&(!this._timer||this.liveUpdate)){
+this.onChange(hex);
+}
+},_updatePickerLocations:function(col){
+var hsv=col.toHsv(),_1d=Math.round(this.PICKER_HUE_H-hsv.h/360*this.PICKER_HUE_H-this._shift.hue.y),_1e=Math.round(hsv.s/100*this.PICKER_SAT_VAL_W-this._shift.picker.x),_1f=Math.round(this.PICKER_SAT_VAL_H-hsv.v/100*this.PICKER_SAT_VAL_H-this._shift.picker.y);
+if(this.animatePoint){
+d.fx.slideTo({node:this.hueCursorNode,duration:this.slideDuration,top:_1d,left:0}).play();
+d.fx.slideTo({node:this.cursorNode,duration:this.slideDuration,top:_1f,left:_1e}).play();
+}else{
+d.style(this.hueCursorNode,"top",_1d+"px");
+d.style(this.cursorNode,{left:_1e+"px",top:_1f+"px"});
+}
+if(hsv.h!=this._hue){
+this._setHue(hsv.h);
+}
+},_updateColorInputs:function(col){
+var hex=col.toHex();
+if(this.showRgb){
+this.Rval.value=col.r;
+this.Gval.value=col.g;
+this.Bval.value=col.b;
+}
+if(this.showHsv){
+var hsv=col.toHsv();
+this.Hval.value=Math.round((hsv.h));
+this.Sval.value=Math.round(hsv.s);
+this.Vval.value=Math.round(hsv.v);
+}
+if(this.showHex){
+this.hexCode.value=hex;
+}
+this.previewNode.style.backgroundColor=hex;
+if(this.webSafe){
+this.safePreviewNode.style.backgroundColor=_2(hex);
+}
+},_setHuePoint:function(evt){
+var _24=evt.layerY-this._shift.hue.y;
+if(this.animatePoint){
+d.fx.slideTo({node:this.hueCursorNode,duration:this.slideDuration,top:_24,left:0,onEnd:d.hitch(this,"_updateColor",true)}).play();
+}else{
+d.style(this.hueCursorNode,"top",_24+"px");
+this._updateColor(false);
+}
+},_setPoint:function(evt){
+var _26=evt.layerY-this._shift.picker.y,_27=evt.layerX-this._shift.picker.x;
+if(evt){
+dijit.focus(evt.target);
+}
+if(this.animatePoint){
+d.fx.slideTo({node:this.cursorNode,duration:this.slideDuration,top:_26,left:_27,onEnd:d.hitch(this,"_updateColor",true)}).play();
+}else{
+d.style(this.cursorNode,{left:_27+"px",top:_26+"px"});
+this._updateColor(false);
+}
+},_handleKey:function(e){
+}});
+})(dojo);
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.css?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.css Thu Mar 19 11:13:08 2009
@@ -0,0 +1,93 @@
+.dojoxColorPicker {
+	padding:8px;
+	width:300px;
+	height:150px; 
+	-moz-border-radius:4pt;
+	-webkit-border-radius:5pt;
+	-webkit-drop-shadow:3pt;
+}
+.tundra .dojoxColorPicker {
+	background:#ededed;
+	border:1px solid #ccc;
+}
+.dojoxColorPickerBox {
+	position:relative;
+	width:150px;	
+	height:150px;	
+	margin:0; 
+	padding:0;
+}
+.dojoxColorPickerUnderlay {
+	position:absolute; 
+	top:0; left:0;
+	width:150px; 
+	height:150px;
+	z-index:1;
+}
+.tundra .dojoxColorPickerUnderlay {
+	border:1px solid #a0a0a0;
+}
+.dojoxHuePickerUnderlay {
+	background:url(images/hue.png) no-repeat top center; 
+	position:absolute;
+	top:0; left:0;
+	height:150px;
+	width:20px;
+	z-index:1;
+}
+.dojoxHuePicker { position:relative; top:-150px; left:157px; }
+.dojoxHuePickerPoint {
+	position:absolute;
+	top:0; left:0;
+	width:20px;
+	height:8px;
+	z-index:3; 
+	background-color:#666; 
+	cursor:move;
+	background:url(images/hueHandle.png) no-repeat center center; 
+}
+.dojoxColorPickerPoint {
+	position:absolute;
+	width:10px; 
+	height:10px;
+	background: url(images/pickerPointer.png) no-repeat center center; 
+	border:0;
+	z-index:3; 
+	cursor:move; 
+}
+.dojoxColorPickerPreview {
+	display:block;	
+	width:45px;	
+	height:45px;
+	border:1px solid #333;
+	background-color:#fff; 
+	position:relative;
+	top:-150px;
+	left: 185px; 
+}
+.dojoxColorPickerWebSafePreview {
+	display:block;
+	width:25px; 
+	height:25px; 
+	position:relative;
+	top:-197px;
+	left:240px; 
+	border:1px solid #333; 
+}
+.dojoxColorPickerOptional {
+	position:relative;
+	top:-170px;
+	left:185px;
+}
+.dojoxColorPickerOptional input {
+	border:1px solid #a7a7a7;
+	width:25px;
+	padding:1px 3px 1px 3px;
+	line-height:1.1em;
+}
+.dojoxColorPickerRgb { position:absolute; top:0; left:0;  } 
+.dojoxColorPickerHsv { position:absolute; top:0; left:50px;  } 
+.dojoxColorPickerHex { position:absolute; top:73px; left:2px;  } 
+.dojoxColorPickerHex input {
+	width:55px;	
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.html?rev=755922&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/ColorPicker.html Thu Mar 19 11:13:08 2009
@@ -0,0 +1,31 @@
+<div class="dojoxColorPicker" dojoAttachEvent="onkeypress: _handleKey">
+	<div class="dojoxColorPickerBox">
+		<div dojoAttachPoint="cursorNode" tabIndex="0" class="dojoxColorPickerPoint"></div>
+		<img dojoAttachPoint="colorUnderlay" dojoAttachEvent="onclick: _setPoint" class="dojoxColorPickerUnderlay" src="${_underlay}">
+	</div>
+	<div class="dojoxHuePicker">
+		<div dojoAttachPoint="hueCursorNode" tabIndex="0" class="dojoxHuePickerPoint"></div>
+		<div dojoAttachPoint="hueNode" class="dojoxHuePickerUnderlay" dojoAttachEvent="onclick: _setHuePoint"></div>
+	</div>
+	<div dojoAttachPoint="previewNode" class="dojoxColorPickerPreview"></div>
+	<div dojoAttachPoint="safePreviewNode" class="dojoxColorPickerWebSafePreview"></div>
+	<div class="dojoxColorPickerOptional" dojoAttachEvent="onchange: _colorInputChange">
+		<div class="dijitInline dojoxColorPickerRgb" dojoAttachPoint="rgbNode">
+			<table>
+			<tr><td>r</td><td><input dojoAttachPoint="Rval" size="1"></td></tr>
+			<tr><td>g</td><td><input dojoAttachPoint="Gval" size="1"></td></tr>
+			<tr><td>b</td><td><input dojoAttachPoint="Bval" size="1"></td></tr>
+			</table>
+		</div>
+		<div class="dijitInline dojoxColorPickerHsv" dojoAttachPoint="hsvNode">
+			<table>
+			<tr><td>h</td><td><input dojoAttachPoint="Hval"size="1"> &deg;</td></tr>
+			<tr><td>s</td><td><input dojoAttachPoint="Sval" size="1"> %</td></tr>
+			<tr><td>v</td><td><input dojoAttachPoint="Vval" size="1"> %</td></tr>
+			</table>
+		</div>
+		<div class="dojoxColorPickerHex" dojoAttachPoint="hexNode">	
+			hex: <input dojoAttachPoint="hexCode, focusNode, valueNode" size="6" class="dojoxColorPickerHexCode">
+		</div>
+	</div>
+</div>

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

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

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/hue.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

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

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/widget/ColorPicker/images/hueHandle.png
------------------------------------------------------------------------------
    svn:mime-type = image/png