There would be nice if DataTable would have onPageChangeUpdate or similar attribute to specify the client side component ID's which should be updated after DataTable page is changed.
Consider the following example of openFaces dataTable: http://www.openfaces.org/demo/datatable ... geData.jsf
I want to do exact way:
when the page is changed in primary table, I update the other table with some paging (for debuging pusposes) information, but the changes does not reflect in the page.
current "workaraound" to this problem:
Finally, I succesfully updated the other component by using RequestContext.getCurrentInstance().addPartialUpdateTarget("blabla:logTable"); in my java code, but I think the attribute on DataTable would be cleaner solution?
Should I create an issue for this?
Thanks in advance
DataTable: update other components after changing table page
Last edited by progys on 04 Jan 2011, 00:55, edited 1 time in total.
PrimeFaces 2.2.1 + myFaces 2.0.5 + Tomcat 6.x
-
- Information
-
Who is online
Users browsing this forum: No registered users and 51 guests