title: rendered="#{search.journeyRecord.valid}": Cannot convert valid of type class java.lang.String to class java.lang.Integer
body: <p>I have a Java Dynamic Web Module project (version 2.5) with RichFaces, Spring Web Flow and Hibernate. The project is deployed in Apache Tomcat (6.0.20 in server, 6.0.37 and 7.0.39 in my machine, for dev purposes). I'm getting this error frequently:</p>
  
  <pre><code>Caused by: javax.el.ELException: /WEB-INF/flows/monitoring/monitor.xhtml @139,114 rendered="#{search.journeyRecord.valid}": Cannot convert valid of type class java.lang.String to class java.lang.Integer
  </code></pre>
  
  <p><kbd>Valid</kbd> is a Transient Boolean attribute from <code>JourneyRecord</code> class. Its declaration is showed below:</p>
  
  <pre><code>@Transient
  public boolean isValid() {
      if (search != null) {
          return search.getStatus() == Search.WITH_INSURANCE_COVER;
      } else {
          Calendar calendar = Calendar.getInstance();
          calendar.add(Calendar.HOUR, -12);
          return calendar.after(registrationDate);
      }
  }
  </code></pre>
  
  <p>I updated my jsf-facelets Maven Package to version 1.1.15.</p>
  
  <p>Search Bean:</p>
  
  <pre><code>@Entity
  public class Pesquisa implements Serializable {
  ...
  
      private char status;
      ...
  
      /**
       * @return the status
       */
      public char getStatus() {
          return status;
      }
  
      /**
       * @param status
       *            the status to set
       */
      public void setStatus(char status) {
          this.status = status;
      }
  
      ...
  }
  </code></pre>
  
  <p>JourneyRecord Bean:</p>
  
  <pre><code>@Entity
  public class RegistroViagem implements Serializable{
  ...
  
      private Date registrationDate;
      ...
  
      /**
       * @return the registrationDate
       */
      public Date getRegistrationDate() {
          return registrationDate;
      }
  
      /**
       * @param registrationDate
       *            the registrationDate to set
       */
      public void setRegistrationDate(Date registrationDate) {
          this.registrationDate = registrationDate;
      }
  
      ...
  
      @Transient
      public boolean isValid() { ... }
      ...
  }
  </code></pre>
  
  <p>JSF:</p>
  
  <pre><code>...
  &lt;rich:column style="text-align:center;"&gt;
      &lt;f:facet name="header"&gt;Protocol Number&lt;/f:facet&gt;
      &lt;h:outputText value="#{search.journeyRecord.journeyNumber}" rendered="#{search.journeyRecord.valid}" /&gt;
  &lt;/rich:column&gt;
  ...
  </code></pre>