Friday, July 6, 2012

How can we change Portlet's title in the code?

we can specify portlet titles in the portlet deployment descriptor or the portlet resource bundle.

We can also set title in the portlet's class

This can be done by using the RenderResponse object’s set-Title method, as shown here:

response.setTitle("Book Catalog: Add Book");

1 comment:

  1. How can I set liferay portlet title in ActionRequest, ActionResponse Object??

    ReplyDelete