Author: amarkhel
Date: 2008-09-05 12:01:19 -0400 (Fri, 05 Sep 2008)
New Revision: 10328
Modified:
branches/3.2.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/validation/ValidationBean.java
Log:
Fix RF-4251 bug
Modified:
branches/3.2.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/validation/ValidationBean.java
===================================================================
---
branches/3.2.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/validation/ValidationBean.java 2008-09-05
15:56:10 UTC (rev 10327)
+++
branches/3.2.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/validation/ValidationBean.java 2008-09-05
16:01:19 UTC (rev 10328)
@@ -20,7 +20,7 @@
private String progressString="Fill the form please";
@NotEmpty
- @Pattern(regex="[^\\s]+", message="This string contain only
spaces")
+ @Pattern(regex=".*[^\\s].*", message="This string contain only
spaces")
@Length(min=3,max=12)
private String name;
@Email
Show replies by date