Tuesday, 14 November 2017

Setting portlet title programmatically

We can set portlet title programmatically by using

renderResponse.setTitle();

In your jsp use

<%
renderResponse.setTitle("Your Title");
%>

To use renderResponse object add 

<portlet:defineObjects />

TEST

I am Java Developer. I have 6 year Experiance in this field and like to post in blogging. So keep sharing and like my post

0 comments:

Post a Comment

 

Copyright @ 2017 Liferay Article.