Callbacks
 
Callbacks
The following callbacks can be used in the Rogue Wave® Server Studio, a predefined environment for Server/Views integration, to associate a special behavior with gadgets.
*@CloseRepres
*@DestroyObject
*@IlsBeginTransaction
*@IlsCommitTransaction
*@IlsRollbackTransaction
*@IlsRpCallback
*OpenViewCallback
@CloseRepres
This callback causes the current representation to be closed. The behavior of this callback is undefined if there is more than one representation in the panel.
See Also 
IlsSwRepresentation
@DestroyObject
This callback causes the underlying instance of IlsRpObject to be destroyed by calling the method IlsRpObject::onSuppress.
See Also 
IlsRpObject
@IlsBeginTransaction
This callback causes the function IlsRepresentation::beginC2STransaction to be called on the IlsSwRepresentation object.
See Also 
IlsSwRepresentation
@IlsCommitTransaction
This callback causes the function IlsRepresentation::commitC2STransaction to be called on the current IlsSwRepresentation object.
See Also 
IlsSwRepresentation
@IlsRollbackTransaction
This callback causes the function IlsRepresentation::rollbackC2STransaction
to be called on the current representation object.
See Also 
IlsMvComponent
@IlsRpCallback
The callback @IlsRpCallback:<function name> calls the function specified to be associated with the gadget. This function must be of type IlsExecCallback and must have been declared by calling the function IlsSwRepresentation::DeclareExecCallback.
See Also 
IlsSwExecCallbackType, IlsSwRepresentation
OpenViewCallback
This Rogue Wave Views callback can be set on a Server Data Source using the standard Rogue Wave Views mechanism (see the member function IlvGraphic::setCallback).
This callback is called by the virtual member function IlsSwServerDataSource::onOpenView when a new view is opened using this Server Data Source. This callback is called at the end of first notification for the representation, just after the callback that may have been installed when opening the view using openSwView.
See the member function IlsSwComponent::openSwView for details.
See Also 
IlsSwComponent, IlsSwServerDataSource
 

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.