本文将介绍lifeary url中的部分参数含义。转自Liferay URL parameters details。
p_p_id: this parameter is used to tell which portlet to access.
p_p_lifecycle: this parameter is used in telling Liferay which action to perform. This is a binary value (0 or 1). 0 simply tells Liferay to just render the portlet, whereas 1 tells Liferay to call the process Method of a StrutsAction.
p_p_state: this parameter is a unique parameter, in that, it is used in helping with Liferay pop ups and AJAX calls. In the current URL above, the parameter is set to normal, therefore, everything is rendered as it should. This parameter also has other values, such as exclusive, maximized and minimized.
exclusive state tells the page to ONLY render that particular portlet
minimized state (shown above) is used to display the portlet collapsed.
p_p_mode: this parameter acts as a Struts Action parameter. Just like a switch statement in PHP, this parameter is used to tell which Struts Method to render. This is mainly seen/used while in the control panel when you are editing a created page or editing your personal profile.
p_p_col_count: these parameters are used in aiding the Liferay templating system.