传统平台

服务器端 BehaviorController 组件

服务器端 BehaviorController 组件是具有聚合引用定义的 XML 文件。

下表描述了服务器端 BehaviorController 组件的元素。
表 1. 服务器端 behaviorController 组件元素

下表提供了服务器端 behaviorController 组件元素列表。

服务器端 BehaviorController 组件元素 描述
className 提供用于运行聚合引用的聚合和安全组件的逻辑。 缺省情况下,该值设置为
com.sterlingcommerce.ui.web.platform.
controller.SCUIXAPIMashupController
controllerId 控制器的唯一标识。 缺省情况下,该值设置为 screenId+InitController
requestMethodSupported 提供对 HTTP 方法的支持。 缺省值设置为 POST
screenId 屏幕标识。
MashupRef/mashupId 指示为其创建此引用的聚合的标识。
MashupRef/mashupRefId 指示控制器中的唯一标识。
MashupRef/permissionId 指示在调用聚合之前用于验证聚合的许可权标识。
以下示例提供了样本服务器端 BehaviorController XML 文件:
<?xml version="1.0" encoding="UTF-8"?>
<Controller
    className="com.sterlingcommerce.ui.web.platform.controller.SCUIXAPIMashupController"
    controllerId="wsc.shipment.customerpickup.SummaryBehaviorController"
    requestMethodSupported="POST" screenId="wsc.shipment.customerpickup.Summary">
    <MashupRefs>
        <MashupRef callSequence="10"
            mashupId="customerpickup_recordCustomerPick"
            mashupRefId="recordCustomerPick" permissionId=""/>
    </MashupRefs>
</Controller>