Document Properties
Kbid
24806X
Last Modified
04-Feb-2020
Added to KB
26-Jun-2013
Public Access
Everyone
Status
Online
Doc Type
References
Product
  • ICM 7.10
  • ICM 11
ISML Custom Tag - ISRENDERENTITYRENDERINGSTART

Name

ISRENDERENTITYRENDERINGSTART

Short Description

states that the rendering of the given render object starts

Table of Contents

Product Version

6.7

Product To Version

 

StatusNew Labels

Introduction

To add storefront editing tags manually Intershop 7 provides two strict modules. The <ISRENDERENTITYRENDERINGSTART> tag and <ISRENDERENTITYRENDERINGEND>tag can be used encasing the section that is responsible for the rendering of an object.

The <ISRENDERENTITYRENDERINGSTART> tag states that the rendering of the given render object is about to start. This might imply several actions by the system. This tag must be followed by the matching <ISRENDERENTITYRENDERINGEND>which states that the rendering of the given object has finished. This might also imply several actions by the system.

Syntax

<ISRenderEntityRenderingStart
(
  RenderEntityRenderObject = "( {String} | {ISML expression} )"
  RenderEntityID = "( {String} | {ISML expression} )"
  RenderEntityContextData = "( {String} | {ISML expression} )"
  RenderingContextData = "( {String} | {ISML expression} )"
)>
<ISRenderEntityRenderingEnd
(
  RenderEntityRenderObject = "( {String} | {ISML expression} )"
  RenderEntityID = "( {String} | {ISML expression} )"
  RenderEntityContextData = "( {String} | {ISML expression} )"
  RenderingContextData = "( {String} | {ISML expression} )"
)>

Example

The example below renders all categories in the passed iterator for a sitemap.

<isinclude template="modules/Modules">
<isif condition="#hasElements(CategoryBOs)#">
  <ul class="ish-siteMapCategoryList">
    <isloop iterator="CategoryBOs" alias="CategoryBO" counter="CategoryCount">
      <iscachekey object="#CategoryBO#">
      <isset name="CategoryBO" value="#CategoryBO#" scope="request">
      <li class="ish-siteMapCategoryList-item ish-siteMapCategoryList-item-<isprint value="#CategoryCount#">
        <isif condition="#(CategoryCount%2) == 0#"> ish-siteMapCategoryList-item-even <iselse>ish-siteMapCategoryList-item-odd</isif> ">
        <ISUUID name="RenderEntityID">
        <ISRenderEntityRenderingStart RenderEntityRenderObject="#CategoryBO#" RenderEntityID="#RenderEntityID#">
          <ISViewContext ViewContext="#PageletConfigurationParameters:contextObjectRelation#">
        <ISRenderEntityRenderingEnd RenderEntityRenderObject="#CategoryBO#" RenderEntityID="#RenderEntityID#">
      </li>
    </isloop>
  </ul>
</isif>

Attributes

The two tags are configured with the same attributes. Of course, the attributes of matching start-tag and end-tag should be the same.

RenderEntityRenderObject

The PersistentObject (e.g., product, catalog category, etc) that is to be rendered (required).

RenderEntityID

A string that allows to match the <ISRENDERENTITYRENDERINGSTART> and <ISRENDERENTITYRENDERINGEND>(required).

RenderEntityContextData

A map <String, Object> that contains additional information about the RenderEntityRenderObject (optional).

RenderingContextData

A map <String, Object> that contains additional information about the context in which this module is called (optional).

Reference - ISML Custom Tags

Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.