operation detach
Defines the component behavior when a contained DSP component instance is detached from the parent DSP.
operation detach {scopeBlock} {variablesBlock} Your code here ... end
Use
Dynamic Server Pages only.
Description
The Detach operation can only be defined for a contained DSP component.
DSPs that are contained in another DSP by means of the DspContainer widget are attached to the parent DSP when the component instance name is assigned to the DspContainer field.
An attached component can be detached by assigning another DSP instance name or an empty string to the value of a DspContainer field. A detached component instance stays in the web browser memory until it is removed.
By defining a Detach operation, you can control what happens after an attached component is detached.
Although you can define scope and variables in an Detach operation, you cannot define parameters.