ISML Custom Tag - ISSLOT

Name

ISSLOT

Short Description

requests the contents of a slot from within the pagelet's render template

Table of Contents

Product Version

6.7

Product To Version

 

Statusfinal

1 Introduction

The <ISSLOT> tag allows to request the contents (technically meaning all PageletAssignment objects) of a slot from within the pagelet's render template. This implies that the Java code behind the tag uses information that is provided by some slot definition:

  1. Is a pagelet pipeline given?
    • Yes: "Component Assignments" are enabled?
    • Yes: Carry on as if the slot object is a filter slot.
    • No: Carry on as if the slot object is a dynamic slot.
    • No: Ask the slot object to return all PageletAssignments
  2. Apply upper boundary constraints

The result of such check will be an ordered set of PageletAssignments renderable at a given time. So all contents will be rendered implicitly by the invocation of the pagelet containing this slot.

2 Syntax

<isslot
(
  slot = "( {String} | {ISML expression} )"
)>

3 Example

<body
  <isif condition="#(isDefined(PageletConfigurationParameters:bodyId))#">
    id="<isprint value="#PageletConfigurationParameters:bodyId#">"</isif>
  <isif condition="#(isDefined(PageletConfigurationParameters:bodyClass))#">
    class="<isprint value="#PageletConfigurationParameters:bodyClass#">"
  </isif>>
  <isslot slot="slot.main.Content.pagelet2-Slot">
</body>

4 Attributes

The <ISSLOT> tag has a mandatory attribute named slot. In the example above the HTML markup produced by the contents of the slot slot.main.Content.pagelet2-Slot is inserted at the tag's position.

4.1 slot

A qualified name refering to the slot definition is expected to be used as value for that attribute.

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