2 Replies Latest reply on May 30, 2007 6:51 PM by Hung Tang

    s:validateAll and resource bundles

    Hung Tang Apprentice

      With the following:

      ## Address.java
      @Length(min = 2, message = "#{messages['city.message']}")
      String city;
      


      ## messages.properties
      city.message=City must be minimum length of {min}
      


      I literally get the message: "City must be minimum length of {min}" when validation fails but I was hoping for "City must be minimum length of 2".

      I think I might be missing something.