title: JSF 2.0 validateRegex with own validator message
body: <p>i am having a code similar to this:</p>
  
  <pre><code>&lt;h:inputText id="email" value="#{managePasswordBean.forgotPasswordEmail}"
          validatorMessage="#{validate['constraints.email.notValidMessage']}"
          requiredMessage="#{validate['constraints.email.emptyMessage']}"
          validator="#{managePasswordBean.validateForgotPasswordEmail}"
          required="true"&gt;
      &lt;f:validateRegex pattern="^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})$" /&gt;
  &lt;/h:inputText&gt;
  </code></pre>
  
  <p>The validator in the backing bean has its own validation message generated. but it is overwritten by the validatorMessage of the inputText tag.</p>
  
  <p>My Question is: how can i define a custom validator message for the validateRegex tag? I don't want to remove the validatorMessage cause then JSF is displaying an own error message containing the regex pattern and so on -> which i dont find very pretty.</p>
  
  <p>Thanks for the help :)</p>