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

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

<%
CommerceContext commerceContext = (CommerceContext)request.getAttribute(CommerceWebKeys.COMMERCE_CONTEXT);
CPDefinition cpDefinition = (CPDefinition)request.getAttribute(CPWebKeys.CP_DEFINITION);

Portlet portlet = PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletDisplay.getId());
%>


	


<%= HtmlUtil.escape(cpDefinition.getName(languageId)) %>

<% String defaultImageThumbnailSrc = cpDefinition.getDefaultImageThumbnailSrc(CommerceUtil.getCommerceAccountId(commerceContext)); %>
<% String description = cpDefinition.getDescription(languageId); %>
<%= description %>
<%= HtmlUtil.escape(cpDefinition.getUserName()) %>
<% for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : cpDefinition.getCPDefinitionSpecificationOptionValues()) { CPSpecificationOption cpSpecificationOption = cpDefinitionSpecificationOptionValue.getCPSpecificationOption(); %>
<%= HtmlUtil.escape(cpSpecificationOption.getTitle(languageId)) %>
<% } %>
<% for (CPInstance cpInstance : cpDefinition.getCPInstances()) { %>
<%= HtmlUtil.escape(cpInstance.getSku()) %>
<% } %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy