2 Replies Latest reply on Nov 28, 2008 12:48 PM by Nick Belaevski

    rich:dataTable and use of row variables

    Karl Philipp Newbie

      Take a look at the following code:

       <rich:dataTable id="cTable" value="#{customers.list}" var="record">
       <rich:column>
       <f:facet name="header">Surname</f:facet>
       <h:outputText value="#{record.surname}" />
       </rich:column>
       </rich:dataTable>
      


      The row variable named "record" used by the h:outputText element can not be resolved. But if I replace rich:dataTable with h:dataTable the error "record cannot be resolved" disappers.

      BTW, I use RichFaces Service Release 3.2.2.SR1, Mojarra Release 1.2_10, Eclipse 3.4, JBoss Tools 2.1.2.GA, ...