This droplet removes a marker item from an order. An extended property map can be provided either by droplet input parameter or by extending the getExtendedProperties method.

Class Name

atg.commerce.markers.droplet.RemoveMarkersFromOrder

Component

/atg/commerce/markers/droplet/RemoveMarkersFromOrder
Droplet

Input Parameters

order
The order that has markers to be removed. If omitted, the active order is used.

key (required)
The value in the marker’s key property. Set this parameter to ANY_VALUE to indicate that the marker’s key value is irrelevant for your purposes. For example:

<dsp:param name="key" bean="OrderHasMarkerDroplet.ANY_VALUE"/>

value
The value in the marker’s value property. You can set this parameter to NULL or omit it if the marker’s value property must be null.

Set this parameter to ANY_VALUE to indicate that the marker’s value value is irrelevant for your purposes. For example:

<dsp:param name="value" bean="OrderHasMarkerDroplet.ANY_VALUE"/>

data
The value in the marker’s data property. You can set this parameter to NULL or omit it if the marker’s data property must be null.

Set this parameter to ANY_VALUE to indicate that the marker’s data value is irrelevant for your purposes. For example:

<dsp:param name="data" bean="OrderHasMarkerDroplet.ANY_VALUE"/>

extendedProperties
A map that specifies any additional marker properties (set to the map’s key) and property values (set to the map’s value) that must exist on the marker that is retrieved.

markerPropertyName
The property on the order whose markers are to be removed. If omitted, the servlet bean uses the default value specified in its defaultMarkerPropertyName property.

Output Parameters

markerCount
Contains the number of markers removed by this servlet bean’s execution.

errorMsg
Contains any error messages generated during the servlet bean’s execution.

Open Parameters

output
Rendered when all markers are removed from the item.

error
Rendered when an error occurred during servlet bean execution.


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