OpenWGA 7.6 - TMLScript reference
Object:
HDBModelEvent
Description |
The HDBModelEvent is passed to HDBModel event scripts to provide context information and offer event-specific functionality. All properties of the operation that were not passed by the calling code may return null in this case. |
||||||||||||||||
Retrieval |
Passed as single parameter object to HDBModel event script functions |
||||||||||||||||
Properties and methods |
|
||||||||||||||||
Examples |
A HDBModel event script uses the HDBModel event object (received under name "e") to cancel the event in case that no custom param is passed. this.preCreate = function(e) { if (e.customParam == null) { e.cancel("A custom parameter must be given to create this content class"); } } |