When clicking on the DockBar on the Add->more ... , he entered the layout_configuration:
This is also a portlet (a special portlet in the Liferay kernel), portlet_id 87, see Liferay-portlet.xml:
<portlet>
<portlet-name>87</portlet-name>
<icon>/html/icons/default.png</ icon>
<struts-path>layout_configuration</struts-path>
<use-default-template>false </use-default-template>
<show-portlet-access-denied>false</show-portlet-access-denied>
<show-portlet-inactive>false</show-portlet-inactive>
<private-request-attributes> False</private-request-attributes>
<private-session-attributes>false</ private-session-attributes>
<render-weight>50</render-weight>
<add-default-resource >true</add-default-resource>
<system>true</system>
</portlet>
The page corresponding to this portlet is in/html/portlet/layout_configuration/view.jsp:
<%@ include file= "/html/portlet/layout_configuration/init.jsp"%> <c:if test= "<%= themeDisplay.isSign Edin () && (layout!= null) && (Layout.istypeportlet () | | Layout.istypepanel ())%> "> <
% Portleturl Refererurl = Renderresponse.createactionurl ();
Refererurl.setparameter ("Updatelayout", "true"); %> <div id= "portal_add_content" > <div class= "portal-add-content" > <aui : Form action= ' <%= themedisplay.getpathmain () + "/portal/update_layout?p_l_id=" + plid + "&p_v_l_s_g_id=" + Themedisplay.getparentgroupid ()%> ' method= "POST" name= "FM" usenamespace= "<%= false%>" > < Aui:input name= "Doasuserid" type= "hidden" value= "<%= Themedisplay.getdoasuserid ()%>"/> <aui : Input name= "<%= constants.cmd%>" type= hidden "value=" template "/>" <aui:input name= "<%=" Webkeys.referer%> "Type= "hidden" value= "<%= refererurl.tostring ()%>"/> <aui:input "name=" Refresh "type=" hidden "
Value= "<%= true%>"/> <c:if test= "<%= layout.istypeportlet ()%>" > <div class= "Portal-add-content-search" > <span id= "Portal_add_content_title" &
Gt;<liferay-ui:message key= "Search-applications-searches-as-you-type"/></span> <aui:input cssclass= "Lfr-auto-focus" id= "layout_configuration_content" label= "Name=" Layout_configuration_
Content "onkeypress=" if (Event.keycode = =) {return false;} "/> </div> </c:if> <% unicodeproperties typesettingsproperties = Layout.gettypesett
Ingsproperties (); Set panelselectedportlets = Setutil.fromarray (Stringutil.split (Typesettingsproperties.getproperty (" PanelselectedpoRtlets ")); Portletcategory portletcategory = (portletcategory) webapppool.get (Company.getcompanyid (), WebKeys.PORTLET_CATEGORY
); Portletcategory = _getrelevantportletcategory (PermissionChecker, Portletcategory, Panelselectedportlets,
Layouttypeportlet, layout, user);
List categories = Listutil.fromcollection (Portletcategory.getcategories ());
Categories = Listutil.sort (categories, new Portletcategorycomparator (locale));
int portletcategoryindex = 0;
Iterator ITR = Categories.iterator ();
while (Itr.hasnext ()) {portletcategory curportletcategory = (portletcategory) itr.next ();
if (Curportletcategory.ishidden ()) {continue;
} request.setattribute (Webkeys.portlet_category, curportletcategory); Request.setattribute (Webkeys.portlet_category_index, string.valueof (Portletcategoryindex)); %> <liferay-util:include page= "/html/portlet/layout_configuration/view_category.jsp"/&G
T
<% portletcategoryindex++;
}%> <c:if test= "<%= layout.istypeportlet ()%>" > <div class= "Portlet-msg-info" > <liferay-ui:message key= "To-add-a-portlet-to-the-page" -just-drag-it "/> </div> </c:if> <c:if tes
t= "<%=!layout.istypepanel () && permissionchecker.isomniadmin ()%>" > <% Group Controlpanelgroup = Grouplocalserviceutil.getgroup (Company.getcompanyid (), Groupconstants.control
_panel); Long ControlPanelPlid = Layoutlocalserviceutil.getdefaultplid (Controlpanelgroup.getgroupid (), true); Portleturlimpl Pluginsurl = new Portleturlimpl (Request, Portletkeys.plugin_installer, Controlpanelplid,
Portletrequest.render_phase);
Pluginsurl.setportletmode (Portletmode.view);
Pluginsurl.setrefererplid (Plid); %> <p class= "Lfr-install-more" > <aui:a href= "<%= Plugi Nsurl.tostring ()%> "label=" install-more-applications/> </p> </c:if > </aui:form> </div> </div> </c:if> <c:if test= "<%=!" Themedisplay.issignedin ()%> "> <liferay-ui:message key=" please-sign-in-to-continue "/> </c:if>