Class Name

atg.commerce.gifts.GiftShippingGroupDroplet

Component(s)

/atg/commerce/gifts/IsGiftShippingGroup

The IsGiftShippingGroup servlet bean checks a shipping group within a given order for gifts.

Input Parameters

sg (Required)
The shipping group to check for gifts.

Output Parameter

giftlistId
This parameter holds the gift list ID for a gift that’s part of the shipping group.

Open Parameters

true
The open parameter rendered if the shipping group contains one or more gifts.

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

Example

The following example shows the JSP code for the IsGiftShippingGroup servlet bean:

<dsp:droplet name="/atg/commerce/gifts/IsGiftShippingGroup">
<dsp:param param="sg" name="sg"/>
<dsp:oparam name="true">
   Gift in shipping group
</dsp:oparam>
<dsp:oparam name="false">
    No gift in shipping group
</dsp:oparam>
<dsp:oparam name="error">
    Error
</dsp:oparam>
</dsp:droplet>

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