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

META-INF.resources.article.basic_info.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="/init.jsp" %>

<%
JournalArticle article = journalDisplayContext.getArticle();

JournalEditArticleDisplayContext journalEditArticleDisplayContext = (JournalEditArticleDisplayContext)request.getAttribute(JournalEditArticleDisplayContext.class.getName());

DDMStructure ddmStructure = journalEditArticleDisplayContext.getDDMStructure();
%>




	

: <%= HtmlUtil.escape(ddmStructure.getName(locale)) %>

" id="articleVersionStatusWrapper"> : <%= (article != null) ? article.getVersion() : "" %>

: <%= article.getVersion() %>

<% boolean newArticle = (article != null) && !article.isNew(); %>
<% String taglibOnChange = "Liferay.Util.toggleDisabled('#" + liferayPortletResponse.getNamespace() + "newArticleId', event.target.checked);"; %>
var autoArticleInput = document.getElementById( 'autoArticleId' ); var newArticleInput = document.getElementById( 'newArticleId' ); if (autoArticleInput && newArticleInput) { newArticleInput.disabled = autoArticleInput.checked; autoArticleInput.addEventListener('click', () => { Liferay.Util.toggleDisabled(newArticleInput, !newArticleInput.disabled); }); }

" id="articleIdWrapper"> : <%= (article != null) ? article.getArticleId() : "" %>

: <%= article.getArticleId() %>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy