AJAX Method Call Demo

This demo explains how:

  • Methods of a dialog can be called without using JSF.
  • This can be used to integrate JavaScript libraries like jQuery, D3 or Raphael with the Axon Ivy backend.

AJAX Method Call

When pressing the "Say Hello" Button the helloWold() Method of the Dialog will be called. The result of the call will be written to in the result element below.

This is only a simple example how to use the Ajax Method Call API. We suggest to use this API to integrate client side Ajax Libraries into Axon Ivy.

If you do not want to integrate a JavaScript Library then you should use the JSF options for asynchronous Requests.



Result:

Close Dialog

If your dialog logic runs in an exit end, you get redirected to the next page in line.
Click on Close Dialog to get redirected: