The ATG Consumer Commerce component hierarchy for the gift list functionality used in the Pioneer Cycling Store is in atg.commerce.gifts. This package includes formHandlers and droplets that support:

For a complete description of the gift list repository, database, components, and configuration files, see the chapter, Configuring Merchandising Services, in the ATG Commerce Programming Guide.

GiftlistFormHandler

The GiftlistFormHandler provides the primary interface between the customer and the gift list repository. This form handler accepts input from the customer to create, update, and delete gift lists using information provided. It is also used to add items to and remove items from gift lists. Properties in the handler are used to store user input for processing as well as to store success and failure URLs to which the user is redirected after processing.

LookupDroplets

The GiftlistLookupDroplet and GiftitemLookupDroplet components are instances of the atg.repository.servlet.ItemLookupDroplet. These components provide an easy way to find items in the repository based on id.

GiftlistDroplet

The GiftlistDroplet is a servlet bean that allows customers to add and remove gift lists (of other customers) to their profile.

GiftitemDroplet

The GiftitemDroplet is a configurable servlet bean that allows customers to remove or buy items from their own personal gift lists. Two droplets are provided with ATG Consumer Commerce gift lists: RemoveItemFromGiftlist and BuyItemFromGiftlist.

GiftlistSearch

The GiftlistSearch form handler is used to search the repository for gift lists based on properties other than id. The handler uses input from the customer such as owner name, event name, event type, and state to find gift lists that other customers have published and to return a list of gift lists that match the given criteria.

 
loading table of contents...