掲示板

Get Portlets Categories

10年前 に Ram A によって更新されました。

Get Portlets Categories

Junior Member 投稿: 76 参加年月日: 13/01/16 最新の投稿
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
10年前 に Parikshit Sharma によって更新されました。

RE: Get Portlets Categories

New Member 投稿: 21 参加年月日: 13/01/16 最新の投稿
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.