Ilya Shaikovsky (Exadel) blogged about how to make a rich:modalPane to be non-modal.
If you are on Linux like me, you have to add this right after the rich:modalPanel:
...
removeTabHandlingFromPanel(#{rich:component('mp')});
function removeTabHandlingFromPanel(modalPanelComponent){
modalPanelComponent.lastOnfocus = function(event){};
modalPanelComponent.firstOnfocus = function(event){};
modalPanelComponent.processAllFocusElements = function(event){};
modalPanelComponent.processTabindexes = function(event){};
modalPanelComponent.restoreTabindexes = function(event){};
modalPanelComponent.preventFocus = function(event){};
modalPanelComponent.restoreFocus = function(event){};
}
Leave a reply to raghab Cancel reply