Class Name |
|
---|---|
Component |
|
This servlet bean checks whether the order has reached a specified stage in the shopping process. It is an instance of HasBusinessProcessStage
with the businessProcessName
property set to ShoppingProcess
.
Input Parameters
businessProcessName
The name of the business process. If not specified, then we use the value of the servlet bean’s defaultBusinessProcessName
property, which is ShoppingProcess
by default.
businessProcessStage (Required)
The stage within the business process. If you use the token value !_anyvalue_!
, then the servlet renders the true
open parameter if any business process stage has been reached.
Output Parameters
errorMsg
The error message describing a failure.
Open Parameters
true
Rendered if the stage has been reached.
false
Rendered if the stage has not been reached.
error
Rendered on error.
Example
<dsp:droplet name="HasShoppingProcessStageDroplet"> <dsp:param name="businessProcessStage" value="ShippingPriceViewed"/> <dsp:oparam name="true"> ... </dsp:oparam> <dsp:oparam name="false"> ... </dsp:oparam> </dsp:droplet>