META-INF.resources.view_ddm_structures.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" %>
<%
JournalDDMStructuresDisplayContext journalDDMStructuresDisplayContext = new JournalDDMStructuresDisplayContext(renderRequest, renderResponse);
JournalDDMStructuresManagementToolbarDisplayContext journalDDMStructuresManagementToolbarDisplayContext = new JournalDDMStructuresManagementToolbarDisplayContext(request, liferayPortletRequest, liferayPortletResponse, journalDDMStructuresDisplayContext);
%>
<%
DataDefinitionValidationException.MustNotDuplicateFieldName mndfn = (DataDefinitionValidationException.MustNotDuplicateFieldName)errorException;
%>
<%
DataDefinitionValidationException.MustSetOptionsForField msoff = (DataDefinitionValidationException.MustSetOptionsForField)errorException;
%>
<%
DataDefinitionValidationException.MustSetValidCharactersForFieldName msvcffn = (DataDefinitionValidationException.MustSetValidCharactersForFieldName)errorException;
%>
<%
DataLayoutValidationException.MustNotDuplicateFieldName mndfn = (DataLayoutValidationException.MustNotDuplicateFieldName)errorException;
%>
<%
Exception exception = (Exception)errorException;
%>
<%
String rowHREF = StringPool.BLANK;
if (DDMStructurePermission.contains(permissionChecker, ddmStructure, ActionKeys.UPDATE)) {
rowHREF = PortletURLBuilder.createRenderURL(
renderResponse
).setMVCPath(
"/edit_data_definition.jsp"
).setRedirect(
currentURL
).setParameter(
"ddmStructureId", ddmStructure.getStructureId()
).buildString();
}
row.setData(
HashMapBuilder.put(
"actions", journalDDMStructuresManagementToolbarDisplayContext.getAvailableActions(ddmStructure)
).build());
%>
<%
Group group = GroupLocalServiceUtil.getGroup(ddmStructure.getGroupId());
%>
<%
DDMStructureActionDropdownItemsProvider ddmStructureActionDropdownItemsProvider = new DDMStructureActionDropdownItemsProvider(ddmStructure, liferayPortletRequest, liferayPortletResponse);
%>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy