1 Reply Latest reply on Oct 29, 2006 12:09 PM by Monkey Den

    <h:dataTable> does not display properly

    Paul Smith Newbie

      In a facelets page I have the following EL expression

      #{meetsShowCtlr.allMeets}

      and it properly displays the 4 elements in the collection.

      When I access the items of the collection using <h:dataTable>, as follows:

       <h:dataTable value="#{meetsShowCtlr.allMeets}" var="meet">
       <h:column>
       <f:facet name="header">Meet Id</f:facet>
       #{meet.id}
       </h:column>
       <h:column>
       <f:facet name="header">Name</f:facet>
       #{meet.name1}
       </h:column>
       </h:dataTable>
      


      the code does iterate over the 4 elements in the collection, but the values for the properties are all '0' for 'id' and an empty string for 'name1'.

      Any idea why the properties cannot be retrieved within the <h:dataTable>?

      Thanks,

      Paul