Jul 25, 2008 7:07 PM
How to execute JSF action method while using custom data providing sorting/filtering
Hi,
I am using Quipukit custom sorting/filtering in a datatable. I want to update the result set from my database in the JSF application phase, rather than the render response phase.
As such, I want to read the quipukit request parameters for paging/sorting/filtering in a JSF action method, at which point I will execute my database query. Later in the render response phase, I will return the stored results. I am using JBOSS Seam and this is the recommended way of doing things in all their examples - it avoids the double query problem mentioned in your datatable documentation.
I've seen the q_refreshTable method can take an action method name, but how do I specify an action method to be called when a user clicks on a table heading to sort, changes a filter value, etc.?
Looking forward to your response
David