Video: Demonstration of the Partial Update Feature in XPages
Hi. Thank you for the demo. Can I specify 2 or more IDs to refresh? If so, how do I separate them?
AJAX made easy
Thank you.
Partial Updates
Hi Sean,
Thanks for your query. I apologise for the delay in getting back to you..
There is now a Demonstration Application for XPages available on Open NTF (http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/Demonstration Application for XPages) which includes an example of the Partial Update feature.
View the application online at http://openntf.org/demos/xpages.nsf and navigate to Ajax -> Partial Refresh. Select one of the Refresh options e.g. "Refresh Cell". If you inspect the HTTP response for this action, you will see that it only contains data relevant to that table cell. You can download this application to see how this partial update action is configured.
I hope this proves helpful.
Regards,
Teresa
Hi Teresa, thanks for this demo video.
I have been messing about with a simple two stage lookup and partial refreshes ( based loosely on Pauls Country / City example ) . I can see that the status bar does no change but when I look at the HTTP response it appears to include data for the whole page e.g. static html unconnected with the combo boxes.
Could you post your demo database or direct me to some other resources that explore the idea of partial updates in more detail
Thanks, Sean