Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

commercecontext:getpromotions

Creates the list of promotions for which the current visitor is eligible.

Syntax

Parameters

listvarname (required)
Input and output parameter. As input, name of the list to create on output of the promotions that the current visitor is eligible for.

Description

This tag is invoked whenever a method that needs to consult the promotion list is invoked and then finds that the promotion list does not yet exist. It is invoked by the following methods if they do not find the promotion list:

To create the list of promotions, commercecontext:getpromotions invokes the commercecontext:calculatepromotions method.

The list is created unsorted; it can be used to display appropriate promotions for the current visitor. Use this tag during the debugging phase of your application design.

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.