aspose file tools*
The moose likes JSF and the fly likes richfaces:datascroller won't display page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "richfaces:datascroller won Watch "richfaces:datascroller won New topic
Author

richfaces:datascroller won't display page.

Francois Bourgault
Ranch Hand

Joined: Oct 30, 2001
Posts: 67
Hi,

I'm new to richfaces and I'm having a problem with the datascroller. I use jsf1.2 with richfaces 3.2. I get result on the initial page(5 rows), but when I try to navigate on the 2nd page, everything goes blank. For some reason, the reRender doesn't work. In the console, I can see that scrollerPage = 2 now. Not sure what else I'm missing. Bean scope for systemMessagesBean is session. Even the refresh(f5) won't display that 2nd page. I need to leave the page and get back. Then I'll see the 2nd page. Below is the code in the view section of the jsp page. Also added scrollerPage code in the session bean.

Does anyone know what I may be missing?
Thanks,
Francois



Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15624
    
  15

Is systemMessagesBean.msgList.dataList a JSF DataModel object or is it a simple collection object such as java.util.List?


Customer surveys are for companies who didn't pay proper attention to begin with.
Francois Bourgault
Ranch Hand

Joined: Oct 30, 2001
Posts: 67
it is a java.util.List
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15624
    
  15

Francois Bourgault wrote:it is a java.util.List


Try wrapping it in a ListDataModel. The DataModel classes maintain table context so that you don't have to modify what would otherwise be generic collection objects to contain the extra JSF tracking and support information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: richfaces:datascroller won't display page.
 
Similar Threads
RichFaces 3.3.3 - rich:datascroller doesn't refresh
Skinning issue in Richfaces 4 and JSF 2
Help with rich:datascroller
two rich:datascroller in one page, one works, the other doesn't
How to get checkbox value from datagrid.