Document Properties
Kbid
27759N
Last Modified
04-Feb-2020
Added to KB
20-Jul-2016
Public Access
Everyone
Status
Online
Doc Type
References
Product
  • ICM 7.10
  • ICM 11
ISML Custom Tag - ISPAGELETASSIGNMENT

Name

ISPAGELETASSIGNMENT

Short Description

directly renders a component based on an assignment

Table of Contents

Product Version

7.7

Product To Version

 
StatusNew Labels

Introduction

Pagelets derived from a pagelet definition with the page flag set to false (component), can be rendered directly by using the <ISPAGELETASSIGNMENT> tag if one has a pagelet assignment instead of a pagelet.

Note

Intershop Commerce Suite 7.7 required!

To use the ISML Custom Tag <ISPAGELETASSIGNMENT> Intershop Commerce Suite 7.7 or later is required.

This custom tag provides similar functionality as ISML Custom Tag - ISPAGELET. But while <ISPAGELET> directly renders the given pagelet, <ISPAGELETASSIGNMENT> takes the pagelet from the given pagelet assignment. Rendering with <ISPAGELETASSIGNMENT> will provide additional editing information for the Design View, e.g., Drag-And-Drop handles for the assignments positioning. Also the determination whether a pagelet assignment is directly to a slot or to a placeholder is only possible if a pagelet assignment is used instead of the pagelet.

Starting with Intershop 7.7 the ISML Custom Tag - ISSLOTITERATOR provides additional functionality that can return pagelet assignments instead of pagelets. This can then be used as input for <ISPAGELETASSIGNMENT>.

Syntax

<ispageletassignment
(
PageletAssignment = "( {ISML expression} )"
)>

Example

The call parameters as required by the definition of the pagelet are mapped automatically from the currently active dictionary of the environment in which the module is embedded to the execution environment of the module. The render
template of the pagelet is either included locally, when the flag remoteInclude of the pagelet definition is set to false, or as Web Adapter include, when the flag is set to true.

<iscontent type="text/html" charset="UTF-8" compact="true">
<isif condition="#isDefined(SlotPageletAssignment)#">
 <ispageletassignment PageletAssignment="#SlotPageletAssignment#">
</isif>

Attributes

<ISPAGELETASSIGNMENT> is a strict module and has only one parameter, PageletAssignment.

PageletAssignment

The pagelet assignment whose assigned pagelet should be rendered.

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.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
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.