title: Validation disabled p:inputText PrimeFaces
body: <p>I have a p:inputText whose value in autogenerated component of PrimeFaces and I have to set required="true", the validation doesn't work when Disabled is true.
  here is my code:</p>
  
  <pre><code>&lt;p:inputText id="depCode" disabled="true" required="true"
  value="#{bean.depCode}"
  style="width:100%"
  requiredMessage="Please set a reference generator"
  /&gt;
  </code></pre>
  
  <p>Any suggestions please</p>