Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" 
for change notification.

The following page has been changed by AndreasBulling:
http://wiki.apache.org/jakarta-tapestry/CreatingCustomValidators

The comment on the change is:
Changed "null" to "getMessage()" in validate()

------------------------------------------------------------------------------
               java.lang.Object object)
               throws ValidatorException {
               if (!equal(object,_mustBe) {
-            throw new 
ValidatorException(messages.formatValidationMessage(null, "invalid-format", 
null));
+            throw new 
ValidatorException(messages.formatValidationMessage(getMessage(), 
"invalid-format", null));
         }                
     }
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to