incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r469723 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js
Date Wed, 01 Nov 2006 00:53:09 GMT
Author: matzew
Date: Tue Oct 31 16:53:09 2006
New Revision: 469723

URL: http://svn.apache.org/viewvc?view=rev&rev=469723
Log:
TrRegExp.prototype.validate

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js?view=diff&rev=469723&r1=469722&r2=469723
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js
Tue Oct 31 16:53:09 2006
@@ -322,9 +322,23 @@
   throw new TrConverterException(facesMessage);
 }
 
+function TrRegExpValidator(
+  pattern,
+  messages
+  )
+{  
+  this._pattern  = pattern;
+  this._messages = messages;
+  this._class = "TrRegExpValidator";
+}
 
+// no match pattern
+TrRegExpValidator.NM = 'NM';
+// no match pattern summary
+TrRegExpValidator.NMS = 'NMS';
 
-function _regExpParse(
+TrRegExpValidator.prototype = new TrValidator();
+TrRegExpValidator.prototype.validate  = function(
   parseString,
   label
   )
@@ -348,23 +362,4 @@
                                             this._pattern);                             
            
     throw new TrValidatorException(facesMessage); 
   }
-}
-
-
-function TrRegExpValidator(
-  pattern,
-  messages
-  )
-{  
-  this._pattern  = pattern;
-  this._messages = messages;
-  this._class = "TrRegExpValidator";
-}
-
-// no match pattern
-TrRegExpValidator.NM = 'NM';
-// no match pattern summary
-TrRegExpValidator.NMS = 'NMS';
-
-TrRegExpValidator.prototype = new TrValidator();
-TrRegExpValidator.prototype.validate  = _regExpParse;
+}
\ No newline at end of file



Mime
View raw message