META-INF.resources.move_entries.jsp Maven / Gradle / Ivy
<%--
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
--%>
<%@ include file="/init.jsp" %>
<%
JournalMoveEntriesDisplayContext journalMovesEntriesDisplayContext = new JournalMoveEntriesDisplayContext(liferayPortletRequest, liferayPortletResponse);
%>
<%
InvalidFolderException ife = (InvalidFolderException)errorException;
%>
<%
List validMoveFolders = journalMovesEntriesDisplayContext.getValidMoveFolders();
%>
<%
for (JournalFolder folder : validMoveFolders) {
%>
-
<%= HtmlUtil.escape(folder.getName()) %>
<%
}
%>
<%
List invalidMoveFolders = journalMovesEntriesDisplayContext.getInvalidMoveFolders();
%>
<%
for (JournalFolder folder : invalidMoveFolders) {
%>
-
<%= HtmlUtil.escape(folder.getName()) %>
<%
}
%>
<%
List validMoveArticles = journalMovesEntriesDisplayContext.getValidMoveArticles();
%>
<%
for (JournalArticle validMoveArticle : validMoveArticles) {
%>
-
<%= HtmlUtil.escape(validMoveArticle.getTitle(locale)) %>
<%
}
%>
<%
List invalidMoveArticles = journalMovesEntriesDisplayContext.getInvalidMoveArticles();
%>
<%
for (JournalArticle invalidMoveArticle : invalidMoveArticles) {
%>
-
<%= HtmlUtil.escape(invalidMoveArticle.getTitle()) %>
<%
}
%>
<%
Map context = new HashMap<>();
context.put("selectFolderURL", selectFolderURL);
%>