title: How to set a custom message for a standard validator in JSF?
body: <p>I created a simple input field for an int variable. I want to add validation to it but, but i see no need to create my own validator for it, since the only thing i need is to avoid negative values and characters other than numbers. 
  So this is what i did:</p>
  
  <pre><code>&lt;h:inputText id="price" value="#{placeAddControler.price}"&gt;
              &lt;f:validateLongRange minimum="0"/&gt;
  &lt;/h:inputText&gt;          
  &lt;h:outputText value="€" /&gt;
  &lt;br/&gt;
  &lt;span style="color: red;"&gt;&lt;b&gt;&lt;h:message for="price"
  showDetail="true" /&gt;&lt;/b&gt;&lt;/span&gt;
  </code></pre>
  
  <p>When i try how it works this is the result for negative values:
  <img src="https://i.stack.imgur.com/OWEw4.png" alt="enter image description here"></p>
  
  <p>And this is the result for characters:</p>
  
  <p><img src="https://i.stack.imgur.com/JgE20.png" alt="enter image description here"></p>
  
  <p>Where in my project can i customize the text of those validation messages?</p>