[jboss-user] [JBoss Seam] - Re: s:validate ignores annotations if custom validator speci

pete.muir@jboss.org do-not-reply at jboss.com
Tue Aug 14 16:41:36 EDT 2007

It shouldn't be ignored (n.b. s:validateAll won't attach a ModelValidator if there is another one specified).  I think you need:

<h:inputText value="#{selectedUser.email}"
  | validator="#{userController.validateEmail}" >
  |    <s:validate />
  | </h:inputText>

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

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

More information about the jboss-user mailing list