2 Replies Latest reply on Jul 11, 2006 9:05 PM by nepoez nugget

    seam and hibernate validation

    nepoez nugget Newbie

      I have changed the seam.properties so that it uses my own resource bundle for messages:


      this works good, now when I have validation annotations in my entity bean eg.
      it actually uses my own message so I know it's reading the right resource bundle.

      Now I want a new message
      @Pattern(regex="[A-Za-z0-9]+", message="{someErrorMsg}")

      this causes an error saying that it cannot find it in the resource bundle.

      Any idea anyone?