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

    ScrollableDataTable and Seam Datamodel do not work


      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}" >
       <f:facet name="header">Id</f:facet>
       <h:outputText value="#{germinationtest.id}" />

      (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: