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

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

There is a newer version: 5.0.181
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" %>

<%
JournalManagementToolbarDisplayContext journalManagementToolbarDisplayContext = null;

if (!journalDisplayContext.isSearch() || journalDisplayContext.isShowWebContent()) {
	journalManagementToolbarDisplayContext = new JournalManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, journalDisplayContext, trashHelper);
}
else if (journalDisplayContext.isIndexAllArticleVersions() && journalDisplayContext.isShowVersions()) {
	journalManagementToolbarDisplayContext = new JournalArticleVersionsManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, journalDisplayContext, trashHelper);
}
else if (journalDisplayContext.isShowComments()) {
	journalManagementToolbarDisplayContext = new JournalArticleCommentsManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, journalDisplayContext, trashHelper);
}
else {
	journalManagementToolbarDisplayContext = new JournalManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, journalDisplayContext, trashHelper);
}
%>





	<%
	long id = GetterUtil.getLong(MultiSessionMessages.get(renderRequest, "articleCreated"));

	if (MultiSessionMessages.contains(renderRequest, "articlePending")) {
		id = GetterUtil.getLong(MultiSessionMessages.get(renderRequest, "articlePending"));
	}
	else if (MultiSessionMessages.contains(renderRequest, "articlePendingScheduled")) {
		id = GetterUtil.getLong(MultiSessionMessages.get(renderRequest, "articlePendingScheduled"));
	}
	else if (MultiSessionMessages.contains(renderRequest, "articleScheduled")) {
		id = GetterUtil.getLong(MultiSessionMessages.get(renderRequest, "articleScheduled"));
	}
	else if (MultiSessionMessages.contains(renderRequest, "articleUpdated")) {
		id = GetterUtil.getLong(MultiSessionMessages.get(renderRequest, "articleUpdated"));
	}

	JournalArticle article = JournalArticleLocalServiceUtil.fetchJournalArticle(id);
	%>

	
		
			
				
			

			
				
					
				
				
					
				
				
					
				
				
					
				
				
					
				
			
		

		
	










<% VerticalNavItemList ddmStructureVerticalNavItemList = journalDisplayContext.getDDMStructureVerticalNavItemList(); %>

<%= journalDisplayContext.getTitle() %>

<%@ include file="/view_form.jspf" %>
<%@ include file="/view_form.jspf" %>
<%@ include file="/friendly_url_changed_message.jspf" %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy