Class Name

atg.commerce.gifts.GiftShippingGroupsDroplet

Component(s)

/atg/commerce/gifts/GiftShippingGroups

The GiftShippingGroups servlet bean checks for gifts within a given order. If gifts exist in the order, then it builds a collection of the shipping groups that contain the gifts.

Input Parameters

order (Required)
The order to check for gifts.

Output Parameters

giftsg
The collection of shipping groups in the order that contain one or more gifts.

allgifts
This parameter is boolean. The parameter’s value is true if all the items in the order are gifts. The parameter’s value is false if only some of the items in the order are gifts.

Open Parameters

true
The open parameter rendered if the order contains gifts.

false
The open parameter rendered if the order does not contain gifts.

Example

The following JSP example shows the parameters you can use to invoke the GiftShippingGroups servlet bean:

<dsp:droplet name="/atg/commerce/gifts/GiftShippingGroups">
<dsp:param param="order" name="order"/>
<dsp:oparam name="true">
   Gifts in order
</dsp:oparam>
<dsp:oparam name="false">
   No gifts
</dsp:oparam>
<dsp:oparam name="error">
   Error
</dsp:oparam>
</dsp:droplet>