
META-INF.resources.configuration.icon.import.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" %>
Liferay.Util.setPortletConfigurationIconAction(
' import',
() => {
Liferay.Util.openModal({
onClose: function (event) {
window.location.reload();
},
title: ' ',
url: '<%=
PortletURLBuilder.create(
PortalUtil.getControlPanelPortletURL(liferayPortletRequest, StyleBookPortletKeys.STYLE_BOOK, PortletRequest.RENDER_PHASE)
).setMVCRenderCommandName(
"/style_book/view_import"
).setWindowState(
LiferayWindowState.POP_UP
).buildString()
%>',
});
}
);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy