Hiding the portlet



In some seceniros you may need to hide the portlet, In liferay it is easy as just add the attribute.

renderRequest.setAttribute(WebKeys.PORTLET_CONFIGURATOR_VISIBILITY, false);

That it !!! Above renderRequest  will set  in hiding 

Comments

Post a Comment

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate