<cat:catalogSelector> Tag

The <cat:catalogSelector> tag retrieves a personalized set of catalog items based on a predefined content selector rule.

Syntax

<tagName attribute="value">
</tagName>

Attributes

rule

Optional (String) - The name of the content selector rule used to retrieve the personalized list of catalog items.

id

Required (String) - The variable to store the array of catalog items found.

Example

<cat:catalogSelector id="items" selector="outdoor" />
<cat:iterateThroughView iterator="<%= items %>" id="item" 
    returnType="com.beasys.commerce.ebusiness.catalog.ProductItem"viewIndex="new Integer(0)"> 
    <%= item.getKey().toString() %>
</cat:iterateThroughView>

Related Topics

Creating Content Selectors

<cat:catalogQuery> Tag