title: JSF validation messages
body: <p>I am validating the input fields at the time of validating i am using regex and min length and max length,</p>
  
  <pre><code>&lt;h:inputText id="txtInput" 
                      value="#{bean.name}"
                      validatorMessage="Please enter valid name"
                      maxlength="40" label="Name"&gt; 
                  &lt;f:validateLength minimum="2" maximum="40" /&gt;   
                  &lt;f:validateRegex pattern="[- 'a-zA-Z]*"/&gt;
              &lt;/h:inputText&gt;
  </code></pre>
  
  <p>In my validation.properties:</p>
  
  <p>javax.faces.validator.LengthValidator.MINIMUM=Please enter a minimum of {0} alphabetic characters 
  your {1}
  Here i am facing problem in validation messages that showing it is always displaying "Please enter valid name" it is not showing javax.faces.validator.LengthValidator.MINIMUM.</p>