Some code to past in Liferay