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

    ClassCastException running rich:dataTable example with db filtering.

    Vincenzo Conte Newbie

      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.