|
|
MvComponentOpenView Method (String, String, MvValue, MvValue, Int32, Boolean) |
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
public void OpenView( string objId, string viewId, MvValue[] params, MvValue[] ackParams, int index, bool force )
Parameters
- objId
- Type: SystemString
The object identifier. - viewId
- Type: SystemString
The view identifier. - params
- Type: RW.Server.ComponentMvValue
If the view opens successfully, these values are used to initialize the dynamic view parameters as they are declared in the view specification file: the first value in the array is assigned to the first view parameter, the second value to the second view parameter, and so forth. - ackParams
- Type: RW.Server.ComponentMvValue
The MvValue objects that will be sent to the AckOpenView(MvValue) method. It can be null. - index
- Type: SystemInt32
The index in the ackParams array that will contain the status of the opening view encapsulated in an MvValue whose type is Character. - force
- Type: SystemBoolean
If set to true, this parameter requires to force the opening of a view that was previously opened by the component. If this parameter is set to false and the view has already been opened by the component, the view is not duplicated, but the SetSelection method is called on the representation associated with this view.
Category: Component Actions on the server..
This function is identical to the other OpenView() method except that Rogue Wave Server executes a call to the component method AckOpenView() during the acknowledgement or rollback of the transaction that includes the call to OpenView().
In case of success, the CreateRepresentation event is triggered by Rogue Wave Server just after the Representation has been created.
This event contains the same argument values than AckOpenView().
But while AckOpenView(MvValue) is called on the component during the acknowledgement/rollback of the transaction, CreateRepresentation is triggered during the notification phase.