How do you completely hide portlets with borders that are inactive?

RAJESH CHAURASIA - Monday, November 28, 2016
To change this feature for all the portlets in the portal, set the following parameter in portal.properties to "false": 
layout.show.portlet.inactive=false 
To change this feature on a per portlet level, set the "show-portlet-inactive" parameter in liferay-portlet.xml to "false" for a particular portlet. The setting in liferay-portlet.xml will override the setting in portal.properties. 

How do you completely hide portlets with borders that users don’t have permission to see?

RAJESH CHAURASIA - Monday, November 28, 2016
To change this feature for all the portlets in the portal, set the following parameter in portal.properties to "false": 
layout.show.portlet.access.denied=false 
To change this feature on a per portlet level, set the "show-portlet-access-denied" parameter in liferay-portlet.xml to "false" for a particular portlet. The setting in liferay-portlet.xml will override the setting in portal.properties. 

What is the flow of request in Liferay?

RAJESH CHAURASIA - Saturday, October 08, 2016
  • Browser » App Server (eg Tomcat) » Liferay » layout (Database Table of Liferay) » Page Layout » Portlets » portlet.vm » portal_normal.vm » HTML
  • When a url is request by browser, the application server (Tomcat or any other server running Liferay) handles the request and forwards it to Liferay. From the request URL Liferay get the 'page' that is requested. This page is searched for the corresponding record in table 'layout' to check the page layout. From page layout the portlets on pages is retrieved. The portlets are processed and out is placed in 'portlet.vm'. This velocity file with parsed data is set in page layout to construct the whole page and output is then set to 'portal_normal.vm'. Finally 'portal_normal.vm' is converted to HTML that is presented to the user.

What is Portlet Lifecycle

RAJESH CHAURASIA - Friday, October 07, 2016
  • init() : Initializes the portlet
  • render() : Renders the content
  • processAction() : Called when the user performs the action
  • processEvent() : Called when an event has been triggered
  • serveResource() : Called when a ResourceURL is requested
  • destroy() : Releases the portlet object so it is eligible for garbage collection.

What Is A Portal?

RAJESH CHAURASIA - Friday, October 07, 2016
In short, it is a web system that provides the functions and features to authenticate and identify the users and provide them with an easy, intuitive, personalized and user-customizable web-interface for facilitating access to information and services that are of primary relevance and interests to the users. To the organization that sets up the portal, it is a system that provides versatile functions for the organization to catalogue or organize collections of different and multiple sources of information and service resources for dissemination to many users according to their specific privileges, needs and interest. Hence, the main purpose of setting up a portal is to bring the vast information and service resources available from many sources to many users in an effective manner.