META-INF.resources.view_asset_list_items.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" %>
<%
AssetListItemsDisplayContext assetListItemsDisplayContext = (AssetListItemsDisplayContext)request.getAttribute(AssetListWebKeys.ASSET_LIST_ITEMS_DISPLAY_CONTEXT);
ListItemsActionDropdownItems listItemsActionDropdownItems = (ListItemsActionDropdownItems)request.getAttribute(AssetListWebKeys.LIST_ITEMS_ACTION_DROPDOWN_ITEMS);
%>
<%
AssetRenderer> assetRenderer = assetEntry.getAssetRenderer();
AssetRendererFactory> assetRendererFactory = assetRenderer.getAssetRendererFactory();
%>
<%
String displayPageURL = StringPool.BLANK;
if (assetListItemsDisplayContext.isShowActions()) {
displayPageURL = listItemsActionDropdownItems.getViewDisplayPageURL(AssetEntry.class.getName(), assetEntry);
}
%>
<%= HtmlUtil.escape(assetRenderer.getTitle(locale)) %>
<%= HtmlUtil.escape(assetRenderer.getTitle(locale)) %>