Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : User Interface Controls Concepts : Client-Side Libraries : CAF.Updater Class
CAF.Updater Class
The CAF.Updater class extends Prototype's asynchronous request class, Ajax.Updater, allowing updates to the content of an element using an asynchronous JSF request. Its API is identical to Ajax.Updater, and you can use it in the same way as Ajax.Updater. For more information, see the Ajax.Updater class Prototype documentation.
You should use CAF.Updater instead of Ajax.Updater when making requests to the JSF servlet, adding a scope property to the request options, the client ID value of the JSF view root. For example, given a URL and the ID of the element to update, the following code updates the element with the response content:
new CAF.Updater(id, url, {
method: 'get',
scope: CAF.viewRootId(id)
});
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback