This content has been marked as final.
Show 2 replies
-
1. Re: Problem with rich:dataScroller
davidmurphy Aug 5, 2008 1:08 AM (in response to lukep1984)We do it a different way where we inject the uicomponent into the bean using seam, like
@In(value="#{uicomponent[idOfDataScroller]}"
private transient UIDatascroller scroller;
where the UIComponent is the org.richfaces component.
Then in the code we do a....
scroller.setPage("nameOfFacetInRichDataScroller");
But in your case I would have thought the value of the page property on the rich:datascroller should do the job.
Are you rerendering the "list".
I have seen the error before where you set the page but it does not get propergated back to the page, havent figured it out as yet. -
2. Re: Problem with rich:dataScroller
ilya_shaikovsky Aug 5, 2008 4:07 AM (in response to lukep1984)you should use page binding instead of pageIndexVar which is an attribute to define request scope variable for page access to current index(like var in dataTable).