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 [11/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/n...

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/check.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/check.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/check.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/check.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,230 @@
+/*
+	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.validate.check"]){
+dojo._hasResource["dojox.validate.check"]=true;
+dojo.provide("dojox.validate.check");
+dojo.experimental;
+dojo.require("dojox.validate._base");
+dojox.validate.check=function(_1,_2){
+var _3=[];
+var _4=[];
+var _5={isSuccessful:function(){
+return (!this.hasInvalid()&&!this.hasMissing());
+},hasMissing:function(){
+return (_3.length>0);
+},getMissing:function(){
+return _3;
+},isMissing:function(_6){
+for(var i=0;i<_3.length;i++){
+if(_6==_3[i]){
+return true;
+}
+}
+return false;
+},hasInvalid:function(){
+return (_4.length>0);
+},getInvalid:function(){
+return _4;
+},isInvalid:function(_8){
+for(var i=0;i<_4.length;i++){
+if(_8==_4[i]){
+return true;
+}
+}
+return false;
+}};
+var _a=function(_b,_c){
+return (typeof _c[_b]=="undefined");
+};
+if(_2.trim instanceof Array){
+for(var i=0;i<_2.trim.length;i++){
+var _e=_1[_2.trim[i]];
+if(_a("type",_e)||_e.type!="text"&&_e.type!="textarea"&&_e.type!="password"){
+continue;
+}
+_e.value=_e.value.replace(/(^\s*|\s*$)/g,"");
+}
+}
+if(_2.uppercase instanceof Array){
+for(var i=0;i<_2.uppercase.length;i++){
+var _e=_1[_2.uppercase[i]];
+if(_a("type",_e)||_e.type!="text"&&_e.type!="textarea"&&_e.type!="password"){
+continue;
+}
+_e.value=_e.value.toUpperCase();
+}
+}
+if(_2.lowercase instanceof Array){
+for(var i=0;i<_2.lowercase.length;i++){
+var _e=_1[_2.lowercase[i]];
+if(_a("type",_e)||_e.type!="text"&&_e.type!="textarea"&&_e.type!="password"){
+continue;
+}
+_e.value=_e.value.toLowerCase();
+}
+}
+if(_2.ucfirst instanceof Array){
+for(var i=0;i<_2.ucfirst.length;i++){
+var _e=_1[_2.ucfirst[i]];
+if(_a("type",_e)||_e.type!="text"&&_e.type!="textarea"&&_e.type!="password"){
+continue;
+}
+_e.value=_e.value.replace(/\b\w+\b/g,function(_f){
+return _f.substring(0,1).toUpperCase()+_f.substring(1).toLowerCase();
+});
+}
+}
+if(_2.digit instanceof Array){
+for(var i=0;i<_2.digit.length;i++){
+var _e=_1[_2.digit[i]];
+if(_a("type",_e)||_e.type!="text"&&_e.type!="textarea"&&_e.type!="password"){
+continue;
+}
+_e.value=_e.value.replace(/\D/g,"");
+}
+}
+if(_2.required instanceof Array){
+for(var i=0;i<_2.required.length;i++){
+if(!dojo.isString(_2.required[i])){
+continue;
+}
+var _e=_1[_2.required[i]];
+if(!_a("type",_e)&&(_e.type=="text"||_e.type=="textarea"||_e.type=="password"||_e.type=="file")&&/^\s*$/.test(_e.value)){
+_3[_3.length]=_e.name;
+}else{
+if(!_a("type",_e)&&(_e.type=="select-one"||_e.type=="select-multiple")&&(_e.selectedIndex==-1||/^\s*$/.test(_e.options[_e.selectedIndex].value))){
+_3[_3.length]=_e.name;
+}else{
+if(_e instanceof Array){
+var _10=false;
+for(var j=0;j<_e.length;j++){
+if(_e[j].checked){
+_10=true;
+}
+}
+if(!_10){
+_3[_3.length]=_e[0].name;
+}
+}
+}
+}
+}
+}
+if(_2.required instanceof Array){
+for(var i=0;i<_2.required.length;i++){
+if(!dojo.isObject(_2.required[i])){
+continue;
+}
+var _e,_12;
+for(var _13 in _2.required[i]){
+_e=_1[_13];
+_12=_2.required[i][_13];
+}
+if(_e instanceof Array){
+var _10=0;
+for(var j=0;j<_e.length;j++){
+if(_e[j].checked){
+_10++;
+}
+}
+if(_10<_12){
+_3[_3.length]=_e[0].name;
+}
+}else{
+if(!_a("type",_e)&&_e.type=="select-multiple"){
+var _14=0;
+for(var j=0;j<_e.options.length;j++){
+if(_e.options[j].selected&&!/^\s*$/.test(_e.options[j].value)){
+_14++;
+}
+}
+if(_14<_12){
+_3[_3.length]=_e.name;
+}
+}
+}
+}
+}
+if(dojo.isObject(_2.dependencies)){
+for(_13 in _2.dependencies){
+var _e=_1[_13];
+if(_a("type",_e)){
+continue;
+}
+if(_e.type!="text"&&_e.type!="textarea"&&_e.type!="password"){
+continue;
+}
+if(/\S+/.test(_e.value)){
+continue;
+}
+if(_5.isMissing(_e.name)){
+continue;
+}
+var _15=_1[_2.dependencies[_13]];
+if(_15.type!="text"&&_15.type!="textarea"&&_15.type!="password"){
+continue;
+}
+if(/^\s*$/.test(_15.value)){
+continue;
+}
+_3[_3.length]=_e.name;
+}
+}
+if(dojo.isObject(_2.constraints)){
+for(_13 in _2.constraints){
+var _e=_1[_13];
+if(!_e){
+continue;
+}
+if(!_a("tagName",_e)&&(_e.tagName.toLowerCase().indexOf("input")>=0||_e.tagName.toLowerCase().indexOf("textarea")>=0)&&/^\s*$/.test(_e.value)){
+continue;
+}
+var _16=true;
+if(dojo.isFunction(_2.constraints[_13])){
+_16=_2.constraints[_13](_e.value);
+}else{
+if(dojo.isArray(_2.constraints[_13])){
+if(dojo.isArray(_2.constraints[_13][0])){
+for(var i=0;i<_2.constraints[_13].length;i++){
+_16=dojox.validate.evaluateConstraint(_2,_2.constraints[_13][i],_13,_e);
+if(!_16){
+break;
+}
+}
+}else{
+_16=dojox.validate.evaluateConstraint(_2,_2.constraints[_13],_13,_e);
+}
+}
+}
+if(!_16){
+_4[_4.length]=_e.name;
+}
+}
+}
+if(dojo.isObject(_2.confirm)){
+for(_13 in _2.confirm){
+var _e=_1[_13];
+var _15=_1[_2.confirm[_13]];
+if(_a("type",_e)||_a("type",_15)||(_e.type!="text"&&_e.type!="textarea"&&_e.type!="password")||(_15.type!=_e.type)||(_15.value==_e.value)||(_5.isInvalid(_e.name))||(/^\s*$/.test(_15.value))){
+continue;
+}
+_4[_4.length]=_e.name;
+}
+}
+return _5;
+};
+dojox.validate.evaluateConstraint=function(_17,_18,_19,_1a){
+var _1b=_18[0];
+var _1c=_18.slice(1);
+_1c.unshift(_1a.value);
+if(typeof _1b!="undefined"){
+return _1b.apply(null,_1c);
+}
+return false;
+};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/creditCard.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/creditCard.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/creditCard.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/creditCard.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,48 @@
+/*
+	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.validate.creditCard"]){
+dojo._hasResource["dojox.validate.creditCard"]=true;
+dojo.provide("dojox.validate.creditCard");
+dojo.require("dojox.validate._base");
+dojox.validate._cardInfo={"mc":"5[1-5][0-9]{14}","ec":"5[1-5][0-9]{14}","vi":"4(?:[0-9]{12}|[0-9]{15})","ax":"3[47][0-9]{13}","dc":"3(?:0[0-5][0-9]{11}|[68][0-9]{12})","bl":"3(?:0[0-5][0-9]{11}|[68][0-9]{12})","di":"6011[0-9]{12}","jcb":"(?:3[0-9]{15}|(2131|1800)[0-9]{11})","er":"2(?:014|149)[0-9]{11}"};
+dojox.validate.isValidCreditCard=function(_1,_2){
+return ((_2.toLowerCase()=="er"||dojox.validate.isValidLuhn(_1))&&dojox.validate.isValidCreditCardNumber(_1,_2.toLowerCase()));
+};
+dojox.validate.isValidCreditCardNumber=function(_3,_4){
+_3=String(_3).replace(/[- ]/g,"");
+var _5=dojox.validate._cardInfo,_6=[];
+if(_4){
+var _7=_5[_4.toLowerCase()];
+return _7?!!_3.match(_7):false;
+}
+for(var p in _5){
+if(_3.match("^"+_5[p]+"$")){
+_6.push(p);
+}
+}
+return _6.length?_6.join("|"):false;
+};
+dojox.validate.isValidCvv=function(_9,_a){
+if(!dojo.isString(_9)){
+_9=String(_9);
+}
+var _b;
+switch(_a.toLowerCase()){
+case "mc":
+case "ec":
+case "vi":
+case "di":
+_b="###";
+break;
+case "ax":
+_b="####";
+break;
+}
+return !!_b&&_9.length&&dojox.validate.isNumberFormat(_9,{format:_b});
+};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/isbn.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/isbn.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/isbn.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/isbn.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,40 @@
+/*
+	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.validate.isbn"]){
+dojo._hasResource["dojox.validate.isbn"]=true;
+dojo.provide("dojox.validate.isbn");
+dojox.validate.isValidIsbn=function(_1){
+var _2,_3=0,_4;
+if(!dojo.isString(_1)){
+_1=String(_1);
+}
+_1=_1.replace(/[- ]/g,"");
+_2=_1.length;
+switch(_2){
+case 10:
+_4=_2;
+for(var i=0;i<9;i++){
+_3+=parseInt(_1.charAt(i))*_4;
+_4--;
+}
+var t=_1.charAt(9).toUpperCase();
+_3+=t=="X"?10:parseInt(t);
+return _3%11==0;
+break;
+case 13:
+_4=-1;
+for(var i=0;i<_2;i++){
+_3+=parseInt(_1.charAt(i))*(2+_4);
+_4*=-1;
+}
+return _3%10==0;
+break;
+}
+return false;
+};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/regexp.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/regexp.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/regexp.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/regexp.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,164 @@
+/*
+	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.validate.regexp"]){
+dojo._hasResource["dojox.validate.regexp"]=true;
+dojo.provide("dojox.validate.regexp");
+dojo.require("dojo.regexp");
+dojo.mixin(dojox.validate.regexp,{ipAddress:function(_1){
+_1=(typeof _1=="object")?_1:{};
+if(typeof _1.allowDottedDecimal!="boolean"){
+_1.allowDottedDecimal=true;
+}
+if(typeof _1.allowDottedHex!="boolean"){
+_1.allowDottedHex=true;
+}
+if(typeof _1.allowDottedOctal!="boolean"){
+_1.allowDottedOctal=true;
+}
+if(typeof _1.allowDecimal!="boolean"){
+_1.allowDecimal=true;
+}
+if(typeof _1.allowHex!="boolean"){
+_1.allowHex=true;
+}
+if(typeof _1.allowIPv6!="boolean"){
+_1.allowIPv6=true;
+}
+if(typeof _1.allowHybrid!="boolean"){
+_1.allowHybrid=true;
+}
+var _2="((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";
+var _3="(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]";
+var _4="(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]";
+var _5="(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|"+"4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])";
+var _6="0[xX]0*[\\da-fA-F]{1,8}";
+var _7="([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}";
+var _8="([\\da-fA-F]{1,4}\\:){6}"+"((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";
+var a=[];
+if(_1.allowDottedDecimal){
+a.push(_2);
+}
+if(_1.allowDottedHex){
+a.push(_3);
+}
+if(_1.allowDottedOctal){
+a.push(_4);
+}
+if(_1.allowDecimal){
+a.push(_5);
+}
+if(_1.allowHex){
+a.push(_6);
+}
+if(_1.allowIPv6){
+a.push(_7);
+}
+if(_1.allowHybrid){
+a.push(_8);
+}
+var _a="";
+if(a.length>0){
+_a="("+a.join("|")+")";
+}
+return _a;
+},host:function(_b){
+_b=(typeof _b=="object")?_b:{};
+if(typeof _b.allowIP!="boolean"){
+_b.allowIP=true;
+}
+if(typeof _b.allowLocal!="boolean"){
+_b.allowLocal=false;
+}
+if(typeof _b.allowPort!="boolean"){
+_b.allowPort=true;
+}
+if(typeof _b.allowNamed!="boolean"){
+_b.allowNamed=false;
+}
+var _c="(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)";
+var _d="(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)";
+var _e=_b.allowPort?"(\\:\\d+)?":"";
+var _f="((?:"+_c+"\\.)*"+_d+"\\.?)";
+if(_b.allowIP){
+_f+="|"+dojox.validate.regexp.ipAddress(_b);
+}
+if(_b.allowLocal){
+_f+="|localhost";
+}
+if(_b.allowNamed){
+_f+="|^[^-][a-zA-Z0-9_-]*";
+}
+return "("+_f+")"+_e;
+},url:function(_10){
+_10=(typeof _10=="object")?_10:{};
+if(!("scheme" in _10)){
+_10.scheme=[true,false];
+}
+var _11=dojo.regexp.buildGroupRE(_10.scheme,function(q){
+if(q){
+return "(https?|ftps?)\\://";
+}
+return "";
+});
+var _13="(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]+(?:\\?[^?#\\s/]*)?(?:#[A-Za-z][\\w.:-]*)?)?)?";
+return _11+dojox.validate.regexp.host(_10)+_13;
+},emailAddress:function(_14){
+_14=(typeof _14=="object")?_14:{};
+if(typeof _14.allowCruft!="boolean"){
+_14.allowCruft=false;
+}
+_14.allowPort=false;
+var _15="([\\da-zA-Z]+[-._+&'])*[\\da-zA-Z]+";
+var _16=_15+"@"+dojox.validate.regexp.host(_14);
+if(_14.allowCruft){
+_16="<?(mailto\\:)?"+_16+">?";
+}
+return _16;
+},emailAddressList:function(_17){
+_17=(typeof _17=="object")?_17:{};
+if(typeof _17.listSeparator!="string"){
+_17.listSeparator="\\s;,";
+}
+var _18=dojox.validate.regexp.emailAddress(_17);
+var _19="("+_18+"\\s*["+_17.listSeparator+"]\\s*)*"+_18+"\\s*["+_17.listSeparator+"]?\\s*";
+return _19;
+},numberFormat:function(_1a){
+_1a=(typeof _1a=="object")?_1a:{};
+if(typeof _1a.format=="undefined"){
+_1a.format="###-###-####";
+}
+var _1b=function(_1c){
+return dojo.regexp.escapeString(_1c,"?").replace(/\?/g,"\\d?").replace(/#/g,"\\d");
+};
+return dojo.regexp.buildGroupRE(_1a.format,_1b);
+}});
+dojox.validate.regexp.ca={postalCode:function(){
+return "([A-Z][0-9][A-Z] [0-9][A-Z][0-9])";
+},province:function(){
+return "(AB|BC|MB|NB|NL|NS|NT|NU|ON|PE|QC|SK|YT)";
+}};
+dojox.validate.regexp.us={state:function(_1d){
+_1d=(typeof _1d=="object")?_1d:{};
+if(typeof _1d.allowTerritories!="boolean"){
+_1d.allowTerritories=true;
+}
+if(typeof _1d.allowMilitary!="boolean"){
+_1d.allowMilitary=true;
+}
+var _1e="AL|AK|AZ|AR|CA|CO|CT|DE|DC|FL|GA|HI|ID|IL|IN|IA|KS|KY|LA|ME|MD|MA|MI|MN|MS|MO|MT|"+"NE|NV|NH|NJ|NM|NY|NC|ND|OH|OK|OR|PA|RI|SC|SD|TN|TX|UT|VT|VA|WA|WV|WI|WY";
+var _1f="AS|FM|GU|MH|MP|PW|PR|VI";
+var _20="AA|AE|AP";
+if(_1d.allowTerritories){
+_1e+="|"+_1f;
+}
+if(_1d.allowMilitary){
+_1e+="|"+_20;
+}
+return "("+_1e+")";
+}};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/us.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/us.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/us.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/us.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,28 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.validate.us"]){
+dojo._hasResource["dojox.validate.us"]=true;
+dojo.provide("dojox.validate.us");
+dojo.require("dojox.validate._base");
+dojox.validate.us.isState=function(_1,_2){
+var re=new RegExp("^"+dojox.validate.regexp.us.state(_2)+"$","i");
+return re.test(_1);
+};
+dojox.validate.us.isPhoneNumber=function(_4){
+var _5={format:["###-###-####","(###) ###-####","(###) ### ####","###.###.####","###/###-####","### ### ####","###-###-#### x#???","(###) ###-#### x#???","(###) ### #### x#???","###.###.#### x#???","###/###-#### x#???","### ### #### x#???","##########"]};
+return dojox.validate.isNumberFormat(_4,_5);
+};
+dojox.validate.us.isSocialSecurityNumber=function(_6){
+var _7={format:["###-##-####","### ## ####","#########"]};
+return dojox.validate.isNumberFormat(_6,_7);
+};
+dojox.validate.us.isZipCode=function(_8){
+var _9={format:["#####-####","##### ####","#########","#####"]};
+return dojox.validate.isNumberFormat(_8,_9);
+};
+}

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

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/web.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/web.js?rev=755920&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/web.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/validate/web.js Thu Mar 19 11:10:58 2009
@@ -0,0 +1,40 @@
+/*
+	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.validate.web"]){
+dojo._hasResource["dojox.validate.web"]=true;
+dojo.provide("dojox.validate.web");
+dojo.require("dojox.validate._base");
+dojox.validate.isIpAddress=function(_1,_2){
+var re=new RegExp("^"+dojox.validate.regexp.ipAddress(_2)+"$","i");
+return re.test(_1);
+};
+dojox.validate.isUrl=function(_4,_5){
+var re=new RegExp("^"+dojox.validate.regexp.url(_5)+"$","i");
+return re.test(_4);
+};
+dojox.validate.isEmailAddress=function(_7,_8){
+var re=new RegExp("^"+dojox.validate.regexp.emailAddress(_8)+"$","i");
+return re.test(_7);
+};
+dojox.validate.isEmailAddressList=function(_a,_b){
+var re=new RegExp("^"+dojox.validate.regexp.emailAddressList(_b)+"$","i");
+return re.test(_a);
+};
+dojox.validate.getEmailAddressList=function(_d,_e){
+if(!_e){
+_e={};
+}
+if(!_e.listSeparator){
+_e.listSeparator="\\s;,";
+}
+if(dojox.validate.isEmailAddressList(_d,_e)){
+return _d.split(new RegExp("\\s*["+_e.listSeparator+"]\\s*"));
+}
+return [];
+};
+}

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