08 July, 2011

Alloy-UI-Ajax call

Hello Liferay Rockers,

As you all know that Liferay 6.0.X is using AlloyUI framework for GUI.
So here is the code to make ajax call using AlloyUI.

you can write your response in test.html and can write your action on success of ajax call.




A.io.request('test.html', {
on: {
success: function() {
alert(this.get('Jignesh Ajax call is Successful '));
}
}
});

Hope this will helpful a lot !!!!!!!!

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...