[ http://issues.apache.org/jira/browse/MYFACES-259?page=all ]
Stephan updated MYFACES-259:
----------------------------
Attachment: dataScroller.jsp
> 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: DatatableTestBean.java, HitBean_snippet.java, dataScroller.jsp,
> hitlist_snippet.jsf, output.txt
>
> 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