Hi
In a Screen
, when reacting to AfterCommitChangesEvent
it would be useful to know if the screen is about to close - i.e we are in commitAndClose()
or closeWithCommit()
.
In my project screen I have an “History” tab displaying EntityLogItem
entries, the screen uses extendedEditWindowActions
so with Save button (w/out closing), and OK button (save then close).
On Save, I would like to reload history items in order to reflect changes in History tab after commit. On OK, I don’t bother if the screen is closing. On Cancel I don’t bother of course.
This could be a simple boolean in AfterCommitChangesEvent
, e.g “screenClosing”.
Regards
Michael