2 Replies Latest reply on Jul 29, 2008 5:43 PM by Fahim Aleaf

    How to use datatable and binding?

    Fahim Aleaf Newbie

      Hello,
      I am trying to migrate from tomahawk to richfaces, but got some problems with the binding attribute and my backing bean.

      I am using a HtmlDataTable for the binding on my backing bean. On every load of the datatable, I will get an error: IllegalArgumentException: argument type mismatch.

      javax.el.ELException: /act/act.xhtml @98,9 binding="#{actBackingBean.actDataTable}": java.lang.IllegalArgumentException: argument type mismatch
       com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:101)
       com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:237)
       com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.java:224)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:139)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
      
      


      Am I using the wrong variable in the backing bean?