掲示板

Dynamic portlet Title

12年前 に Ashu Ashu によって更新されました。

Dynamic portlet Title

New Member 投稿: 3 参加年月日: 11/09/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
12年前 に Hitoshi Ozawa によって更新されました。

RE: Dynamic portlet Title

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Sorry, but are you asking a question or do you just want to share your finding with everybody in the forum?
12年前 に Ashu Ashu によって更新されました。

RE: Dynamic portlet Title

New Member 投稿: 3 参加年月日: 11/09/13 最新の投稿
I am sharing this info
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Dynamic portlet Title

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Thanks for sharing. emoticon