0 Replies Latest reply on Apr 28, 2011 2:45 AM by Jesper Vrelits

    How to set groups attribute of rich:grapValidator

    Jesper Vrelits Newbie

      Hi.

       

      I've tried setting groups attribute of grapValidator to set Bean Validation groups:

       

      <rich:graphValidator value="#{controller.form}" id="gv" groups="javax.validation.groups.Default">

      ...

      </rich:graphValidator>

       

      but I get this error

       

      Cannot convert javax.validation.groups.Default of type class java.lang.String to class [Ljava.lang.Class;

       

      How to set this class array?

       

      I expected just to be able to specify a comma seperated list of interface classes.

       

      I've checked the documentation for RF 4 but it is very "slim" on grapValidator and does not mention usage of groups attribute.