All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.copy_template_entry.jsp Maven / Gradle / Ivy

There is a newer version: 1.0.95
Show newest version
<%--
/**
 * 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 redirect = ParamUtil.getString(request, "redirect");

long templateEntryId = ParamUtil.getLong(request, "templateEntryId");

TemplateEntry templateEntry = TemplateEntryLocalServiceUtil.fetchTemplateEntry(templateEntryId);

DDMTemplate ddmTemplate = DDMTemplateLocalServiceUtil.fetchDDMTemplate(templateEntry.getDDMTemplateId());

portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(redirect);
portletDisplay.setURLBackTitle(portletDisplay.getPortletDisplayName());

renderResponse.setTitle(LanguageUtil.format(request, "copy-x", HtmlUtil.escape(ddmTemplate.getName(locale))));
%>


	



	

	

	

	
		

		
			

			
		
	

	
		
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy