AUI Ajax Call and Periodic Refresh

AUI Ajax Call and Periodic Refresh

Below code demonstrate how to use Ajax Call in your Liferay Code/Yahoo Code.

Example 2 : A Generic Method to Manage Your Ajax Calls

Note : ajaxPushStartEventManager/ajaxPushSuccessEventManager/ajaxPushFailureEventManager These are callback methods and contains the start/success/failure of ajax call. Like in ajaxPushStartEventManager method you can put a loading Mask to the targetDiv and helps user to understand something is being loaded via ajax.

One thought on “AUI Ajax Call and Periodic Refresh

  1. Thanks bibek, Today I was searching related to the sync ajax call using alloy ui. so found your blog.. good to see..

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.