META-INF.resources.view.jsp Maven / Gradle / Ivy
<%--
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
--%>
<%@ include file="/init.jsp" %>
<%
LocalizedItemSelectorRendering localizedItemSelectorRendering = LocalizedItemSelectorRendering.get(liferayPortletRequest);
List navigationItems = localizedItemSelectorRendering.getNavigationItems();
%>
<%
if (_log.isWarnEnabled()) {
String[] criteria = ParamUtil.getParameterValues(renderRequest, "criteria");
_log.warn("No item selector views found for " + StringUtil.merge(criteria, StringPool.COMMA_AND_SPACE));
}
%>
<%
NavigationItem activeNavigationItem = localizedItemSelectorRendering.getActiveNavigationItem();
%>
<%= GetterUtil.getString(activeNavigationItem.get("label")) %>
<%!
private static final Log _log = LogFactoryUtil.getLog("com_liferay_item_selector_web.view_jsp");
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy