
META-INF.resources.cor_entry.details.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.order.rule.web
Show all versions of com.liferay.commerce.order.rule.web
Liferay Commerce Order Rule Web
<%--
/**
* 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" %>
<%
COREntryDisplayContext corEntryDisplayContext = (COREntryDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);
COREntry corEntry = corEntryDisplayContext.getCOREntry();
long corEntryId = corEntryDisplayContext.getCOREntryId();
boolean neverExpire = ParamUtil.getBoolean(request, "neverExpire", true);
if ((corEntry != null) && (corEntry.getExpirationDate() != null)) {
neverExpire = false;
}
String type = BeanParamUtil.getString(corEntry, renderRequest, "type", COREntryConstants.TYPE_MINIMUM_ORDER_AMOUNT);
%>
<%
for (COREntryType corEntryType : corEntryDisplayContext.getCOREntryTypes()) {
%>
<%
}
%>
<%
COREntryTypeJSPContributor corEntryTypeJSPContributor = corEntryDisplayContext.getCOREntryTypeJSPContributor(type);
%>
<%
corEntryTypeJSPContributor.render(corEntryId, request, PipingServletResponseFactory.createPipingServletResponse(pageContext));
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy