3 Replies Latest reply on Jun 16, 2013 10:59 PM by alexey plotnikov

    Seam 2.3.1.CR1 and using Bean Validation standard not working.

    alexey plotnikov Newbie

      Hi all. I read this.

      And i write next code in seam component:

       

      {code}

      ...

      import javax.validation.constraints.Min;

      ...

      @Min(value = 100)

      private int sum;

      ...

      {code}

       

      Additionally, i identified "javax.validation.constraints.Min.message" in messages.properties:

      {code}

      javax.validation.constraints.Min.message=AAA

      {code}

      But i still get standard error bean validation message:

      must be greater than or equal to 100

       

      What's wrong?