META-INF.resources.view_export_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" %>
<%
String backURL = ParamUtil.getString(request, "backURL");
long backgroundTaskId = ParamUtil.getLong(request, "backgroundTaskId");
portletDisplay.setDescription(LanguageUtil.get(request, "process-details"));
if (Validator.isNotNull(backURL)) {
portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(backURL);
}
renderResponse.setTitle(LanguageUtil.get(request, "process-details"));
%>
new Liferay.ExportImport({
incompleteProcessMessageNode:
'# incompleteProcessMessage',
locale: '<%= locale.toLanguageTag() %>',
namespace: ' ',
processesNode: '#exportImportProcessContainer',
processesResourceURL: '<%= HtmlUtil.escapeJS(exportImportProcessURL) %>',
timeZoneOffset: <%= timeZoneOffset %>,
});