OrderHasMarker uses the marker manager to determine whether an order has a marker with the specified key, value, and data property values. In order to check whether an order has any markers, set all three parameters to ANY_VALUE.

Class Name

atg.commerce.markers.droplet.OrderHasMarker

Component

/atg/commerce/markers/droplet/OrderHasMarkerDroplet

Input Parameters

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"/>

order
The order to check for markers. If omitted, the active order is used.

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 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.

markerPropertyName
The property on the order to check for markers. If omitted, the servlet bean uses the default value specified in its defaultMarkerPropertyName property.

markedItemType
The type of RepositoryItem that has markers to work with. If omitted, the servlet bean uses the default value specified in its defaultMarkedItemType property.

Output Parameters

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

Open Parameters

error
Rendered when an error occurs during servlet bean execution.

true
Rendered when the order has a marker that matches the criteria you specify.

false
Rendered when the order does not have a marker that matches the criteria you specify.


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