Class Name |
|
|---|---|
Component(s) |
|
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.
profileThe 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
errorAn 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>

