title: h:inputText which is bound to Integer property is submitting value 0 instead of null
body: <p>We are using a <code>h:inputText</code> in a JSF page which is bound to an <code>Integer</code> property (and thus can accept <code>null</code>). When there is no value written in the <code>h:inputText</code>, the form is submitting a <code>0</code> instead of <code>null</code>. We are using Trinidad 1.2.2 and Tomcat 6.0.20 (we also tried with Tomcat 6.0.14 as we read that this could happen with certains Tomcat versions).</p>
  
  <p>How is this caused and how can I solve it?</p>