Server-side InitController component
The server-side InitController component
is an XML file with mashup reference definition.
The following table describes the elements of the server-side
InitController component.| Server-side InitController 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. |
| Group Element/isAggregator | Set the value of this element to Y to
aggregate the mashup calls for InitController. |
| MashupRef/mashupId | Indicates the identifier of the mashup for which this reference is created. |
| MashupRef/mashupRefId | Indicates the unique identifier within a controller. |
| permissionId | Indicates the permission identifier to verify the mashup before you call the mashup. |
| ChildController/controllerId | Indicates the Initcontroller identifier
for all the child screens. The |
| ChildController/screenId | Indicates the screen identifier of a child screen. |
The following example provides a sample InitController XML
file:
<Controller
className="com.sterlingcommerce.ui.web.platform.controller.SCUIXAPIMashupController"
controllerId="wsc.shipment.customerpickup.CustomerIdentificationInitController"
requestMethodSupported="POST" screenId="wsc.shipment.customerpickup.CustomerIdentification">
<Group isAggregator="Y"/>
<MashupRefs>
<MashupRef mashupId="common_getCustomerVerificationMethodList"
mashupRefId="getCustomerVerificationMethodList" permissionId=""/>
<MashupRef mashupId="customerpickup_getSortedShipmentDetails"
mashupRefId="getCustomerPickSortedShipmentDetails" permissionId=""/>
</MashupRefs>
<ChildControllers>
<ChildController
controllerId="wsc.shipment.customerpickup.PickOrderDetailsInitController"
screenId="wsc.shipment.customerpickup.PickOrderDetails"/>
</ChildControllers>
</Controller>