2 Replies Latest reply on Dec 16, 2011 6:31 PM by esrafiki

    ClassCastException running rich:dataTable example with db filtering.

    vins76

      Hi all,

      i have  a problem running ArrangeableModel example described in richfaces 4 showcase.

       

      The method createFilterCriteria of JpaDataModel class throws an exception at line :

      String propertyName = (String) filterField.getFilterExpression().getValue(facesContext.getELContext())

       

      In fact, ValueExpression tries to coerce to Boolean a String.

      The filterExpression in rich:column is #{property}

       

      Thanks in advance.

      Vincenzo.