Author: mvitenkov
Date: 2008-08-08 09:10:40 -0400 (Fri, 08 Aug 2008)
New Revision: 9990
Modified:
trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java 2008-08-08
13:08:30 UTC (rev 9989)
+++ trunk/test-applications/jsp/src/main/java/validator/ValidatorBean.java 2008-08-08
13:10:40 UTC (rev 9990)
@@ -9,6 +9,7 @@
import javax.faces.model.SelectItem;
import org.ajax4jsf.event.AjaxEvent;
+import org.ajax4jsf.model.KeepAlive;
import org.hibernate.validator.AssertFalse;
import org.hibernate.validator.AssertTrue;
import org.hibernate.validator.CreditCardNumber;
@@ -35,7 +36,7 @@
private boolean assertTrue;
@Future(message="Future validation failed!")
private Calendar dateValue;
- @Pattern(regex="^\b1234\b*$") //Searh "1234" as a whole word
+
private int intValue;
@EAN(message="EAN validation failed")
private String ean;