Foren

Get Portlets Categories

Ram A, geändert vor 11 Jahren.

Get Portlets Categories

Junior Member Beiträge: 76 Beitrittsdatum: 16.01.13 Neueste Beiträge
Hi Team,

I am using liferay 6.0.6 .

I am trying to get the list of portlet categories (which were shown under "Add>>More" in dockbar).
But i am not able find any information regarding portlet categories in Liferay DB.

Is there any table to store the relation between portlets and categories?

Is there any other way to get the portlet categories in a custom portlet?

Can anyone please help me.



Thanks in advance
Ram A
Parikshit Sharma, geändert vor 11 Jahren.

RE: Get Portlets Categories

New Member Beiträge: 21 Beitrittsdatum: 16.01.13 Neueste Beiträge
Hi,
Categories doesn't store in DB,all the categories are listed in the liferay-display.xml file such as (category.collaberation) and it's value is written in language.properties file i.e.category.collaberation=Collaberation.So what exactly you want if you just want to display the names then use the liferay-ui:message tag and pass key="category.collaberation" it will display the name of category,can be done for all the categories.