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:11:05 UTC

svn commit: r755920 [1/11] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: json/ jsonPath/ lang/ lang/aspect/ lang/functional/ lang/oo/ layout/ layout/dnd/ layout/ext-dijit/ layout/ext-dijit/layout/ layout/nls/ layout/nls/en/ layout/nl...

Author: jstrachan
Date: Thu Mar 19 11:10:58 2009
New Revision: 755920

URL: http://svn.apache.org/viewvc?rev=755920&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/json/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/query.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/ref.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/schema.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/query.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/LICENSE
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/cflow.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/counter.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizerGuard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/profiler.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/timer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/tracer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/array.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/binrec.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/curry.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/fold.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/lambda.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/linrec.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/listcomp.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/multirec.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/numrec.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/object.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/reversed.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/scan.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/sequence.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/tailrec.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/util.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/zip.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/mix.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/observable.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Decorator.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/Filter.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/aop.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/general.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/mixin.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/oo/rearrange.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/utils.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/BorderContainer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ContentPane.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/DragPane.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ExpandoPane.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/FloatingPane.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/GridContainer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/RadioGroup.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ResizeHandle.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/RotatorContainer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ScrollPane.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ToggleSplitter.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/dnd/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/dnd/Avatar.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/dnd/PlottedDnd.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ext-dijit/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ext-dijit/layout/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/ext-dijit/layout/StackContainer-touch.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/nls/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/nls/GridContainer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/nls/en/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/nls/en/GridContainer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/nls/fr/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/nls/fr/GridContainer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/DndGridContainer.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/ExpandoPane.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/ExpandoPane.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/FloatingPane.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/FloatingPane.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/GridContainer.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/GridContainer.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/RadioGroup.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/ResizeHandle.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/RotatorContainer.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/ScrollPane.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/ScrollPane.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/ToggleSplitter.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/icons/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/icons/grip_bg.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/icons/pixel.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/icons/resize.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/layout/resources/icons/rotator.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/math/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/math/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/math/_base.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/math/curves.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/math/matrix.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/math/round.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/_common.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/docs/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/docs/bookmarklets.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/files.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/network_check.txt   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/offline.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/offline.js.uncompressed.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/checkmark.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/greenball.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/learnhow.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/learnhow.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/offline-widget.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/offline-widget.html   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/redball.png   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/resources/roller.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/sync.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/off/ui.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/resources/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/resources/README.template
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/resources/_modules.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/resources/explore.php
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/robot/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/robot/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/robot/recorder.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/Client.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/JsonRPC.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/JsonRest.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/OfflineRest.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/ProxiedPath.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/Rest.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/SMDLibrary/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/SMDLibrary/dojo-api.smd
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/SMDLibrary/geonames.smd
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/SMDLibrary/google.smd
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/SMDLibrary/wikipedia.smd
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/SMDLibrary/yahoo.smd
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/Service.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/rpc/test.txt   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/secure/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/secure/DOM.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/secure/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/secure/capability.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/secure/sandbox.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/Anchor.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/Annotation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/DoubleArrowAnnotation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/Figure.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/LeadAnnotation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/PreexistingAnnotation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/SingleArrowAnnotation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/Slider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/Toolbar.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/UnderlineAnnotation.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/UndoStack.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/_Plugin.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/resources/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/resources/images/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/resources/images/icons.gif   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sketch/resources/sketch.css   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sql/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sql/LICENSE
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sql/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sql/_base.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/sql/_crypto.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/AirDBStorageProvider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/AirEncryptedLocalStorageProvider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/AirFileStorageProvider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/FlashStorageProvider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/GearsStorageProvider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/Provider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/Storage.as
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/Storage.swf   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/WhatWGStorageProvider.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/_common.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/buildFlashStorage.sh   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/manager.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/storage_dialog.fla   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/storage/storage_dialog.swf   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/string/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/string/BidiComplex.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/string/Builder.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/string/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/string/sprintf.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/string/tokenize.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/testing/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/testing/DocTest.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/testing/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/Sequence.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/Streamer.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/ThreadPool.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/_base.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/timing/doLater.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/uuid/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/uuid/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/uuid/Uuid.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/uuid/_base.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/uuid/generateRandomUuid.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/uuid/generateTimeBasedUuid.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/README   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/_base.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/ca.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/check.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/creditCard.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/isbn.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/regexp.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/us.js   (with props)
    camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/web.js   (with props)

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/README?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/README Thu Mar 19 11:10:58 2009
@@ -0,0 +1,42 @@
+-------------------------------------------------------------------------------
+DojoX JSON Modules
+-------------------------------------------------------------------------------
+Version 0.1
+Release date: 07/06/2008
+-------------------------------------------------------------------------------
+Project state:
+beta
+-------------------------------------------------------------------------------
+Credits
+	Kris Zyp (kris@sitepen.com)
+-------------------------------------------------------------------------------
+Project description
+JSONQuery (dojox.json.query) - A comprehensive object data query tool
+JSON Schema (dojox.json.schema) - An object validation tool based on JSON Schema
+JSON Referencing (dojox.json.ref) - JSON Referencing capable serializer and
+deserializer.
+
+-------------------------------------------------------------------------------
+Dependencies:
+
+dojox.json.ref uses dojo.date.stamp
+-------------------------------------------------------------------------------
+Documentation
+See the Dojo API tool (http://dojotoolkit.org/api)
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/json/*
+
+Install into the following directory structure:
+/dojox/json/
+
+...which should be at the same level as your Dojo checkout.
+
+/dojox/json/*
+
+Require in the dojox.data stores you wish to use.
+-------------------------------------------------------------------------------
+Additional Notes
+

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/query.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/query.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/query.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/query.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,142 @@
+/*
+	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.json.query"]){
+dojo._hasResource["dojox.json.query"]=true;
+dojo.provide("dojox.json.query");
+(function(){
+function _1(_2,_3,_4,_5){
+var _6=_2.length,_7=[];
+_4=_4||_6;
+_3=(_3<0)?Math.max(0,_3+_6):Math.min(_6,_3);
+_4=(_4<0)?Math.max(0,_4+_6):Math.min(_6,_4);
+for(var i=_3;i<_4;i+=_5){
+_7.push(_2[i]);
+}
+return _7;
+};
+function _9(_a,_b){
+var _c=[];
+function _d(_e){
+if(_b){
+if(_b===true&&!(_e instanceof Array)){
+_c.push(_e);
+}else{
+if(_e[_b]){
+_c.push(_e[_b]);
+}
+}
+}
+for(var i in _e){
+var val=_e[i];
+if(!_b){
+_c.push(val);
+}else{
+if(val&&typeof val=="object"){
+_d(val);
+}
+}
+}
+};
+if(_b instanceof Array){
+if(_b.length==1){
+return _a[_b[0]];
+}
+for(var i=0;i<_b.length;i++){
+_c.push(_a[_b[i]]);
+}
+}else{
+_d(_a);
+}
+return _c;
+};
+function _12(_13,_14){
+var _15=[];
+var _16={};
+for(var i=0,l=_13.length;i<l;++i){
+var _19=_13[i];
+if(_14(_19,i,_13)){
+if((typeof _19=="object")&&_19){
+if(!_19.__included){
+_19.__included=true;
+_15.push(_19);
+}
+}else{
+if(!_16[_19+typeof _19]){
+_16[_19+typeof _19]=true;
+_15.push(_19);
+}
+}
+}
+}
+for(i=0,l=_15.length;i<l;++i){
+if(_15[i]){
+delete _15[i].__included;
+}
+}
+return _15;
+};
+dojox.json.query=function(_1a,obj){
+var _1c=0;
+var str=[];
+_1a=_1a.replace(/"(\\.|[^"\\])*"|'(\\.|[^'\\])*'|[\[\]]/g,function(t){
+_1c+=t=="["?1:t=="]"?-1:0;
+return (t=="]"&&_1c>0)?"`]":(t.charAt(0)=="\""||t.charAt(0)=="'")?"`"+(str.push(t)-1):t;
+});
+var _1f="";
+function _20(_21){
+_1f=_21+"("+_1f;
+};
+function _22(t,a,b,c,d,e,f,g){
+return str[g].match(/[\*\?]/)||f=="~"?"/^"+str[g].substring(1,str[g].length-1).replace(/\\([btnfr\\"'])|([^\w\*\?])/g,"\\$1$2").replace(/([\*\?])/g,".$1")+(f=="~"?"$/i":"$/")+".test("+a+")":t;
+};
+_1a.replace(/(\]|\)|push|pop|shift|splice|sort|reverse)\s*\(/,function(){
+throw new Error("Unsafe function call");
+});
+_1a=_1a.replace(/([^=]=)([^=])/g,"$1=$2").replace(/@|(\.\s*)?[a-zA-Z\$_]+(\s*:)?/g,function(t){
+return t.charAt(0)=="."?t:t=="@"?"$obj":(t.match(/:|^(\$|Math|true|false|null)$/)?"":"$obj.")+t;
+}).replace(/\.?\.?\[(`\]|[^\]])*\]|\?.*|\.\.([\w\$_]+)|\.\*/g,function(t,a,b){
+var _2f=t.match(/^\.?\.?(\[\s*\^?\?|\^?\?|\[\s*==)(.*?)\]?$/);
+if(_2f){
+var _30="";
+if(t.match(/^\./)){
+_20("expand");
+_30=",true)";
+}
+_20(_2f[1].match(/\=/)?"dojo.map":_2f[1].match(/\^/)?"distinctFilter":"dojo.filter");
+return _30+",function($obj){return "+_2f[2]+"})";
+}
+_2f=t.match(/^\[\s*([\/\\].*)\]/);
+if(_2f){
+return ".concat().sort(function(a,b){"+_2f[1].replace(/\s*,?\s*([\/\\])\s*([^,\\\/]+)/g,function(t,a,b){
+return "var av= "+b.replace(/\$obj/,"a")+",bv= "+b.replace(/\$obj/,"b")+";if(av>bv||bv==null){return "+(a=="/"?1:-1)+";}\n"+"if(bv>av||av==null){return "+(a=="/"?-1:1)+";}\n";
+})+"return 0;})";
+}
+_2f=t.match(/^\[(-?[0-9]*):(-?[0-9]*):?(-?[0-9]*)\]/);
+if(_2f){
+_20("slice");
+return ","+(_2f[1]||0)+","+(_2f[2]||0)+","+(_2f[3]||1)+")";
+}
+if(t.match(/^\.\.|\.\*|\[\s*\*\s*\]|,/)){
+_20("expand");
+return (t.charAt(1)=="."?",'"+b+"'":t.match(/,/)?","+t:"")+")";
+}
+return t;
+}).replace(/(\$obj\s*((\.\s*[\w_$]+\s*)|(\[\s*`([0-9]+)\s*`\]))*)(==|~)\s*`([0-9]+)/g,_22).replace(/`([0-9]+)\s*(==|~)\s*(\$obj\s*((\.\s*[\w_$]+)|(\[\s*`([0-9]+)\s*`\]))*)/g,function(t,a,b,c,d,e,f,g){
+return _22(t,c,d,e,f,g,b,a);
+});
+_1a=_1f+(_1a.charAt(0)=="$"?"":"$")+_1a.replace(/`([0-9]+|\])/g,function(t,a){
+return a=="]"?"]":str[a];
+});
+var _3e=eval("1&&function($,$1,$2,$3,$4,$5,$6,$7,$8,$9){var $obj=$;return "+_1a+"}");
+for(var i=0;i<arguments.length-1;i++){
+arguments[i]=arguments[i+1];
+}
+return obj?_3e.apply(this,arguments):_3e;
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/ref.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/ref.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/ref.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/ref.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,233 @@
+/*
+	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.json.ref"]){
+dojo._hasResource["dojox.json.ref"]=true;
+dojo.provide("dojox.json.ref");
+dojo.require("dojo.date.stamp");
+dojox.json.ref={resolveJson:function(_1,_2){
+_2=_2||{};
+var _3=_2.idAttribute||"id";
+var _4=_2.idPrefix||"";
+var _5=_2.assignAbsoluteIds;
+var _6=_2.index||{};
+var _7=_2.timeStamps;
+var _8,_9=[];
+var _a=/^(.*\/)?(\w+:\/\/)|[^\/\.]+\/\.\.\/|^.*\/(\/)/;
+var _b=this._addProp;
+var F=function(){
+};
+function _d(it,_f,_10,_11,_12){
+var _13,val,id=_3 in it?it[_3]:_10;
+if(id!==undefined){
+id=(_4+id).replace(_a,"$2$3");
+}
+var _16=_12||it;
+if(id!==undefined){
+if(_5){
+it.__id=id;
+}
+if(_2.schemas&&(!(it instanceof Array))&&(val=id.match(/^(.+\/)[^\.\[]*$/))){
+_11=_2.schemas[val[1]];
+}
+if(_6[id]&&((it instanceof Array)==(_6[id] instanceof Array))){
+_16=_6[id];
+delete _16.$ref;
+_13=true;
+}else{
+var _17=_11&&_11.prototype;
+if(_17){
+F.prototype=_17;
+_16=new F();
+}
+}
+_6[id]=_16;
+if(_7){
+_7[id]=_2.time;
+}
+}
+var _18=_11&&_11.properties;
+var _19=it.length;
+for(var i in it){
+if(i==_19){
+break;
+}
+if(it.hasOwnProperty(i)){
+val=it[i];
+var _1b=_18&&_18[i];
+if(_1b&&_1b.format=="date-time"&&typeof val=="string"){
+val=dojo.date.stamp.fromISOString(val);
+}else{
+if((typeof val=="object")&&val&&!(val instanceof Date)){
+_8=val.$ref;
+if(_8){
+delete it[i];
+var _1c=_8.replace(/(#)([^\.\[])/,"$1.$2").match(/(^([^\[]*\/)?[^#\.\[]*)#?([\.\[].*)?/);
+if((_8=(_1c[1]=="$"||_1c[1]=="this"||_1c[1]=="")?_1:_6[(_4+_1c[1]).replace(_a,"$2$3")])){
+if(_1c[3]){
+_1c[3].replace(/(\[([^\]]+)\])|(\.?([^\.\[]+))/g,function(t,a,b,c,d){
+_8=_8&&_8[b?b.replace(/[\"\'\\]/,""):d];
+});
+}
+}
+if(_8){
+val=_8;
+}else{
+if(!_f){
+var _22;
+if(!_22){
+_9.push(_16);
+}
+_22=true;
+}else{
+val=_d(val,false,val.$ref,_1b);
+val._loadObject=_2.loader;
+}
+}
+}else{
+if(!_f){
+val=_d(val,_9==it,id&&_b(id,i),_1b,_16!=it&&typeof _16[i]=="object"&&_16[i]);
+}
+}
+}
+}
+it[i]=val;
+if(_16!=it&&!_16.__isDirty){
+var old=_16[i];
+_16[i]=val;
+if(_13&&val!==old&&!_16._loadObject&&!(val instanceof Date&&old instanceof Date&&val.getTime()==old.getTime())&&!(typeof val=="function"&&typeof old=="function"&&val.toString()==old.toString())&&_6.onUpdate){
+_6.onUpdate(_16,i,old,val);
+}
+}
+}
+}
+if(_13){
+for(i in _16){
+if(!_16.__isDirty&&_16.hasOwnProperty(i)&&!it.hasOwnProperty(i)&&i!="__id"&&i!="__clientId"&&!(_16 instanceof Array&&isNaN(i))){
+if(_6.onUpdate&&i!="_loadObject"&&i!="_idAttr"){
+_6.onUpdate(_16,i,_16[i],undefined);
+}
+delete _16[i];
+while(_16 instanceof Array&&_16.length&&_16[_16.length-1]===undefined){
+_16.length--;
+}
+}
+}
+}else{
+if(_6.onLoad){
+_6.onLoad(_16);
+}
+}
+return _16;
+};
+if(_1&&typeof _1=="object"){
+_1=_d(_1,false,_2.defaultId);
+_d(_9,false);
+}
+return _1;
+},fromJson:function(str,_25){
+function ref(_27){
+return {$ref:_27};
+};
+try{
+var _28=eval("("+str+")");
+}
+catch(e){
+throw new SyntaxError("Invalid JSON string: "+e.message+" parsing: "+str);
+}
+if(_28){
+return this.resolveJson(_28,_25);
+}
+return _28;
+},toJson:function(it,_2a,_2b,_2c){
+var _2d=this._useRefs;
+var _2e=this._addProp;
+_2b=_2b||"";
+var _2f={};
+var _30={};
+function _31(it,_33,_34){
+if(typeof it=="object"&&it){
+var _35;
+if(it instanceof Date){
+return "\""+dojo.date.stamp.toISOString(it,{zulu:true})+"\"";
+}
+var id=it.__id;
+if(id){
+if(_33!="#"&&((_2d&&!id.match(/#/))||_2f[id])){
+var ref=id;
+if(id.charAt(0)!="#"){
+if(it.__clientId==id){
+ref="cid:"+id;
+}else{
+if(id.substring(0,_2b.length)==_2b){
+ref=id.substring(_2b.length);
+}else{
+ref=id;
+}
+}
+}
+return _31({$ref:ref},"#");
+}
+_33=id;
+}else{
+it.__id=_33;
+_30[_33]=it;
+}
+_2f[_33]=it;
+_34=_34||"";
+var _38=_2a?_34+dojo.toJsonIndentStr:"";
+var _39=_2a?"\n":"";
+var sep=_2a?" ":"";
+if(it instanceof Array){
+var res=dojo.map(it,function(obj,i){
+var val=_31(obj,_2e(_33,i),_38);
+if(typeof val!="string"){
+val="undefined";
+}
+return _39+_38+val;
+});
+return "["+res.join(","+sep)+_39+_34+"]";
+}
+var _3f=[];
+for(var i in it){
+if(it.hasOwnProperty(i)){
+var _41;
+if(typeof i=="number"){
+_41="\""+i+"\"";
+}else{
+if(typeof i=="string"&&(i.charAt(0)!="_"||i.charAt(1)!="_")){
+_41=dojo._escapeString(i);
+}else{
+continue;
+}
+}
+var val=_31(it[i],_2e(_33,i),_38);
+if(typeof val!="string"){
+continue;
+}
+_3f.push(_39+_38+_41+":"+sep+val);
+}
+}
+return "{"+_3f.join(","+sep)+_39+_34+"}";
+}else{
+if(typeof it=="function"&&dojox.json.ref.serializeFunctions){
+return it.toString();
+}
+}
+return dojo.toJson(it);
+};
+var _43=_31(it,"#","");
+if(!_2c){
+for(var i in _30){
+delete _30[i].__id;
+}
+}
+return _43;
+},_addProp:function(id,_46){
+return id+(id.match(/#/)?id.length==1?"":".":"#")+_46;
+},_useRefs:false,serializeFunctions:false};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/schema.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/schema.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/schema.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/json/schema.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,174 @@
+/*
+	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.json.schema"]){
+dojo._hasResource["dojox.json.schema"]=true;
+dojo.provide("dojox.json.schema");
+dojox.json.schema.validate=function(_1,_2){
+return this._validate(_1,_2,false);
+};
+dojox.json.schema.checkPropertyChange=function(_3,_4){
+return this._validate(_3,_4,true);
+};
+dojox.json.schema.mustBeValid=function(_5){
+if(!_5.valid){
+throw new Error(dojo.map(_5.errors,function(_6){
+return _6.property+" "+_6.message;
+}).join(","));
+}
+};
+dojox.json.schema._validate=function(_7,_8,_9){
+var _a=[];
+function _b(_c,_d,_e,i){
+if(typeof _d!="object"){
+return null;
+}
+_e+=_e?typeof i=="number"?"["+i+"]":typeof i=="undefined"?"":"."+i:i;
+function _10(_11){
+_a.push({property:_e,message:_11});
+};
+if(_9&&_d.readonly){
+_10("is a readonly field, it can not be changed");
+}
+if(_d instanceof Array){
+if(!(_c instanceof Array)){
+return [{property:_e,message:"An array tuple is required"}];
+}
+for(i=0;i<_d.length;i++){
+_a.concat(_b(_c[i],_d[i],_e,i));
+}
+return _a;
+}
+if(_d["extends"]){
+_b(_c,_d["extends"],_e,i);
+}
+function _12(_13,_14){
+if(_13){
+if(typeof _13=="string"&&_13!="any"&&(_13=="null"?_14!==null:typeof _14!=_13)&&!(_14 instanceof Array&&_13=="array")&&!(_13=="integer"&&!(_14%1))){
+return [{property:_e,message:(typeof _14)+" value found, but a "+_13+" is required"}];
+}
+if(_13 instanceof Array){
+var _15=[];
+for(var j=0;j<_13.length;j++){
+if(!(_15=_12(_13[j],_14)).length){
+break;
+}
+}
+if(_15.length){
+return _15;
+}
+}else{
+if(typeof _13=="object"){
+_b(_14,_13,_e);
+}
+}
+}
+return [];
+};
+if(_c!==null){
+if(_c===undefined){
+if(!_d.optional){
+_10("is missing and it is not optional");
+}
+}else{
+_a=_a.concat(_12(_d.type,_c));
+if(_d.disallow&&!_12(_d.disallow,_c).length){
+_10(" disallowed value was matched");
+}
+if(_c instanceof Array){
+if(_d.items){
+for(i=0,l=_c.length;i<l;i++){
+_a.concat(_b(_c[i],_d.items,_e,i));
+}
+}
+if(_d.minItems&&_c.length<_d.minItems){
+_10("There must be a minimum of "+_d.minItems+" in the array");
+}
+if(_d.maxItems&&_c.length>_d.maxItems){
+_10("There must be a maximum of "+_d.maxItems+" in the array");
+}
+}else{
+if(_d.properties&&typeof _c=="object"){
+_a.concat(_17(_c,_d.properties,_e,_d.additionalProperties));
+}
+}
+if(_d.pattern&&typeof _c=="string"&&!_c.match(_d.pattern)){
+_10("does not match the regex pattern "+_d.pattern);
+}
+if(_d.maxLength&&typeof _c=="string"&&_c.length>_d.maxLength){
+_10("may only be "+_d.maxLength+" characters long");
+}
+if(_d.minLength&&typeof _c=="string"&&_c.length<_d.minLength){
+_10("must be at least "+_d.minLength+" characters long");
+}
+if(typeof _d.minimum!==undefined&&typeof _c==typeof _d.minimum&&_d.minimum>_c){
+_10("must have a minimum value of "+_d.minimum);
+}
+if(typeof _d.maximum!==undefined&&typeof _c==typeof _d.maximum&&_d.maximum<_c){
+_10("must have a maximum value of "+_d.maximum);
+}
+if(_d["enum"]){
+var _18=_d["enum"];
+l=_18.length;
+var _19;
+for(var j=0;j<l;j++){
+if(_18[j]===_c){
+_19=1;
+break;
+}
+}
+if(!_19){
+_10("does not have a value in the enumeration "+_18.join(", "));
+}
+}
+if(typeof _d.maxDecimal=="number"&&(_c*10^_d.maxDecimal)%1){
+_10("may only have "+_d.maxDecimal+" digits of decimal places");
+}
+}
+}
+return null;
+};
+function _17(_1b,_1c,_1d,_1e){
+if(typeof _1c=="object"){
+if(typeof _1b!="object"||_1b instanceof Array){
+_a.push({property:_1d,message:"an object is required"});
+}
+for(var i in _1c){
+if(_1c.hasOwnProperty(i)){
+var _20=_1b[i];
+var _21=_1c[i];
+_b(_20,_21,_1d,i);
+}
+}
+}
+for(i in _1b){
+if(_1b.hasOwnProperty(i)&&(i.charAt(0)!="_"||i.charAt(0)!="_")&&_1c&&!_1c[i]&&_1e===false){
+_a.push({property:_1d,message:(typeof _20)+"The property "+i+" is not defined in the schema and the schema does not allow additional properties"});
+}
+var _22=_1c&&_1c[i]&&_1c[i].requires;
+if(_22&&!(_22 in _1b)){
+_a.push({property:_1d,message:"the presence of the property "+i+" requires that "+_22+" also be present"});
+}
+_20=_1b[i];
+if(_1c&&typeof _1c=="object"&&!(i in _1c)){
+_b(_20,_1e,_1d,i);
+}
+if(!_9&&_20&&_20.$schema){
+_a=_a.concat(_b(_20,_20.$schema,_1d,i));
+}
+}
+return _a;
+};
+if(_8){
+_b(_7,_8,"","");
+}
+if(!_9&&_7.$schema){
+_b(_7,_7.$schema,"","");
+}
+return {valid:!_a.length,errors:_a};
+};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/README?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/README Thu Mar 19 11:10:58 2009
@@ -0,0 +1,126 @@
+-------------------------------------------------------------------------------
+dojox.jsonPath
+-------------------------------------------------------------------------------
+Version 1.0
+Release date: 11/14/2007
+-------------------------------------------------------------------------------
+Project state: beta
+-------------------------------------------------------------------------------
+Project authors
+	Dustin Machi
+	Kris Zyp
+-------------------------------------------------------------------------------
+Project description
+
+jsonPath is a query system similar in idea to xpath, but for use against
+javascript objects.  This code is a port of the jsonPath code at 
+http://code.google.com/p/jsonpath/.  It was contributed under CLA by Stefan
+Goessner.  Thanks Stefan! 
+
+-------------------------------------------------------------------------------
+Dependencies:
+
+Dojo Core (package loader).
+-------------------------------------------------------------------------------
+Documentation
+
+Usage:
+
+var matches = dojox.jsonPath.query(objectToQuery, jsonPathExpresson)
+
+Expressions:
+
+	$			The Root Object
+	@			The current object/element
+	. or []			The child operator
+	..			Recursive descent
+	*			all objects
+	[]			subscript operator
+	[,]			Union operator
+	[start:end:step]	array slice operator
+	?()			applies a filter/script expression
+	()			script expresions
+
+	some examples:
+
+	Given the following test data set:
+
+	var json = 
+                  { "store": {
+                        "book": [ 
+                          { "category": "reference",
+                                "author": "Nigel Rees",
+                                "title": "Sayings of the Century",
+                                "price": 8.95
+                          },
+                          { "category": "fiction",
+                                "author": "Evelyn Waugh",
+                                "title": "Sword of Honour",
+                                "price": 12.99
+                          },
+                          { "category": "fiction",
+                                "author": "Herman Melville",
+                                "title": "Moby Dick",
+                                "isbn": "0-553-21311-3",
+                                "price": 8.99
+                          },
+                          { "category": "fiction",
+                                "author": "J. R. R. Tolkien",
+                                "title": "The Lord of the Rings",
+                                "isbn": "0-395-19395-8",
+                                "price": 22.99
+                          }
+                        ],
+                        "bicycle": {
+                          "color": "red",
+                          "price": 19.95
+                        }
+                  }
+                };
+
+	Here are some example queries and their output:
+
+   	$.store.book[*].author 
+	["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
+
+	$..author
+	["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
+
+	$.store.*
+	[[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}],{"color":"red","price":19.95}]
+
+	$.store..price
+	[8.95,12.99,8.99,22.99,19.95]
+
+	$..book[(@.length-1)]
+	[{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}]
+
+	$..book[-1]
+	[{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}]
+
+	$..book[0,1]
+	[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99}]
+	
+	$..book[:2]
+	[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99}]
+
+	$..book[?(@.isbn)]
+	[{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}]
+
+	$..book[?(@.price<10)]
+	[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99}]
+
+	$..*
+	[{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}],"bicycle":{"color":"red","price":19.95}},[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99}],{"color":"red","price":19.95},{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95}
 ,{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99},"reference","Nigel Rees","Sayings of the Century",8.95,"fiction","Evelyn Waugh","Sword of Honour",12.99,"fiction","Herman Melville","Moby Dick","0-553-21311-3",8.99,"fiction","J. R. R. Tolkien","The Lord of the Rings","0-395-19395-8",22.99,"red",19.95]
+
+
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/jsonPath
+
+Install into the following directory structure:
+/dojox/jsonPath/
+
+...which should be at the same level as your Dojo checkout.

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/query.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/query.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/query.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/jsonPath/query.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,204 @@
+/*
+	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.jsonPath.query"]){
+dojo._hasResource["dojox.jsonPath.query"]=true;
+dojo.provide("dojox.jsonPath.query");
+dojox.jsonPath.query=function(_1,_2,_3){
+var re=dojox.jsonPath._regularExpressions;
+if(!_3){
+_3={};
+}
+var _5=[];
+function _6(i){
+return _5[i];
+};
+var _8;
+if(_3.resultType=="PATH"&&_3.evalType=="RESULT"){
+throw Error("RESULT based evaluation not supported with PATH based results");
+}
+var P={resultType:_3.resultType||"VALUE",normalize:function(_a){
+var _b=[];
+_a=_a.replace(/'([^']|'')*'/g,function(t){
+return "_str("+(_5.push(eval(t))-1)+")";
+});
+var ll=-1;
+while(ll!=_b.length){
+ll=_b.length;
+_a=_a.replace(/(\??\([^\(\)]*\))/g,function($0){
+return "#"+(_b.push($0)-1);
+});
+}
+_a=_a.replace(/[\['](#[0-9]+)[\]']/g,"[$1]").replace(/'?\.'?|\['?/g,";").replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"");
+ll=-1;
+while(ll!=_a){
+ll=_a;
+_a=_a.replace(/#([0-9]+)/g,function($0,$1){
+return _b[$1];
+});
+}
+return _a.split(";");
+},asPaths:function(_11){
+for(var j=0;j<_11.length;j++){
+var p="$";
+var x=_11[j];
+for(var i=1,n=x.length;i<n;i++){
+p+=/^[0-9*]+$/.test(x[i])?("["+x[i]+"]"):("['"+x[i]+"']");
+}
+_11[j]=p;
+}
+return _11;
+},exec:function(_17,val,rb){
+var _1a=["$"];
+var _1b=rb?val:[val];
+var _1c=[_1a];
+function add(v,p,def){
+if(v&&v.hasOwnProperty(p)&&P.resultType!="VALUE"){
+_1c.push(_1a.concat([p]));
+}
+if(def){
+_1b=v[p];
+}else{
+if(v&&v.hasOwnProperty(p)){
+_1b.push(v[p]);
+}
+}
+};
+function _21(v){
+_1b.push(v);
+_1c.push(_1a);
+P.walk(v,function(i){
+if(typeof v[i]==="object"){
+var _24=_1a;
+_1a=_1a.concat(i);
+_21(v[i]);
+_1a=_24;
+}
+});
+};
+function _25(loc,val){
+if(val instanceof Array){
+var len=val.length,_29=0,end=len,_2b=1;
+loc.replace(/^(-?[0-9]*):(-?[0-9]*):?(-?[0-9]*)$/g,function($0,$1,$2,$3){
+_29=parseInt($1||_29);
+end=parseInt($2||end);
+_2b=parseInt($3||_2b);
+});
+_29=(_29<0)?Math.max(0,_29+len):Math.min(len,_29);
+end=(end<0)?Math.max(0,end+len):Math.min(len,end);
+for(var i=_29;i<end;i+=_2b){
+add(val,i);
+}
+}
+};
+function _31(str){
+var i=loc.match(/^_str\(([0-9]+)\)$/);
+return i?_5[i[1]]:str;
+};
+function _35(val){
+if(/^\(.*?\)$/.test(loc)){
+add(val,P.eval(loc,val),rb);
+}else{
+if(loc==="*"){
+P.walk(val,rb&&val instanceof Array?function(i){
+P.walk(val[i],function(j){
+add(val[i],j);
+});
+}:function(i){
+add(val,i);
+});
+}else{
+if(loc===".."){
+_21(val);
+}else{
+if(/,/.test(loc)){
+for(var s=loc.split(/'?,'?/),i=0,n=s.length;i<n;i++){
+add(val,_31(s[i]));
+}
+}else{
+if(/^\?\(.*?\)$/.test(loc)){
+P.walk(val,function(i){
+if(P.eval(loc.replace(/^\?\((.*?)\)$/,"$1"),val[i])){
+add(val,i);
+}
+});
+}else{
+if(/^(-?[0-9]*):(-?[0-9]*):?([0-9]*)$/.test(loc)){
+_25(loc,val);
+}else{
+loc=_31(loc);
+if(rb&&val instanceof Array&&!/^[0-9*]+$/.test(loc)){
+P.walk(val,function(i){
+add(val[i],loc);
+});
+}else{
+add(val,loc,rb);
+}
+}
+}
+}
+}
+}
+}
+};
+while(_17.length){
+var loc=_17.shift();
+if((val=_1b)===null||val===undefined){
+return val;
+}
+_1b=[];
+var _3f=_1c;
+_1c=[];
+if(rb){
+_35(val);
+}else{
+P.walk(val,function(i){
+_1a=_3f[i]||_1a;
+_35(val[i]);
+});
+}
+}
+if(P.resultType=="BOTH"){
+_1c=P.asPaths(_1c);
+var _41=[];
+for(var i=0;i<_1c.length;i++){
+_41.push({path:_1c[i],value:_1b[i]});
+}
+return _41;
+}
+return P.resultType=="PATH"?P.asPaths(_1c):_1b;
+},walk:function(val,f){
+if(val instanceof Array){
+for(var i=0,n=val.length;i<n;i++){
+if(i in val){
+f(i);
+}
+}
+}else{
+if(typeof val==="object"){
+for(var m in val){
+if(val.hasOwnProperty(m)){
+f(m);
+}
+}
+}
+}
+},eval:function(x,_v){
+try{
+return $&&_v&&eval(x.replace(/@/g,"_v"));
+}
+catch(e){
+throw new SyntaxError("jsonPath: "+e.message+": "+x.replace(/@/g,"_v").replace(/\^/g,"_a"));
+}
+}};
+var $=_1;
+if(_2&&_1){
+return P.exec(P.normalize(_2).slice(1),_1,_3.evalType=="RESULT");
+}
+return false;
+};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/LICENSE
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/LICENSE?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/LICENSE (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/LICENSE Thu Mar 19 11:10:58 2009
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2007 Oliver Steele
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/README?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/README Thu Mar 19 11:10:58 2009
@@ -0,0 +1,50 @@
+-------------------------------------------------------------------------------
+dojox.lang
+-------------------------------------------------------------------------------
+Version 0.991
+Release date: 07/30/2007
+-------------------------------------------------------------------------------
+Project state:
+beta
+-------------------------------------------------------------------------------
+Credits
+	Eugene Lazutkin (eugene.lazutkin@gmail.com)
+	Kris Zyp (kris@sitepen.com)
+-------------------------------------------------------------------------------
+Project description
+
+Implementation of common functional operations, and provisions, aspect-oriented
+helpers. Later we can add other JS language-related helpers.
+
+dojox.lang.observable - Provides construction of objects that such that 
+property access and modification can be controlled, i.e. provides a form of
+getters/setters.
+-------------------------------------------------------------------------------
+Dependencies:
+
+None.
+-------------------------------------------------------------------------------
+Documentation
+
+For now:
+
+dojox.lang.functional:
+http://lazutkin.com/blog/2008/jan/12/functional-fun-javascript-dojo/
+
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+http://svn.dojotoolkit.org/src/dojo/dojox/trunk/lang/*
+
+Install into the following directory structure:
+/dojox/lang/
+
+...which should be at the same level as your Dojo checkout.
+-------------------------------------------------------------------------------
+Additional Notes
+
+See tests and the source for more details.
+
+LICENSE in this directory contains the MIT license by Oliver Steele for
+dojox.lang.functional.lambda, which was derived from his original implementation.

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,212 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect"]){
+dojo._hasResource["dojox.lang.aspect"]=true;
+dojo.provide("dojox.lang.aspect");
+(function(){
+var d=dojo,_2=dojox.lang.aspect,ap=Array.prototype,_4=[],_5;
+var _6=function(){
+this.next_before=this.prev_before=this.next_around=this.prev_around=this.next_afterReturning=this.prev_afterReturning=this.next_afterThrowing=this.prev_afterThrowing=this;
+this.counter=0;
+};
+d.extend(_6,{add:function(_7){
+var _8=d.isFunction(_7),_9={advice:_7,dynamic:_8};
+this._add(_9,"before","",_8,_7);
+this._add(_9,"around","",_8,_7);
+this._add(_9,"after","Returning",_8,_7);
+this._add(_9,"after","Throwing",_8,_7);
+++this.counter;
+return _9;
+},_add:function(_a,_b,_c,_d,_e){
+var _f=_b+_c;
+if(_d||_e[_b]||(_c&&_e[_f])){
+var _10="next_"+_f,_11="prev_"+_f;
+(_a[_11]=this[_11])[_10]=_a;
+(_a[_10]=this)[_11]=_a;
+}
+},remove:function(_12){
+this._remove(_12,"before");
+this._remove(_12,"around");
+this._remove(_12,"afterReturning");
+this._remove(_12,"afterThrowing");
+--this.counter;
+},_remove:function(_13,_14){
+var _15="next_"+_14,_16="prev_"+_14;
+if(_13[_15]){
+_13[_15][_16]=_13[_16];
+_13[_16][_15]=_13[_15];
+}
+},isEmpty:function(){
+return !this.counter;
+}});
+var _17=function(){
+return function(){
+var _18=arguments.callee,_19=_18.advices,ret,i,a,e,t;
+if(_5){
+_4.push(_5);
+}
+_5={instance:this,joinPoint:_18,depth:_4.length,around:_19.prev_around,dynAdvices:[],dynIndex:0};
+try{
+for(i=_19.prev_before;i!=_19;i=i.prev_before){
+if(i.dynamic){
+_5.dynAdvices.push(a=new i.advice(_5));
+if(t=a.before){
+t.apply(a,arguments);
+}
+}else{
+t=i.advice;
+t.before.apply(t,arguments);
+}
+}
+try{
+ret=(_19.prev_around==_19?_18.target:_2.proceed).apply(this,arguments);
+}
+catch(e){
+_5.dynIndex=_5.dynAdvices.length;
+for(i=_19.next_afterThrowing;i!=_19;i=i.next_afterThrowing){
+a=i.dynamic?_5.dynAdvices[--_5.dynIndex]:i.advice;
+if(t=a.afterThrowing){
+t.call(a,e);
+}
+if(t=a.after){
+t.call(a);
+}
+}
+throw e;
+}
+_5.dynIndex=_5.dynAdvices.length;
+for(i=_19.next_afterReturning;i!=_19;i=i.next_afterReturning){
+a=i.dynamic?_5.dynAdvices[--_5.dynIndex]:i.advice;
+if(t=a.afterReturning){
+t.call(a,ret);
+}
+if(t=a.after){
+t.call(a);
+}
+}
+var ls=_18._listeners;
+for(i in ls){
+if(!(i in ap)){
+ls[i].apply(this,arguments);
+}
+}
+}
+finally{
+for(i=0;i<_5.dynAdvices.length;++i){
+a=_5.dynAdvices[i];
+if(a.destroy){
+a.destroy();
+}
+}
+_5=_4.length?_4.pop():null;
+}
+return ret;
+};
+};
+_2.advise=function(obj,_21,_22){
+if(typeof obj!="object"){
+obj=obj.prototype;
+}
+var _23=[];
+if(!(_21 instanceof Array)){
+_21=[_21];
+}
+for(var j=0;j<_21.length;++j){
+var t=_21[j];
+if(t instanceof RegExp){
+for(var i in obj){
+if(d.isFunction(obj[i])&&t.test(i)){
+_23.push(i);
+}
+}
+}else{
+if(d.isFunction(obj[t])){
+_23.push(t);
+}
+}
+}
+if(!d.isArray(_22)){
+_22=[_22];
+}
+return _2.adviseRaw(obj,_23,_22);
+};
+_2.adviseRaw=function(obj,_28,_29){
+if(!_28.length||!_29.length){
+return null;
+}
+var m={},al=_29.length;
+for(var i=_28.length-1;i>=0;--i){
+var _2d=_28[i],o=obj[_2d],ao=new Array(al),t=o.advices;
+if(!t){
+var x=obj[_2d]=_17();
+x.target=o.target||o;
+x.targetName=_2d;
+x._listeners=o._listeners||[];
+x.advices=new _6;
+t=x.advices;
+}
+for(var j=0;j<al;++j){
+ao[j]=t.add(_29[j]);
+}
+m[_2d]=ao;
+}
+return [obj,m];
+};
+_2.unadvise=function(_33){
+if(!_33){
+return;
+}
+var obj=_33[0],_35=_33[1];
+for(var _36 in _35){
+var o=obj[_36],t=o.advices,ao=_35[_36];
+for(var i=ao.length-1;i>=0;--i){
+t.remove(ao[i]);
+}
+if(t.isEmpty()){
+var _3b=true,ls=o._listeners;
+if(ls.length){
+for(i in ls){
+if(!(i in ap)){
+_3b=false;
+break;
+}
+}
+}
+if(_3b){
+obj[_36]=o.target;
+}else{
+var x=obj[_36]=d._listener.getDispatcher();
+x.target=o.target;
+x._listeners=ls;
+}
+}
+}
+};
+_2.getContext=function(){
+return _5;
+};
+_2.getContextStack=function(){
+return _4;
+};
+_2.proceed=function(){
+var _3e=_5.joinPoint,_3f=_3e.advices;
+for(var c=_5.around;c!=_3f;c=_5.around){
+_5.around=c.prev_around;
+if(c.dynamic){
+var a=_5.dynAdvices[_5.dynIndex++],t=a.around;
+if(t){
+return t.apply(a,arguments);
+}
+}else{
+return c.advice.around.apply(c.advice,arguments);
+}
+}
+return _3e.target.apply(_5.instance,arguments);
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/cflow.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/cflow.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/cflow.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/cflow.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,43 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect.cflow"]){
+dojo._hasResource["dojox.lang.aspect.cflow"]=true;
+dojo.provide("dojox.lang.aspect.cflow");
+(function(){
+var _1=dojox.lang.aspect;
+_1.cflow=function(_2,_3){
+if(arguments.length>1&&!(_3 instanceof Array)){
+_3=[_3];
+}
+var _4=_1.getContextStack();
+for(var i=_4.length-1;i>=0;--i){
+var c=_4[i];
+if(_2&&c.instance!=_2){
+continue;
+}
+if(!_3){
+return true;
+}
+var n=c.joinPoint.targetName;
+for(var j=_3.length-1;j>=0;--j){
+var m=_3[j];
+if(m instanceof RegExp){
+if(m.test(n)){
+return true;
+}
+}else{
+if(n==m){
+return true;
+}
+}
+}
+}
+return false;
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/counter.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/counter.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/counter.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/counter.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,27 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect.counter"]){
+dojo._hasResource["dojox.lang.aspect.counter"]=true;
+dojo.provide("dojox.lang.aspect.counter");
+(function(){
+var _1=dojox.lang.aspect;
+var _2=function(){
+this.reset();
+};
+dojo.extend(_2,{before:function(){
+++this.calls;
+},afterThrowing:function(){
+++this.errors;
+},reset:function(){
+this.calls=this.errors=0;
+}});
+_1.counter=function(){
+return new _2;
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizer.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizer.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizer.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizer.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,47 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect.memoizer"]){
+dojo._hasResource["dojox.lang.aspect.memoizer"]=true;
+dojo.provide("dojox.lang.aspect.memoizer");
+(function(){
+var _1=dojox.lang.aspect;
+var _2={around:function(_3){
+var _4=_1.getContext(),_5=_4.joinPoint,_6=_4.instance,t,u,_9;
+if((t=_6.__memoizerCache)&&(t=t[_5.targetName])&&(_3 in t)){
+return t[_3];
+}
+var _9=_1.proceed.apply(null,arguments);
+if(!(t=_6.__memoizerCache)){
+t=_6.__memoizerCache={};
+}
+if(!(u=t[_5.targetName])){
+u=t[_5.targetName]={};
+}
+return u[_3]=_9;
+}};
+var _a=function(_b){
+return {around:function(){
+var _c=_1.getContext(),_d=_c.joinPoint,_e=_c.instance,t,u,ret,key=_b.apply(_e,arguments);
+if((t=_e.__memoizerCache)&&(t=t[_d.targetName])&&(key in t)){
+return t[key];
+}
+var ret=_1.proceed.apply(null,arguments);
+if(!(t=_e.__memoizerCache)){
+t=_e.__memoizerCache={};
+}
+if(!(u=t[_d.targetName])){
+u=t[_d.targetName]={};
+}
+return u[key]=ret;
+}};
+};
+_1.memoizer=function(_13){
+return arguments.length==0?_2:_a(_13);
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizerGuard.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizerGuard.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizerGuard.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/memoizerGuard.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,35 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect.memoizerGuard"]){
+dojo._hasResource["dojox.lang.aspect.memoizerGuard"]=true;
+dojo.provide("dojox.lang.aspect.memoizerGuard");
+(function(){
+var _1=dojox.lang.aspect,_2=function(_3){
+var _4=_1.getContext().instance,t;
+if(!(t=_4.__memoizerCache)){
+return;
+}
+if(arguments.length==0){
+delete _4.__memoizerCache;
+}else{
+if(dojo.isArray(_3)){
+dojo.forEach(_3,function(m){
+delete t[m];
+});
+}else{
+delete t[_3];
+}
+}
+};
+_1.memoizerGuard=function(_7){
+return {after:function(){
+_2(_7);
+}};
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/profiler.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/profiler.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/profiler.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/profiler.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,30 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect.profiler"]){
+dojo._hasResource["dojox.lang.aspect.profiler"]=true;
+dojo.provide("dojox.lang.aspect.profiler");
+(function(){
+var _1=dojox.lang.aspect,_2=0;
+var _3=function(_4){
+this.args=_4?[_4]:[];
+this.inCall=0;
+};
+dojo.extend(_3,{before:function(){
+if(!(this.inCall++)){
+console.profile.apply(console,this.args);
+}
+},after:function(){
+if(!--this.inCall){
+
+}
+}});
+_1.profiler=function(_5){
+return new _3(_5);
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/timer.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/timer.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/timer.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/timer.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,30 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.aspect.timer"]){
+dojo._hasResource["dojox.lang.aspect.timer"]=true;
+dojo.provide("dojox.lang.aspect.timer");
+(function(){
+var _1=dojox.lang.aspect,_2=0;
+var _3=function(_4){
+this.name=_4||("DojoAopTimer #"+ ++_2);
+this.inCall=0;
+};
+dojo.extend(_3,{before:function(){
+if(!(this.inCall++)){
+
+}
+},after:function(){
+if(!--this.inCall){
+
+}
+}});
+_1.timer=function(_5){
+return new _3(_5);
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/tracer.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/tracer.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/tracer.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/aspect/tracer.js Thu Mar 19 11:10:58 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["dojox.lang.aspect.tracer"]){
+dojo._hasResource["dojox.lang.aspect.tracer"]=true;
+dojo.provide("dojox.lang.aspect.tracer");
+(function(){
+var _1=dojox.lang.aspect;
+var _2=function(_3){
+this.method=_3?"group":"log";
+if(_3){
+this.after=this._after;
+}
+};
+dojo.extend(_2,{before:function(){
+var _4=_1.getContext(),_5=_4.joinPoint,_6=Array.prototype.join.call(arguments,", ");
+console[this.method](_4.instance,"=>",_5.targetName+"("+_6+")");
+},afterReturning:function(_7){
+var _8=_1.getContext().joinPoint;
+if(typeof _7!="undefined"){
+
+}else{
+
+}
+},afterThrowing:function(_9){
+
+},_after:function(_a){
+
+}});
+_1.tracer=function(_b){
+return new _2(_b);
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional.js Thu Mar 19 11:10:58 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["dojox.lang.functional"]){
+dojo._hasResource["dojox.lang.functional"]=true;
+dojo.provide("dojox.lang.functional");
+dojo.require("dojox.lang.functional.lambda");
+dojo.require("dojox.lang.functional.array");
+dojo.require("dojox.lang.functional.object");
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/array.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/array.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/array.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/array.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,161 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.functional.array"]){
+dojo._hasResource["dojox.lang.functional.array"]=true;
+dojo.provide("dojox.lang.functional.array");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var d=dojo,df=dojox.lang.functional,_3={};
+d.mixin(df,{filter:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var t=[],v,i,n;
+if(d.isArray(a)){
+for(i=0,n=a.length;i<n;++i){
+v=a[i];
+if(f.call(o,v,i,a)){
+t.push(v);
+}
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+for(i=0;a.hasNext();){
+v=a.next();
+if(f.call(o,v,i++,a)){
+t.push(v);
+}
+}
+}else{
+for(i in a){
+if(!(i in _3)){
+v=a[i];
+if(f.call(o,v,i,a)){
+t.push(v);
+}
+}
+}
+}
+}
+return t;
+},forEach:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var i,n;
+if(d.isArray(a)){
+for(i=0,n=a.length;i<n;f.call(o,a[i],i,a),++i){
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+for(i=0;a.hasNext();f.call(o,a.next(),i++,a)){
+}
+}else{
+for(i in a){
+if(!(i in _3)){
+f.call(o,a[i],i,a);
+}
+}
+}
+}
+return o;
+},map:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var t,n,i;
+if(d.isArray(a)){
+t=new Array(n=a.length);
+for(i=0;i<n;t[i]=f.call(o,a[i],i,a),++i){
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+t=[];
+for(i=0;a.hasNext();t.push(f.call(o,a.next(),i++,a))){
+}
+}else{
+t=[];
+for(i in a){
+if(!(i in _3)){
+t.push(f.call(o,a[i],i,a));
+}
+}
+}
+}
+return t;
+},every:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var i,n;
+if(d.isArray(a)){
+for(i=0,n=a.length;i<n;++i){
+if(!f.call(o,a[i],i,a)){
+return false;
+}
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+for(i=0;a.hasNext();){
+if(!f.call(o,a.next(),i++,a)){
+return false;
+}
+}
+}else{
+for(i in a){
+if(!(i in _3)){
+if(!f.call(o,a[i],i,a)){
+return false;
+}
+}
+}
+}
+}
+return true;
+},some:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var i,n;
+if(d.isArray(a)){
+for(i=0,n=a.length;i<n;++i){
+if(f.call(o,a[i],i,a)){
+return true;
+}
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+for(i=0;a.hasNext();){
+if(f.call(o,a.next(),i++,a)){
+return true;
+}
+}
+}else{
+for(i in a){
+if(!(i in _3)){
+if(f.call(o,a[i],i,a)){
+return true;
+}
+}
+}
+}
+}
+return false;
+}});
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/binrec.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/binrec.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/binrec.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/binrec.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,62 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.functional.binrec"]){
+dojo._hasResource["dojox.lang.functional.binrec"]=true;
+dojo.provide("dojox.lang.functional.binrec");
+dojo.require("dojox.lang.functional.lambda");
+dojo.require("dojox.lang.functional.util");
+(function(){
+var df=dojox.lang.functional,_2=df.inlineLambda,_x="_x",_4=["_z.r","_r","_z.a"];
+df.binrec=function(_5,_6,_7,_8){
+var c,t,b,a,cs,ts,bs,as,_11={},_12={},_13=function(x){
+_11[x]=1;
+};
+if(typeof _5=="string"){
+cs=_2(_5,_x,_13);
+}else{
+c=df.lambda(_5);
+cs="_c.apply(this, _x)";
+_12["_c=_t.c"]=1;
+}
+if(typeof _6=="string"){
+ts=_2(_6,_x,_13);
+}else{
+t=df.lambda(_6);
+ts="_t.apply(this, _x)";
+}
+if(typeof _7=="string"){
+bs=_2(_7,_x,_13);
+}else{
+b=df.lambda(_7);
+bs="_b.apply(this, _x)";
+_12["_b=_t.b"]=1;
+}
+if(typeof _8=="string"){
+as=_2(_8,_4,_13);
+}else{
+a=df.lambda(_8);
+as="_a.call(this, _z.r, _r, _z.a)";
+_12["_a=_t.a"]=1;
+}
+var _15=df.keys(_11),_16=df.keys(_12),f=new Function([],"var _x=arguments,_y,_z,_r".concat(_15.length?","+_15.join(","):"",_16.length?",_t=_x.callee,"+_16.join(","):"",t?(_16.length?",_t=_t.t":"_t=_x.callee.t"):"",";while(!",cs,"){_r=",bs,";_y={p:_y,a:_r[1]};_z={p:_z,a:_x};_x=_r[0]}for(;;){do{_r=",ts,";if(!_z)return _r;while(\"r\" in _z){_r=",as,";if(!(_z=_z.p))return _r}_z.r=_r;_x=_y.a;_y=_y.p}while(",cs,");do{_r=",bs,";_y={p:_y,a:_r[1]};_z={p:_z,a:_x};_x=_r[0]}while(!",cs,")}"));
+if(c){
+f.c=c;
+}
+if(t){
+f.t=t;
+}
+if(b){
+f.b=b;
+}
+if(a){
+f.a=a;
+}
+return f;
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/curry.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/curry.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/curry.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/curry.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,64 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.functional.curry"]){
+dojo._hasResource["dojox.lang.functional.curry"]=true;
+dojo.provide("dojox.lang.functional.curry");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var df=dojox.lang.functional,ap=Array.prototype;
+var _3=function(_4){
+return function(){
+var _5=_4.args.concat(ap.slice.call(arguments,0));
+if(arguments.length+_4.args.length<_4.arity){
+return _3({func:_4.func,arity:_4.arity,args:_5});
+}
+return _4.func.apply(this,_5);
+};
+};
+dojo.mixin(df,{curry:function(f,_7){
+f=df.lambda(f);
+_7=typeof _7=="number"?_7:f.length;
+return _3({func:f,arity:_7,args:[]});
+},arg:{},partial:function(f){
+var a=arguments,l=a.length,_b=new Array(l-1),p=[],i=1,t;
+f=df.lambda(f);
+for(;i<l;++i){
+t=a[i];
+_b[i-1]=t;
+if(t===df.arg){
+p.push(i-1);
+}
+}
+return function(){
+var t=ap.slice.call(_b,0),i=0,l=p.length;
+for(;i<l;++i){
+t[p[i]]=arguments[i];
+}
+return f.apply(this,t);
+};
+},mixer:function(f,mix){
+f=df.lambda(f);
+return function(){
+var t=new Array(mix.length),i=0,l=mix.length;
+for(;i<l;++i){
+t[i]=arguments[mix[i]];
+}
+return f.apply(this,t);
+};
+},flip:function(f){
+f=df.lambda(f);
+return function(){
+var a=arguments,l=a.length-1,t=new Array(l+1),i=0;
+for(;i<=l;++i){
+t[l-i]=a[i];
+}
+return f.apply(this,t);
+};
+}});
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/fold.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/fold.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/fold.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/fold.js Thu Mar 19 11:10:58 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["dojox.lang.functional.fold"]){
+dojo._hasResource["dojox.lang.functional.fold"]=true;
+dojo.provide("dojox.lang.functional.fold");
+dojo.require("dojox.lang.functional.lambda");
+(function(){
+var d=dojo,df=dojox.lang.functional,_3={};
+d.mixin(df,{foldl:function(a,f,z,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var i,n;
+if(d.isArray(a)){
+for(i=0,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+for(i=0;a.hasNext();z=f.call(o,z,a.next(),i++,a)){
+}
+}else{
+for(i in a){
+if(!(i in _3)){
+z=f.call(o,z,a[i],i,a);
+}
+}
+}
+}
+return z;
+},foldl1:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var z,i,n;
+if(d.isArray(a)){
+z=a[0];
+for(i=1,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){
+}
+}else{
+if(typeof a.hasNext=="function"&&typeof a.next=="function"){
+if(a.hasNext()){
+z=a.next();
+for(i=1;a.hasNext();z=f.call(o,z,a.next(),i++,a)){
+}
+}
+}else{
+var _10=true;
+for(i in a){
+if(!(i in _3)){
+if(_10){
+z=a[i];
+_10=false;
+}else{
+z=f.call(o,z,a[i],i,a);
+}
+}
+}
+}
+}
+return z;
+},foldr:function(a,f,z,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+for(var i=a.length;i>0;--i,z=f.call(o,z,a[i],i,a)){
+}
+return z;
+},foldr1:function(a,f,o){
+if(typeof a=="string"){
+a=a.split("");
+}
+o=o||d.global;
+f=df.lambda(f);
+var n=a.length,z=a[n-1],i=n-1;
+for(;i>0;--i,z=f.call(o,z,a[i],i,a)){
+}
+return z;
+},reduce:function(a,f,z){
+return arguments.length<3?df.foldl1(a,f):df.foldl(a,f,z);
+},reduceRight:function(a,f,z){
+return arguments.length<3?df.foldr1(a,f):df.foldr(a,f,z);
+},unfold:function(pr,f,g,z,o){
+o=o||d.global;
+f=df.lambda(f);
+g=df.lambda(g);
+pr=df.lambda(pr);
+var t=[];
+for(;!pr.call(o,z);t.push(f.call(o,z)),z=g.call(o,z)){
+}
+return t;
+}});
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/lambda.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/lambda.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/lambda.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/lambda.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,89 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.functional.lambda"]){
+dojo._hasResource["dojox.lang.functional.lambda"]=true;
+dojo.provide("dojox.lang.functional.lambda");
+(function(){
+var df=dojox.lang.functional,_2={};
+var _3="ab".split(/a*/).length>1?String.prototype.split:function(_4){
+var r=this.split.call(this,_4),m=_4.exec(this);
+if(m&&m.index==0){
+r.unshift("");
+}
+return r;
+};
+var _7=function(s){
+var _9=[],_a=_3.call(s,/\s*->\s*/m);
+if(_a.length>1){
+while(_a.length){
+s=_a.pop();
+_9=_a.pop().split(/\s*,\s*|\s+/m);
+if(_a.length){
+_a.push("(function("+_9+"){return ("+s+")})");
+}
+}
+}else{
+if(s.match(/\b_\b/)){
+_9=["_"];
+}else{
+var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);
+if(l||r){
+if(l){
+_9.push("$1");
+s="$1"+s;
+}
+if(r){
+_9.push("$2");
+s=s+"$2";
+}
+}else{
+var _d=s.replace(/(?:\b[A-Z]|\.[a-zA-Z_$])[a-zA-Z_$\d]*|[a-zA-Z_$][a-zA-Z_$\d]*:|this|true|false|null|undefined|typeof|instanceof|in|delete|new|void|arguments|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|isFinite|isNaN|parseFloat|parseInt|unescape|dojo|dijit|dojox|window|document|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/g,"").match(/([a-z_$][a-z_$\d]*)/gi)||[],t={};
+dojo.forEach(_d,function(v){
+if(!(v in t)){
+_9.push(v);
+t[v]=1;
+}
+});
+}
+}
+}
+return {args:_9,body:s};
+};
+var _10=function(a){
+return a.length?function(){
+var i=a.length-1,x=df.lambda(a[i]).apply(this,arguments);
+for(--i;i>=0;--i){
+x=df.lambda(a[i]).call(this,x);
+}
+return x;
+}:function(x){
+return x;
+};
+};
+dojo.mixin(df,{rawLambda:function(s){
+return _7(s);
+},buildLambda:function(s){
+s=_7(s);
+return "function("+s.args.join(",")+"){return ("+s.body+");}";
+},lambda:function(s){
+if(typeof s=="function"){
+return s;
+}
+if(s instanceof Array){
+return _10(s);
+}
+if(s in _2){
+return _2[s];
+}
+s=_7(s);
+return _2[s]=new Function(s.args,"return ("+s.body+");");
+},clearLambdaCache:function(){
+_2={};
+}});
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/linrec.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/linrec.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/linrec.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/linrec.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,62 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.functional.linrec"]){
+dojo._hasResource["dojox.lang.functional.linrec"]=true;
+dojo.provide("dojox.lang.functional.linrec");
+dojo.require("dojox.lang.functional.lambda");
+dojo.require("dojox.lang.functional.util");
+(function(){
+var df=dojox.lang.functional,_2=df.inlineLambda,_x="_x",_4=["_r","_y.a"];
+df.linrec=function(_5,_6,_7,_8){
+var c,t,b,a,cs,ts,bs,as,_11={},_12={},_13=function(x){
+_11[x]=1;
+};
+if(typeof _5=="string"){
+cs=_2(_5,_x,_13);
+}else{
+c=df.lambda(_5);
+cs="_c.apply(this, _x)";
+_12["_c=_t.c"]=1;
+}
+if(typeof _6=="string"){
+ts=_2(_6,_x,_13);
+}else{
+t=df.lambda(_6);
+ts="_t.t.apply(this, _x)";
+}
+if(typeof _7=="string"){
+bs=_2(_7,_x,_13);
+}else{
+b=df.lambda(_7);
+bs="_b.apply(this, _x)";
+_12["_b=_t.b"]=1;
+}
+if(typeof _8=="string"){
+as=_2(_8,_4,_13);
+}else{
+a=df.lambda(_8);
+as="_a.call(this, _r, _y.a)";
+_12["_a=_t.a"]=1;
+}
+var _15=df.keys(_11),_16=df.keys(_12),f=new Function([],"var _x=arguments,_y,_r".concat(_15.length?","+_15.join(","):"",_16.length?",_t=_x.callee,"+_16.join(","):t?",_t=_x.callee":"",";for(;!",cs,";_x=",bs,"){_y={p:_y,a:_x}}_r=",ts,";for(;_y;_y=_y.p){_r=",as,"}return _r"));
+if(c){
+f.c=c;
+}
+if(t){
+f.t=t;
+}
+if(b){
+f.b=b;
+}
+if(a){
+f.a=a;
+}
+return f;
+};
+})();
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/listcomp.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/listcomp.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/listcomp.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/lang/functional/listcomp.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,34 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.lang.functional.listcomp"]){
+dojo._hasResource["dojox.lang.functional.listcomp"]=true;
+dojo.provide("dojox.lang.functional.listcomp");
+(function(){
+var _1=/\bfor\b|\bif\b/gm;
+var _2=function(s){
+var _4=s.split(_1),_5=s.match(_1),_6=["var r = [];"],_7=[],i=0;
+l=_5.length;
+while(i<l){
+var a=_5[i],f=_4[++i];
+if(a=="for"&&!/^\s*\(\s*(;|var)/.test(f)){
+f=f.replace(/^\s*\(/,"(var ");
+}
+_6.push(a,f,"{");
+_7.push("}");
+}
+return _6.join("")+"r.push("+_4[0]+");"+_7.join("")+"return r;";
+};
+dojo.mixin(dojox.lang.functional,{buildListcomp:function(s){
+return "function(){"+_2(s)+"}";
+},compileListcomp:function(s){
+return new Function([],_2(s));
+},listcomp:function(s){
+return (new Function([],_2(s)))();
+}});
+})();
+}

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