[jboss-user] [JBoss Seam] - Re: How to force validation of Seam components bound to the

grettke_spdr do-not-reply at jboss.com
Wed Jun 27 15:20:44 EDT 2007


"gavin.king at jboss.com" wrote : * classes do *not* need to be entities to be validated by s:validateAll
  | * @IfInvalid has been deprecated for a long time and was removed from Seam2
  | 
  | So you should figure out why s:validateAll was not working for you.

We are using the s:decorate, and in particular with the default edit.xhtml as the template. When we specify the control (in this case a h:selectManyCheckbox) as required, the decoration works correctly. That template uses validateAll internally. It *looks* like validateAll is working correctly.

When I remove the required and just depend on the validator annotations to run, they don't.

Any pointers on this one?

I will look into it further.



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

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



More information about the jboss-user mailing list