3 Replies Latest reply on Mar 3, 2009 1:08 AM by Carsten Hoehne

    ScrollableDataTable and Seam Datamodel do not work

    Carsten Hoehne Master

      If a Seam DataModel is passed as the value for scrollableDatatable

      <rich:scrollableDataTable id="germinationtestList" rowKeyVar="rkv"
       var="germinationtest" value="#{allGerminationTests}"
       rendered="#{not empty allGerminationTests}" rows="15"
       selection="#{germinationTestBacking.selection}" >
       <rich:column>
       <f:facet name="header">Id</f:facet>
       <h:outputText value="#{germinationtest.id}" />
       </rich:column>
      

      (allGerminationTests is a Seam DataModel (anotated in Back9ng Bean with @Datamodel)
      an exception is raised:
      javax.el.PropertyNotFoundException: /germination/GerminationtestList.xhtml @26,53 value="#{germinationtest.id}": Property 'id' not found on type org.jboss.seam.jsf.ListDataModel

      When rich:scrollableDataTable is changed to rich:dataTable
      the table renders well.
      see this issue:
      http://jira.jboss.com/jira/browse/RF-1711