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

META-INF.resources.wiki_admin.edit_node.jsp Maven / Gradle / Ivy

There is a newer version: 7.0.121
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="/wiki/init.jsp" %>

<%
String redirect = ParamUtil.getString(request, "redirect");

WikiNode node = (WikiNode)request.getAttribute(WikiWebKeys.WIKI_NODE);

long nodeId = BeanParamUtil.getLong(node, request, "nodeId");

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

renderResponse.setTitle((node == null) ? LanguageUtil.get(request, "new-wiki-node") : node.getName());
%>




	
		
		
		

		
		

		

		
function(val) { return !/^\d+$/.test(val); }
function saveNode() { document.fm.<%= Constants.CMD %>.value = '<%= (node == null) ? Constants.ADD : Constants.UPDATE %>'; submitForm(document.fm); } <% PortalUtil.addPortletBreadcrumbEntry(request, LanguageUtil.get(request, (node == null) ? "add-wiki" : "edit"), currentURL); %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy