This content has been marked as final.
Show 1 reply
-
1. Re: rich client validation disabled?
sparcipc Jun 3, 2011 7:07 PM (in response to sparcipc)I was able to workaround the issue by using the rich:graphValidator with groups.
Set the groups to Validate only when you want the form submit to validate the fields.
<rich:graphValidator value="#{passwordValidationBean}" id="gv" groups="org.richfaces.demo.validation.Validate"> @Size(min = 1, max = 15, message = "Wrong size for password", groups=Validate.class) private String password=""; package org.richfaces.demo.validation;
public interface Validate {
}