Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1134

<t:dataTable> does not seems to be supporting java.sql.ResultSet. It works fine with <h:dataTable>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.6
    • None
    • Extended Datatable
    • None
    • Windows XP, JDK1.4.2.14, Tomcat 5.0.28, tomahawk1.1.6

    Description

      The following code doesn't display the table whreas when I change it to <h:dataTable>, it works

      <t:dataTable id="managerMappingTable" rowClasses="table-odd-row, table-even-row" headerClass="page-header"
      styleClass="table-background" cellpadding="5"
      var="mapping" value="#

      {selectMappingBean.mappings}"
      binding="#{selectMappingBean.mappingTable}">
      <h:column>
      ..............................
      ................................. some columns
      ..................................
      </h:column>
      </t:dataTable>.

      Here "#{selectMappingBean.mappings}

      " is a java.sql.ResultSet instance

      Then when I replace ResultSet with a custom Java bean it worked. The reason for using ResultSet directly was that the application was small & a read only type. Hence thought of not using any java beans

      Attachments

        Activity

          People

            Unassigned Unassigned
            anilpalat Anil Palat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: