-
1. Re: Problems with rich:datascroller
nbelaevski Mar 13, 2007 4:05 PM (in response to m.schuetz)Michael,
what JSF version are you using? There is a limitation for the dataScroller component in JSF 1.1: it should go after the component it points to, inside it; or both components should reside in any container component that's rendersChildren method returns true. That is in order for the data component to be created before dataScroller component has been rendered. -
2. Re: Problems with rich:datascroller
m.schuetz Mar 14, 2007 7:07 AM (in response to m.schuetz)I'm using JSF RI 1.2.
Could someone post a code snippet from a working version. That would be great.
Thanks -
3. Re: Problems with rich:datascroller
sergeysmirnov Mar 14, 2007 12:18 PM (in response to m.schuetz)The main RichFaces example uses JSF 1.2 :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103938 -
4. Re: Problems with rich:datascroller
d.bulahov Mar 14, 2007 1:39 PM (in response to m.schuetz)Michael,
there were some issues concerning SQL resultset data models in 3.0.0 release; they're now fixed in trunk. Can you please try to use another dataModel in your application, for example the one that is based on List? -
5. Re: Problems with rich:datascroller
d.bulahov Mar 16, 2007 3:49 AM (in response to m.schuetz)Michael, put in rich:dataTable attribute "rows" with quantity of rows on page and the page numbers will be displaying. Without this attribute all rows will be displaying
-
6. Re: Problems with rich:datascroller
m.schuetz Mar 16, 2007 4:20 AM (in response to m.schuetz)That's it! Thanks for helping me! Everything works fine now.
But IMO the rich:datascroller maxPages attribute is quite useless now, while the page amount automatically depends on table row count. -
7. Re: Problems with rich:datascroller
d.bulahov Mar 16, 2007 6:12 AM (in response to m.schuetz)MaxPages is necessary for pages quantity limit in datascroler. I think there will be an opportunity first of maxPages, second of maxPages and so on.