I'm experimenting with SEAM/RichFaces and am working on a data grid page. I've figured out a lot of the basic functionality and really like it!
What I want to be able to do is let the user dynamically change the number of items on the data grid. This seems like it should be easy enough... I just set up my table, the scroller, and then create a session-scoped selection component for picking the page size. In fact, it's so easy that it works... the first time I change the page size. After that, the value gets updated on the object (I can see it in the SEAM debug console) but the datagrid no longer refreshes. Anyone have any input on what may be wrong?
The page size component:
The relevant .xhtml segments:
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
Joined: Dec 19, 2002
aha! Figured it out... I just needed to force my page size control to refresh on the ajax server response as well:
subject: Seam/RichFaces - extendedDataTable, datascroller, and changeable page size