title: How to remove a 0 in text field for INT value in JSF
body: <p>I'm using primefaces 3.5,WebLogic server in JDeveloper.</p>
  
  <p>Validation part of my .xhtml file is:</p>
  
  <pre><code>&lt;h:outputLabel value="Route Id "&gt;&lt;/h:outputLabel&gt;
     &lt;p:inputText id="rouid" value="#{addcust.c1.routeid}"
        listener="#{addcust.routedata}" title="Click to Select Route" required="true" requiredMessage="Enter route ID" validatorMessage="Id must contain Digits"&gt;
  &lt;f:validateLength minimum="0" maximum="11"/&gt;
  &lt;/p:inputText&gt;
  </code></pre>
  
  <p>mybean.java:</p>
  
  <pre><code>private Integer routeid;
      public void setRouteid(Integer routeid) {
          this.routeid = routeid;
      }
  
      public Integer getRouteid() {
          return routeid;
      }
  </code></pre>