You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Norrie (JIRA)" <de...@myfaces.apache.org> on 2007/04/25 04:56:15 UTC

[jira] Commented: (TOMAHAWK-89) t:dataTable support for ResultSetDataModel is completely broken

    [ https://issues.apache.org/jira/browse/TOMAHAWK-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491510 ] 

Paul Norrie commented on TOMAHAWK-89:
-------------------------------------

Apparantly not.  Just found this issue myself.  Had to change the datamodel to a Result instead of ResultSet.

> t:dataTable support for ResultSetDataModel is completely broken
> ---------------------------------------------------------------
>
>                 Key: TOMAHAWK-89
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-89
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>            Reporter: Simon Kitching
>
> ResultSets just don't work with t:dataModel due to the way that the looping in encodeInnerHtml currently *depends* on a correct dataModel.getRowCount(). Resultsets don't know their rowCount.
> The UIData component handles this correctly.
> http://mail-archives.apache.org/mod_mbox/myfaces-users/200601.mbox/browser

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.