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

META-INF.resources.my_subscriptions.view.jsp Maven / Gradle / Ivy

There is a newer version: 4.0.56
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" %>

<%
CommerceSubscriptionContentDisplayContext commerceSubscriptionContentDisplayContext = (CommerceSubscriptionContentDisplayContext)request.getAttribute(WebKeys.PORTLET_DISPLAY_CONTEXT);
%>


	
		
<% CommerceOrderItem commerceOrderItem = commerceSubscriptionEntry.fetchCommerceOrderItem(); String thumbnailSrc = commerceSubscriptionContentDisplayContext.getCommerceSubscriptionEntryThumbnailSrc(commerceSubscriptionEntry); StringJoiner stringJoiner = new StringJoiner(StringPool.COMMA); for (KeyValuePair keyValuePair : commerceSubscriptionContentDisplayContext.getKeyValuePairs(commerceSubscriptionEntry)) { stringJoiner.add(keyValuePair.getValue()); } %> <%= (commerceOrderItem == null) ? StringPool.BLANK : HtmlUtil.escape(commerceOrderItem.getName(languageId)) %>
<%= HtmlUtil.escape(stringJoiner.toString()) %>
<%= HtmlUtil.escape(LanguageUtil.get(request, CommerceSubscriptionEntryConstants.getSubscriptionStatusLabel(commerceSubscriptionEntry.getSubscriptionStatus()))) %>
<% CommerceOrder commerceOrder = commerceOrderItem.getCommerceOrder(); %> <% DropdownItemList commerceSubscriptionEntryActionItemList = commerceSubscriptionContentDisplayContext.getCommerceSubscriptionEntryActionItemList(commerceSubscriptionEntry, renderRequest, renderResponse); %> <% DropdownItem dropdownItem = commerceSubscriptionEntryActionItemList.get(0); %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy