<t:dataTable> does not seems to be supporting java.sql.ResultSet. It works fine
with <h:dataTable>
---------------------------------------------------------------------------------------------------
Key: TOMAHAWK-1134
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1134
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Extended Datatable
Affects Versions: 1.1.6
Environment: Windows XP, JDK1.4.2.14, Tomcat 5.0.28, tomahawk1.1.6
Reporter: Anil Palat
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.