Server-side BehaviorController component
The server-side BehaviorController component
is an XML file with mashup reference definition.
The following table describes the elements of the server-side
BehaviorController component.
| Server-side BehaviorController component elements | Description |
|---|---|
| className | Provides logic to run mashups and security component
for mashup references. By default, the value is set to |
| controllerId | A unique identifier for a controller. By default,
the value is set to screenId+InitController. |
| requestMethodSupported | Provides support for HTTP method.
The default value is set to POST. |
| screenId | The screen identifier. |
| MashupRef/mashupId | Indicates the identifier of the mashup for which this reference is created. |
| MashupRef/mashupRefId | Indicates the unique identifier within a controller. |
| MashupRef/permissionId | Indicates the permission identifier to verify the mashup before you call the mashup. |
The following example provides a sample server-side
BehaviorController XML
file:<?xml version="1.0" encoding="UTF-8"?>
<Controller
className="com.sterlingcommerce.ui.web.platform.controller.SCUIXAPIMashupController"
controllerId="isccs.order.details.OrderLineSummaryLinesBehaviorController"
requestMethodSupported="POST" screenId="isccs.order.details.OrderLineSummaryLines">
<MashupRefs>
<MashupRef
mashupId="OrderLineSummaryLines_getCompleteOrderLineList"
mashupRefId="getCompleteOrderLineList" permissionId=""/>
</MashupRefs>
</Controller>