Skip to content

Commit

Permalink
Cleaning up jsp imports, bumping version for 1.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanda committed Oct 13, 2020
1 parent 03999c3 commit e00d25f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This module provides a carousel view in the Product List Renderer. For best res

## Installation

- Download the `.jar` file in [releases](https://github.com/jhanda/carousel-renderer/releases/tag/1.0.0) and deploy it
- Download the `.jar` file in [releases](https://github.com/jhanda/carousel-renderer/releases/tag/1.0.2) and deploy it
into Liferay.

or
Expand Down
2 changes: 1 addition & 1 deletion bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bundle-Name: carousel-renderer
Bundle-SymbolicName: com.liferay.commerce.demo.carousel.renderer
Bundle-Version: 1.0.1
Bundle-Version: 1.0.2
Export-Package: com.liferay.commerce.demo.carousel.renderer
Web-ContextPath: /carousel-renderer
26 changes: 4 additions & 22 deletions src/main/resources/META-INF/resources/init.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,16 @@

<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>

<%@ page import="java.util.List" %>

<%@ page import="com.liferay.portal.kernel.language.LanguageUtil" %>

<%@ page import="com.liferay.portal.kernel.util.GetterUtil" %>

<%@ page import="com.liferay.commerce.product.content.util.CPContentHelper" %>
<%@ page import="com.liferay.commerce.product.content.constants.CPContentWebKeys" %>
<%@ page import="com.liferay.commerce.product.util.CPInstanceHelper" %>
<%@ page import="com.liferay.commerce.product.data.source.CPDataSourceResult" %>
<%@ page import="com.liferay.commerce.product.constants.CPWebKeys" %>
<%@ page import="com.liferay.commerce.product.catalog.CPCatalogEntry" %>
<%@ page import="com.liferay.commerce.product.catalog.CPSku" %>
<%@ page import="com.liferay.portal.kernel.util.PortalUtil" %>
<%@ page import="com.liferay.commerce.product.content.util.CPContentHelper" %>
<%@ page import="com.liferay.commerce.product.content.constants.CPContentWebKeys" %>

<%@ page import="com.liferay.portal.kernel.util.StringPool" %>
<%@ page import="com.liferay.portal.kernel.util.HtmlUtil" %>
<%@ page import="com.liferay.commerce.product.model.CPDefinitionSpecificationOptionValue" %>
<%@ page import="com.liferay.commerce.product.model.CPOptionCategory" %>
<%@ page import="com.liferay.commerce.product.catalog.CPMedia" %>
<%@ page import="com.liferay.commerce.product.model.CPSpecificationOption" %>
<%@ page import="com.liferay.commerce.price.CommerceProductPriceCalculation" %>

<%@ page import="com.liferay.commerce.context.CommerceContext" %>
<%@ page import="com.liferay.commerce.constants.CommerceWebKeys" %>
<%@ page import="com.liferay.portal.kernel.exception.PortalException" %>
<%@ page import="com.liferay.commerce.currency.model.CommerceMoney" %>

<%@ page import="com.liferay.commerce.product.util.CPInstanceHelper" %>
<%@ page import="java.util.List" %>

<liferay-frontend:defineObjects />
<liferay-theme:defineObjects />
Expand Down
11 changes: 0 additions & 11 deletions src/main/resources/META-INF/resources/list_render/view.jsp
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
<%@ page import="com.liferay.commerce.product.content.util.CPContentHelper" %>
<%@ page import="com.liferay.commerce.product.content.constants.CPContentWebKeys" %>
<%@ page import="com.liferay.commerce.product.util.CPInstanceHelper" %>
<%@ page import="com.liferay.commerce.product.data.source.CPDataSourceResult" %>
<%@ page import="com.liferay.commerce.product.constants.CPWebKeys" %>
<%@ page import="com.liferay.commerce.product.catalog.CPCatalogEntry" %>
<%@ page import="com.liferay.commerce.context.CommerceContext" %>
<%@ page import="com.liferay.commerce.constants.CommerceWebKeys" %>
<%@ page import="com.liferay.commerce.product.catalog.CPSku" %>
<%@ page import="java.util.List" %>
<%@ include file="/META-INF/resources/init.jsp" %>

<%
Expand All @@ -16,7 +6,6 @@
CPDataSourceResult cpDataSourceResult = (CPDataSourceResult)request.getAttribute(CPWebKeys.CP_DATA_SOURCE_RESULT);
List<CPCatalogEntry> cpCatalogEntries = cpDataSourceResult.getCPCatalogEntries();
CommerceContext commerceContext = (CommerceContext)request.getAttribute(CommerceWebKeys.COMMERCE_CONTEXT);
int counter = 0;
%>
Expand Down

0 comments on commit e00d25f

Please sign in to comment.