September 2017
Intermediate to advanced
408 pages
9h 25m
English
The g:dialog_buttons_ok_cancel tag can be used to show the Submit or Cancel button in a UI page. When it is specified inside the block of a g:ui_form tag in a UI page, it can submit the form and execute the processing script defined in the UI page. Either the ok or cancel attribute must be set, and it must be an expression that evaluates to a Boolean value:
<g:ui_form> <p>Click OK to run the processing script.</p> <g:dialog_buttons_ok_cancel ok="return true"/> <input type="hidden" name="application_sys_id" value="499836460a0a0b1700003e7ad950b5da"/> </g:ui_form>
Read now
Unlock full access