14 November, 2013

Useful AlloyUI functions

  • AUI().ready(fn): This function will execute after the HTML in the page has finished loading. Portlets loaded via AJAX cannot be included here

  • Liferay.Portlet.ready(fn): This function will execute after each portlet on the page has loaded. The callback receives two parameters:portletId and nodeportletId is the ID of the portlet that was just loaded. node is the Alloy Node object of the same portlet.

  • Liferay.on(‘allPortletsReady’, fn): This function will execute after everything else (including AJAX portlets) has finished loading.

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...