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

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

The newest version!
<%--
/**
 * SPDX-FileCopyrightText: (c) 2023 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" %>

<%
AssetCategoriesManagementToolbarDisplayContext assetCategoriesManagementToolbarDisplayContext = new AssetCategoriesManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, assetCategoriesDisplayContext);
AssetCategoryActionDropdownItemsProvider assetCategoryActionDropdownItemsProvider = new AssetCategoryActionDropdownItemsProvider(assetCategoriesDisplayContext, request, renderRequest, renderResponse);
%>




	




	<%
	List breadcrumbEntries = AssetCategoryUtil.getAssetCategoriesBreadcrumbEntries(assetCategoriesDisplayContext.getVocabulary(), assetCategoriesDisplayContext.getCategory(), request, renderResponse);
	%>

	
		
	

	
		
			
				
				
				
			

			<%
			int subcategoriesCount = AssetCategoryLocalServiceUtil.getChildCategoriesCount(curCategory.getCategoryId());

			row.setData(
				HashMapBuilder.put(
					"actions", assetCategoriesManagementToolbarDisplayContext.getAvailableActions(curCategory)
				).build());

			int fullCategoriesCount = AssetEntryAssetCategoryRelLocalServiceUtil.getAssetEntryAssetCategoryRelsCountByAssetCategoryId(curCategory.getCategoryId());
			%>

			
				
					

					
						
							
						

						

<%= HtmlUtil.escape(curCategory.getTitle(locale)) %>

<%= HtmlUtil.stripHtml(curCategory.getDescription(locale)) %> : <%= String.valueOf(fullCategoriesCount) %>
<%= HtmlUtil.escape(curCategory.getPath(locale, true)) %> > <%= HtmlUtil.escape(curCategory.getTitle(locale)) %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy