1 Reply Latest reply on Nov 13, 2007 2:58 AM by Lotfi Mellouk

    rich:dataTable and HashMap collection

    Lotfi Mellouk Master

      helloo..

      did rich:dataTable support HashMap value.

      // backing bean
      
      private Map accounts = new HashMap();
      //getter setter .
      


      JSF code:

      <rich:dataTable
       var="list"
      value="#{bean.accounts}" rows="5" >
      
      <rich:column>
      
      <h:outputText value="#{list.key.company}" />
      </rich:column>
      <rich:column>
      <h:outputText value="#{list.key.frontEnd}" />
      </rich:column>
      <rich:column>
      <h:outputText value="#{list.value}" />
      </rich:column>
      </rich:dataTable>
      


      I dont get any row, the map is not empty


      regards!!