title: Multiple validators on one field with JSF bean validation
body: <p>i am trying to make multiple validation one one field</p>
  
  <pre><code>    @NotBlank(message = "{name.required}")
      @Max(value = 25, message = "{long.value}")
      public String name;
  </code></pre>
  
  <p>JSF:</p>
  
  <pre><code>&lt;h:inputText id="name" value="#{person.name}" size="20"&gt;
  &lt;/h:inputText&gt;
  &lt;h:message for="name" style="color:red" /&gt;
  </code></pre>
  
  <p>but when i leave the field empty, it shows both error messages.</p>
  
  <p>any ideas how to handle both cases, validate the empty, and maximum length independently. </p>