close

Filter

loading table of contents...

Connector for HCL Commerce Manual / Version 2310

Table Of Contents

3.9 Customizing HCL Commerce JSPs

When the CoreMedia Fragment Connector has been installed, the lc:include tag can be used in any JSPs of the Commerce Workspace to include content from the CoreMedia CMS. See Section 6.2.2, “The CoreMedia Include Tag” for more details.

The HCL Commerce Workspace contains web content like JSP and JavaScript files in the crs-web/<STORE_NAME> folder. These files are mostly adapted versions of the JSP files of an original HCL RAD workspace. The CoreMedia customizations are highlighted with the following comment lines:

      <!-- Begin CoreMedia XXX -->
      CoreMedia snippet data
      <!-- END CoreMedia XXX  -->
    

The corresponding files in the HCL RAD workspace are in the workspace/crs-web/WebContent/<STORE_NAME> folder.

If you have an Aurora RAD workspace without any customizations, you can copy the HCL Commerce Workspace archive content above it. Otherwise, you have to unzip the file and check for each file if you can copy the CoreMedia change into the corresponding file of your HCL RAD workspace.

Example

The CoreMedia archive contains custom Header.jsp and Footer.jsp files. These JSPs contain some include tags, highlighted with comments, to replace the default Aurora store header and footer with CoreMedia page grid placements. The placements contain the navigation and footer elements of the CAE. The original files are located in the folder workspace/crs-web/WebContent/<STORE_NAME>/Widgets of the RAD workspace.

In addition, CoreMedia JavaScript and CSS that is used by the CAE must be included in the store front. To do so adapt the CoreMedia specific changes in WebContent/<STORE_NAME>/Common/CommonJSToInclude.jspf.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.