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

META-INF.resources.edit_asset_vocabulary.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" %>

<%
String redirect = ParamUtil.getString(request, "redirect", assetCategoriesDisplayContext.getDefaultRedirect());

long vocabularyId = ParamUtil.getLong(request, "vocabularyId");

AssetVocabulary vocabulary = null;

if (vocabularyId > 0) {
	vocabulary = AssetVocabularyServiceUtil.fetchVocabulary(vocabularyId);
}

portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(redirect);
portletDisplay.setURLBackTitle(portletDisplay.getPortletDisplayName());

renderResponse.setTitle((vocabulary == null) ? LanguageUtil.get(request, "add-vocabulary") : vocabulary.getTitle(locale));
%>


	



	
	

	
		
		

		

		
			

			

			

			
<%@ include file="/edit_vocabulary_settings.jspf" %>
function confirmation(event) { var message = ''; var visibilityTypePublic = document.getElementById( 'visibilityTypePublic' ); var visibilityTypePublicChecked = visibilityTypePublic.checked; if (visibilityTypePublicChecked) { message = ''; } Liferay.Util.openConfirmModal({ message: message + ' \n\n', onConfirm: (isConfirmed) => { if (isConfirmed) { submitForm(document.fm); } }, }); submitForm(document.fm); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy