[jboss-user] [EJB 3.0] - Hibernate validation for no spaces

terryb do-not-reply at jboss.com
Thu Oct 11 23:27:23 EDT 2007


Does anyone know how to use hibernate validator to disallow spaces only in input field. I thought @NotEmpty was the one, but it only checks for nulls and empty strings. It doesn't trim and then check for empty string.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094345#4094345

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094345



More information about the jboss-user mailing list