Powered By Blogger

Sunday, April 10, 2011

Exploring tlds

Liferay exposes some of the default objects this is been done from the tag



and the corresponding class is com.liferay.taglib.theme.DefineObjectsTag

it exposes the objects like themeDisplay , layouts ,layout ,user ,theme etc


There is one more tag




It exposes the class
com.liferay.taglib.portlet.DefineObjectsTag

It exposes the objects like portletConfig , portletName , portletPreferences , portletPreferencesValues , portletSession , portletSessionScope and conditionally
actionResponse, eventResponse, renderResponse, resourceResponse based on the phase.


That is the reason we include these imports in all the pages.


No comments:

Post a Comment