Added new method from Liferay to extract global data and show it in HTML