This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 15962
    
  19

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: 15962
    
  19

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.
 
 
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
two rich:datascroller in one page, one works, the other doesn't
Help with rich:datascroller
How to get checkbox value from datagrid.