datatable - JSF table pagination -
i newbie jsf. have problem keeping state of data-table list pagination.
the problem when user edits row of list not in first page of data-table, after completing action, page navigation returns first initial page of list while need return previous page user has been editing.
a complete scenario:
- in list page there 100 rows of records, , each page shows 20 rows,
- user navigates 3th page, , selects 1 of rows in order edit record.
- backing listbean calls editbean navigate page edit page.
- user update record information , backing editbean calls listbean.
- listbean refresh datamodel , navigate list page, state of pagination user had edited lost.
what best approach return page previous page user has been editing?
myface 1.2.7 , tomahawk taglib 1.0 has been used in project. pages consist of t:datatable.
thanks.
Comments
Post a Comment