title: bean validation (JSR 303) for primefaces not working
body: <p>I'm using:</p>
  
  <ul>
  <li>Primefaces 6.1</li>
  <li>JSF: 2.2.10</li>
  <li>javax.validation:1.1.0.Final</li>
  <li>validator impl: hibernate-validator 5.0.1.Final</li>
  <li>GAE: 1.9.52</li>
  </ul>
  
  <p>I follow the example for CSV (Client Side Validation) using backend bean from:
  <a href="https://www.primefaces.org/showcase/ui/csv/bean.xhtml" rel="nofollow noreferrer">https://www.primefaces.org/showcase/ui/csv/bean.xhtml</a></p>
  
  <p>The expected result should be:
  <a href="https://i.stack.imgur.com/lRpN5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lRpN5.jpg" alt="enter image description here"></a></p>
  
  <p>And what I get right now:</p>
  
  <p><a href="https://i.stack.imgur.com/cvGth.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cvGth.jpg" alt="enter image description here"></a></p>
  
  <p>The bean validation is not working.</p>
  
  <p>I have below configure in web.xml</p>
  
  <pre><code>&lt;context-param&gt; 
      &lt;param-name&gt;primefaces.CLIENT_SIDE_VALIDATION&lt;/param-name&gt; 
      &lt;param-value&gt;true&lt;/param-value&gt; 
  &lt;/context-param&gt;
  </code></pre>
  
  <p>Few similar posts said need downgrade jsf to 2.2.2, I tried but still not working.</p>
  
  <p>Right now the workaround for CSV is either </p>
  
  <ul>
  <li>using jsf tag validation based on the demo</li>
  </ul>
  
  <p><a href="https://www.primefaces.org/showcase/ui/csv/basic.xhtml" rel="nofollow noreferrer">https://www.primefaces.org/showcase/ui/csv/basic.xhtml</a> </p>
  
  <p>For example:</p>
  
  <pre><code>&lt;p:inputText id="age" value="#{beanValidationView.age}" label="Age"&gt;
      &lt;f:validateLongRange for="age" minimum="10" maximum="20" /&gt;
  &lt;/p:inputText&gt;
  </code></pre>
  
  <ul>
  <li>Or create my own validator</li>
  </ul>
  
  <p>for example:
  <a href="http://www.supermanhamuerto.com/doku.php?id=java:validatorinprimefaces" rel="nofollow noreferrer">http://www.supermanhamuerto.com/doku.php?id=java:validatorinprimefaces</a></p>
  
  <p>BTW, I don't think it is related to GAE.  Because I tried with a new Dynamic Web Project using Tomcat 9, it give me the same result as shown in below screen capture.  </p>
  
  <p><a href="https://i.stack.imgur.com/gWUC2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gWUC2.jpg" alt="enter image description here"></a></p>
  
  <p>Is that any thing(s) I miss configured or having diff version of jar causing that problem?</p>