title: Checkbox JSF - not returning correct value
body: <p>Here is my problem,</p>
  
  <p>I m using jsf, so my form contain 3 fields
  -h:inputText
  -h:inputSecret
  -h:selectBooleanCheckbox</p>
  
  <p>The beans structure is as follow:</p>
  
  <pre><code>    public class  UserBean {
  
         private CustomerData customer;
  
  public CustomerData getCustomer() {
          return customer;
      }
  
      public CustomerData getCustomer() {
          return customer;
      }
  }
  </code></pre>
  
  <hr>
  
  <pre><code>CustomerBean
  
  
  public class CustomerData implements Serializable {
  
    String email = null;
    String password = null;
    Boolean keepLogged = false;
  
    public CustomerData() {
    }
  
    public String getEmail() {
      return email;
    }
  
    public void setEmail(String email) {
      this.email = email;
    }
  
    public Boolean getKeepLogged() {
      return keepLogged;
    }
  
    public void setKeepLogged(Boolean keepLogged) {
      this.keepLogged = keepLogged;
    }
  
    public String getPassword() {
      return password;
    }
  
    public void setPassword(String password) {
      this.password = password;
    }
  }
  </code></pre>
  
  <p>So when i submit the form, email and password are exctracted correct but keepLogged stay false no matther if is checked or no.
  Any ideas?</p>
  
  <pre><code>&lt;h:selectBooleanCheckbox styleClass="checkbox" id="remember" value="#{UserBean.customer.keepLogged}" title="#{res.CommonRememberMeTitle}"/&gt;
  </code></pre>
  
  <p>Here is little more code</p>
  
  <pre><code>              &lt;h:inputText value="#{UserBean.customer.email}" binding="#{email}" id="email" tabindex="1" maxlength="250"&gt;              
                &lt;/h:inputText&gt;ck
  
                &lt;h:inputSecret value="#{UserBean.customer.password}" binding="#{password}" id="password" tabindex="2" maxlength="50" required="true"&gt;                      
                &lt;/h:inputSecret&gt;
              &lt;/span&gt;
  </code></pre>