BEFORE DISPLAY / BEFORE ROW execution order
Genero BDL scenarios define whether the BEFORE DISPLAY
or BEFORE
ROW
block is executed first.
When starting a DISPLAY ARRAY
dialog with Four Js Business Development Suite
(BDS), the BEFORE ROW
control
block is executed first, then BEFORE
DISPLAY
is executed.
This is not logical: The BEFORE DISPLAY
block is typically used to do some
initializations. Therefore, it should be executed before any other dialog trigger.
With Genero BDL, when a singular DISPLAY ARRAY
dialog starts, the BEFORE
DISPLAY
block is executed first, then the BEFORE ROW
block is executed. In
a DISPLAY ARRAY
subdialog of a DIALOG
instruction, the
BEFORE DISPLAY
is executed when the list gets the focus, then BEFORE
ROW
is executed.