ISML Custom Tag - ISRENDERENTITYRENDERINGEND

Name

ISRENDERENTITYRENDERINGEND

Short Description

states that the rendering of the given render object has finished

Table of Contents

Product Version

6.7

Product To Version

 

Statusfinal

1 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.

2 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} )"
)>

3 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>

4 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.

4.1 RenderEntityRenderObject

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

4.2 RenderEntityID

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

4.3 RenderEntityContextData

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

4.4 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.

Customer Support
Knowledge Base
Product Resources
Support Tickets