留言板
Dynamic portlet Title
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
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