This example provides a button on a full HTML page, which can be clicked to retrieve and display a partial page. The first time the button is clicked the partial page will be retrieved. You can then complete "Forename" and "Surname" fields and press the "Make Ajax Call" button again. This will submit the data. Each partial page contains an integral server Controller. The rules in the server controller create a new fragment to return the data received from the form submit and also insert another fragment to simulate the receipt of some data from a service call. Finally a couple of actions illustrate the "Record Cache" and "Retrieve Cache" calls to store some data in the server session.
You can download a WebMaker export of an Ajax example project from the following link:
url=http://www.hyfinity.net/HowTo/ajax/export.zip
You can download a WebMaker export of an Ajax example project from the following link:
url=http://www.hyfinity.net/HowTo/ajax/export.zip