Message Boards

Scopes in Liferay

sravan kumar, modified 10 Years ago.

Scopes in Liferay

Junior Member Posts: 78 Join Date: 2/19/13 Recent Posts
what is meant by scope in Liferay (not request and session scopes).what is use scopeable tag in liferay-portlet.xml file. and using scope how can i show different data for same portlets in different pages in sites?
thumbnail
David H Nebinger, modified 10 Years ago.

RE: Scopes in Liferay

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Scope has nothing to do with what page a portlet is on.

Web content portlet can display different content anywhere in the portal. Has nothing to do with scope, it has to do with configuring each instance to choose the content to display. This information is stored in the portlet preferences (these are per-instance preferences so they only apply to the individual instance and do not affect other instances).

You can find out the meaning for all the tags by referring to the DTDs and XSDs; it's the one place where Liferay is really good about documenting APIs.