-
1. Re: Add oncomplete to rich:extendedDataTable sort call
tdyer Feb 28, 2012 10:37 AM (in response to tdyer)I can use the non-javascript way of sorting as shown on the showcase site, but I am left with the same issue with any of the other AJAX features of this element such as lazy loading rows, resizing/reordering columns etc.
Is there any way to easily disable those features completely, so I dont run into issues with my viewstate/conversation?
Thanks,
Tristan
-
2. Re: Add oncomplete to rich:extendedDataTable sort call
tdyer Mar 1, 2012 10:13 AM (in response to tdyer)Ok,
So I fixed this in case anybody else is having issues like this.
I added this in a jQuery ready function.
if (typeof jsf != 'undefined' && jsf.ajax) {
jsf.ajax.addOnEvent(completeViewState);
}
Which calls my function to add the view state to every form. This way I dont need to worry what initiates the request, the view state is taken care of each and every time.
It adds to the event instead of replacing, so if i need extra processing that will happen too.