A A year ago I have shared a tip how to use the same mechanism for closing modal dialogs . Today, I would like to share few more tips about levaraging the Global page. When you have a button on page and the action behind is a bit slow or if you have users who are constantly double clicking on everything, you might want to disable clicked button. You can easily fix this with a simple dynamic action. But instead of repeating this DA on each button, you can define it on the Global page. The trick is to use the jQuery selector and CSS class on each of these buttons. So go to your Global page. Create DA called SUBMIT_AND_DISABLE_BUTTON on Click event. Set Selection Type to jQuery Selector Set value to "button.SUBMIT_DISABLE" Switch the default true action to Execute JavaScript code Define the action code: var button_id = this.triggeringElement.getAttribute('id'); console.log('SUBMIT_AND_DISABLE_BUTTON:', button_id, this); docum...
Mainly APEX, sometimes SQL, PL/SQL, clean code and certifications