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 />

No comments:

Post a Comment