Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.6
-
None
-
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="#
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