You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Simon Kitching (JIRA)" <de...@myfaces.apache.org> on 2006/01/05 09:09:02 UTC

[jira] Created: (MYFACES-1003) t:dataTable support for ResultSetDataModel is completely broken

t:dataTable support for ResultSetDataModel is completely broken
---------------------------------------------------------------

         Key: MYFACES-1003
         URL: http://issues.apache.org/jira/browse/MYFACES-1003
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Created: (MYFACES-1003) t:dataTable support for ResultSetDataModel is completely broken

Posted by Mathias Brökelmann <mb...@googlemail.com>.
I changed my job and I currently have to learn a lot about steel
manufacturing which isn´t quite related to jsf or myfaces yet :(

But I´m still reading the mails whenever it is possible. I will try to
keep up the response for UIData issues as far as I can.

I think it should be no problem to support ResultSetDataModel for
t:dataTable. I will have a look into it through the next days.

2006/1/5, Sean Schofield <se...@gmail.com>:
> Mathias,
>
> You are the table expert.  Any ideas?  Also, where have you been
> lately?  We haven't seen you on the list in a while ...
>
> Sean
>
>
> On 1/5/06, Simon Kitching (JIRA) <de...@myfaces.apache.org> wrote:
> > t:dataTable support for ResultSetDataModel is completely broken
> > ---------------------------------------------------------------
> >
> >          Key: MYFACES-1003
> >          URL: http://issues.apache.org/jira/browse/MYFACES-1003
> >      Project: MyFaces
> >         Type: Bug
> >   Components: Tomahawk
> >     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.
> > -
> > If you think it was sent incorrectly contact one of the administrators:
> >    http://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see:
> >    http://www.atlassian.com/software/jira
> >
> >
>


--
Mathias

Re: [jira] Created: (MYFACES-1003) t:dataTable support for ResultSetDataModel is completely broken

Posted by Sean Schofield <se...@gmail.com>.
Mathias,

You are the table expert.  Any ideas?  Also, where have you been
lately?  We haven't seen you on the list in a while ...

Sean


On 1/5/06, Simon Kitching (JIRA) <de...@myfaces.apache.org> wrote:
> t:dataTable support for ResultSetDataModel is completely broken
> ---------------------------------------------------------------
>
>          Key: MYFACES-1003
>          URL: http://issues.apache.org/jira/browse/MYFACES-1003
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     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.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>

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

Posted by "Paul Norrie (JIRA)" <de...@myfaces.apache.org>.
    [ 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.


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

Posted by "Torsten Krah (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-89?page=comments#action_12418225 ] 

Torsten Krah commented on TOMAHAWK-89:
--------------------------------------

Any progress at this front?

kind regards

> t:dataTable support for ResultSetDataModel is completely broken
> ---------------------------------------------------------------
>
>          Key: TOMAHAWK-89
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-89
>      Project: MyFaces Tomahawk
>         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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira