Gives you access to contextual information in an event handler. For example, the name of a created company or the amount of a sale.
Gives you access to contextual information in an event handler. For example, the name of a created company or the amount of a sale.You can also check EventData properties after the event handler has run, to for example display a message or prevent an entity from being saved.
Constructors
EventData()
EventData
Initializes a new instance of the EventData class.
Methods
getBlockExecution()
Checks whether the current event action has been blocked.
A shorthand for calling setBlockExecution(true) and setMessage(message).It allows you to block a save and set a response message in a single function call.
EventData ed = getEventData();EventDataDialogDefinition dialog;dialog.setTitle("My dialog title");dialog.setType("okcancel");dialog.setIcon("info");dialog.setWidth(200);dialog.setHeight(200);dialog.setPrefix("step1_");dialog.setText("My body text");ed.showDialog(dialog);