META-INF.resources.view_feeds.jsp Maven / Gradle / Ivy
<%--
/**
* 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" %>
<%
JournalFeedsDisplayContext journalFeedsDisplayContext = new JournalFeedsDisplayContext(renderRequest, renderResponse);
JournalFeedsManagementToolbarDisplayContext journalFeedsManagementToolbarDisplayContext = new JournalFeedsManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, journalFeedsDisplayContext);
portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(journalFeedsDisplayContext.getRedirect());
portletDisplay.setURLBackTitle(portletDisplay.getPortletDisplayName());
renderResponse.setTitle(LanguageUtil.get(request, "feeds"));
%>
<%
String editURL = StringPool.BLANK;
if (JournalFeedPermission.contains(permissionChecker, feed, ActionKeys.UPDATE)) {
editURL = PortletURLBuilder.createRenderURL(
liferayPortletResponse
).setMVCPath(
"/edit_feed.jsp"
).setRedirect(
currentURL
).setParameter(
"feedId", feed.getFeedId()
).setParameter(
"groupId", feed.getGroupId()
).buildString();
}
row.setData(
HashMapBuilder.put(
"actions", journalFeedsManagementToolbarDisplayContext.getAvailableActions(feed)
).build());
%>
<%= feed.getName() %>
<%= feed.getDescription() %>
: <%= feed.getId() %>
<%
JournalFeedActionDropdownItemsProvider journalFeedActionDropdownItemsProvider = new JournalFeedActionDropdownItemsProvider(feed, liferayPortletRequest, liferayPortletResponse);
%>
<%
JournalFeedActionDropdownItemsProvider journalFeedActionDropdownItemsProvider = new JournalFeedActionDropdownItemsProvider(feed, liferayPortletRequest, liferayPortletResponse);
%>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy