Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JDF-122 updated regex and validation message

  • Loading branch information...
commit e573e26a73d545fa63888d517aca4a0f81d96303 1 parent 2177597
@rafabene rafabene authored
View
1  .gitignore
@@ -11,6 +11,7 @@ bin
/helloworld-jsp
README.html
CONTRIBUTING.html
+RELEASE_PROCEDURE.html
.errai
helloworld-gwt/src/main/gwt-unitCache
helloworld-gwt/src/main/webapp/HelloWorldApp
View
2  kitchensink-deltaspike/src/main/java/org/jboss/as/quickstarts/kitchensink/model/Member.java
@@ -45,7 +45,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  ...ar/jboss-as-kitchensink-ear-ejb/src/main/java/org/jboss/as/quickstarts/kitchensink_ear/model/Member.java
@@ -46,7 +46,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  kitchensink-html5-mobile/src/main/java/org/jboss/as/quickstarts/html5_mobile/model/Member.java
@@ -46,7 +46,7 @@
@NotNull
@Size(min = 1, max = 25, message = "1-25 letters and spaces")
- @Pattern(regexp = "[A-Za-z ]*", message = "Only letters and spaces")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  kitchensink-jsp/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/model/Member.java
@@ -46,7 +46,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  ...jboss-as-kitchensink-ml-ear-ejb/src/main/java/org/jboss/as/quickstarts/kitchensink_ear/model/Member.java
@@ -46,7 +46,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "{name_validation_message}")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  kitchensink-ml/src/main/java/org/jboss/as/quickstarts/kitchensink/model/Member.java
@@ -45,7 +45,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "{name_validation_message}")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  kitchensink-rf/src/main/java/org/jboss/as/quickstarts/kitchensinkrf/model/Member.java
@@ -45,7 +45,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
2  kitchensink/src/main/java/org/jboss/as/quickstarts/kitchensink/model/Member.java
@@ -45,7 +45,7 @@
@NotNull
@Size(min = 1, max = 25)
- @Pattern(regexp = "[A-Za-z ]*", message = "must contain only letters and spaces")
+ @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers")
private String name;
@NotNull
View
28 pom.xml
@@ -106,8 +106,19 @@
Application Platform or JBoss AS -->
<module>bean-validation</module>
<module>bmt</module>
+ <module>cdi-add-interceptor-binding</module>
<module>cdi-injection</module>
<module>cdi-portable-extension</module>
+ <module>cdi-veto</module>
+ <module>cluster-ha-singleton</module>
+ <module>deltaspike-authorization</module>
+ <module>deltaspike-beanbuilder</module>
+ <module>deltaspike-beanmanagerprovider</module>
+ <module>deltaspike-deactivatable</module>
+ <module>deltaspike-exception-handling</module>
+ <module>deltaspike-helloworld-jms</module>
+ <module>deltaspike-projectstage</module>
+ <module>ejb-asynchronous</module>
<module>ejb-in-ear</module>
<module>ejb-in-war</module>
<module>ejb-remote</module>
@@ -118,18 +129,23 @@
<module>helloworld-gwt</module>
<module>helloworld-html5</module>
<module>helloworld-jms</module>
- <module>helloworld-rf</module>
+ <module>helloworld-mdb</module>
<module>helloworld-osgi</module>
+ <module>helloworld-rf</module>
<module>helloworld-rs</module>
<module>helloworld-singleton</module>
+ <module>helloworld-ws</module>
<module>hibernate3</module>
<module>hibernate4</module>
+ <module>inter-app</module>
<module>kitchensink</module>
+ <module>kitchensink-deltaspike</module>
<module>kitchensink-ear</module>
<module>kitchensink-html5-mobile</module>
<module>kitchensink-jsp</module>
- <module>kitchensink-ml</module>
+ <module>kitchensink-ml</module>
<module>kitchensink-ml-ear</module>
+ <module>kitchensink-rf</module>
<module>log4j</module>
<module>logging-tools</module>
<module>mail</module>
@@ -139,14 +155,18 @@
<module>servlet-async</module>
<module>servlet-filterlistener</module>
<module>servlet-security</module>
+ <module>shopping-cart</module>
<module>tasks</module>
<module>tasks-jsf</module>
- <module>temperature-converter</module>
<module>tasks-rs</module>
+ <module>temperature-converter</module>
<module>wicket-ear</module>
<module>wicket-war</module>
- <module>xml-jaxp</module>
+ <module>wsat-simple</module>
+ <module>wsba-coordinator-completion-simple</module>
+ <module>wsba-participant-completion-simple</module>
<module>xml-dom4j</module>
+ <module>xml-jaxp</module>
</modules>
</profile>
<profile>
Please sign in to comment.
Something went wrong with that request. Please try again.