myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-259) datatable, datascroller problem with mbean in session scope
Date Fri, 27 May 2005 13:39:54 GMT
datatable, datascroller problem with mbean in session scope
-----------------------------------------------------------

         Key: MYFACES-259
         URL: http://issues.apache.org/jira/browse/MYFACES-259
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
    Reporter: Stephan
 Attachments: HitBean_snippet.java, hitlist_snippet.jsf

I have a MBean in session scope, which holds the data for the datatable. 

The scroller for the table works fine, when I use it once or the rowCount of data never changes.
But I get in trouble when I change the page of the scroller and change the rowCount.

Example:

1. datatable has 100 rows, scroller shows 10 rows
2. I jump to page 5
... everything is fine

After this the data changes ... the datatable has now 5 rows

And now the problem comes out: The pageIndex of the scrollerComponent is still on page 5 ...
and ... there is no data. When I jump to page 1 manually (by rewind-button) the data shows
up on the first page.

I tried all the examples with this combination and got allways the same situation. So, I think
it could be a bug ...

-- 
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


Mime
View raw message