I have an entity that contains email property: @Email private String email;
This property is also subject to a unique constraint, which is coded in the backing bean: public void validateEmail(FacesContext context, UIComponent component, Object value) { | // some custom code that validates email uniqieness in DB... | } Now, when these two are combined in the view, the @Email constraint gets ignored: <s:validate><h:inputText value="#{selectedUser.email}" | validator="#{userController.validateEmail}" /></s:validate> Is this an expected behavior, or a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074178#4074178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074178 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user