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" %>
<%
SegmentsDisplayContext segmentsDisplayContext = (SegmentsDisplayContext)request.getAttribute(SegmentsDisplayContext.class.getName());
String eventName = liferayPortletResponse.getNamespace() + "assignSiteRoles";
request.setAttribute("view.jsp-eventName", eventName);
%>
<%
String segmentsConfigurationURL = segmentsDisplayContext.getSegmentsCompanyConfigurationURL(request);
%>
<%=
LanguageUtil.get(
request, "contact-your-system-administrator-to-enable-it") %>
<%
row.setData(
HashMapBuilder.put(
"actions", segmentsDisplayContext.getAvailableActions(segmentsEntry)
).build());
%>
<%
SegmentsSourceDetailsProvider segmentsSourceDetailsProvider = SegmentsSourceDetailsProviderUtil.getSegmentsSourceDetailsProvider(segmentsEntry);
%>
<%= segmentsSourceDetailsProvider.getLabel(locale) %>
<%
SegmentsEntryActionDropdownItemsProvider segmentsEntryActionDropdownItemsProvider = new SegmentsEntryActionDropdownItemsProvider(request, segmentsDisplayContext, segmentsEntry);
%>