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

META-INF.resources.admin.common.view_kb_suggestion.jsp Maven / Gradle / Ivy

The 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="/admin/common/init.jsp" %>

<%
ViewKBSuggestionDisplayContext viewKBSuggestionDisplayContext = new ViewKBSuggestionDisplayContext(request, renderRequest, renderResponse, rootPortletId);

portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(viewKBSuggestionDisplayContext.getRedirect());
portletDisplay.setURLBackTitle(portletDisplay.getTitle());

renderResponse.setTitle(viewKBSuggestionDisplayContext.getKBCommentTitle());
%>


	
<%= HtmlUtil.escape(viewKBSuggestionDisplayContext.getModifiedDateLabel()) %>
<%= HtmlUtil.escape(viewKBSuggestionDisplayContext.getKBCommentTitle()) %>
<%= HtmlUtil.replaceNewLine(HtmlUtil.escape(viewKBSuggestionDisplayContext.getKBCommentContent())) %>
var deleteButtonElement = document.getElementById( 'deleteButton' ); if (deleteButtonElement) { deleteButtonElement.addEventListener('click', (event) => { Liferay.Util.openConfirmModal({ message: '', onConfirm: (isConfirmed) => { if (!isConfirmed) { event.preventDefault(); } }, }); }); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy