留言板

Dynamic portlet Title

Ashu Ashu,修改在12 年前。

Dynamic portlet Title

New Member 帖子: 3 加入日期: 11-9-13 最近的帖子
Override the getTitle() method to generate the Dynamic Title for Portlet.


e.g.

protected String getTitle(RenderRequest request) {

System.out.println("getting title===");

return LiferayPortlet.class.getName()+"_Dynamic";

}

The default implementation gets the title from the ResourceBundle of the PortletConfig of the portlet. The title is retrieved using the 'javax.portlet.title' resource name
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Dynamic portlet Title

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Sorry, but are you asking a question or do you just want to share your finding with everybody in the forum?
Ashu Ashu,修改在12 年前。

RE: Dynamic portlet Title

New Member 帖子: 3 加入日期: 11-9-13 最近的帖子
I am sharing this info
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Dynamic portlet Title

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Thanks for sharing. emoticon