I have a custom javascript Ajax call in my jsf page. I capture and process the query string of the XMLHttpRequest in a filter. The filter adds a record to a table in the model. Now I want the jsf page, without full page refresh, to reflect the updated model in one of the components (a Primefaces data table).
I guess what I need is a custom xmlHttpResponse...
Can anyone tell me how to do this? I'm scared it might be complicated, but I have no choice but to use the custom javascript...
<p:commandButton action="doProcess()" update="yourDataTableID">(that comes with ajax call) instead of your custom ajax call? Maybe your problem is using the<p:commandButton>(or<p:commandLink>) way.