Current page and Rows for datatable during postback

UI Components for JSF
Post Reply
leon.guan
Posts: 15
Joined: 28 Apr 2010, 05:59

31 Mar 2011, 08:32

Is it possible that current page and rows per page can be stored in backbean when a post action has been fired, I noticed if I change page or change rows per page, it's a AJAX post, but seems the variables used in backbean don't get refreshed, I have to use javascript to manually change a hidden field and then fire a remotecommand for backbean updates, when a page changed event has been fired in client side. This is useful if we need to store current page index and rows per page in session so that we can restore user to the previous position when he navigate back to the list page. Any quick solution except the javascript workaround? Thanks.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

31 Mar 2011, 09:50

This is coming soon, you can star/vote/monitor;

http://code.google.com/p/primefaces/iss ... il?id=1907

leon.guan
Posts: 15
Joined: 28 Apr 2010, 05:59

31 Mar 2011, 20:28

Thanks a lot, hopefully we will get the features soon, cheer up.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 35 guests