Class Name

atg.commerce.promotion.PromotionDroplet

Component(s)

/atg/commerce/promotion/PromotionDroplet

The PromotionDroplet servlet bean associates a promotion with a user profile. The promotion is added to the list of promotions in the activePromotions property of the user profile.

Input Parameters

promotion (Required)
The promotion to be associated with the profile. The value of this parameter must be of type RepositoryItem.

profile
The user profile associated with the promotion. If this parameter is not supplied or is not an instance of Profile, then it is resolved from Nucleus.

Output Parameters

error
An exception that occurred while associating the promotion the user profile.

Open Parameters

error
This parameter is rendered if an error occurs.

Example
<dsp:droplet name="/atg/commerce/promotion/PromotionDroplet">
  <dsp:param param="someIncomingPromotion" name="promotion"/>
</dsp:droplet>

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices