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: 1.0.29
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" %>

<%
SearchContainer countrySearchContainer = CountrySearchContainerFactory.create(liferayPortletRequest, liferayPortletResponse);
%>




	
		
		

		
			

				<%
				List availableActions = new ArrayList<>();

				availableActions.add("deleteCountries");

				if (country.getActive()) {
					availableActions.add("deactivateCountries");
				}
				else {
					availableActions.add("activateCountries");
				}

				row.setData(
					HashMapBuilder.put(
						"actions", StringUtil.merge(availableActions)
					).build());
				%>

				
					
					
				

				<%
				if (!PortalPermissionUtil.contains(permissionChecker, ActionKeys.MANAGE_COUNTRIES)) {
					rowURL = null;
				}
				%>

				

				
					
				

				
					
				

				

				
					
				

				

				
			

			
		
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy