AW: Is there a way to close the tr:panelPopup component

2010-03-22 Thread Eisenträger , Tobias
Hello Andrew, Thank you fort that great Tip. But what is he content ID? Thanks, Toby -Ursprüngliche Nachricht- Von: Andrew Robinson [mailto:andrew.rw.robin...@gmail.com] Gesendet: Montag, 8. März 2010 17:59 An: MyFaces Discussion Betreff: Re: Is there a way to close the

AW: Is there a way to close the tr:panelPopup component

2010-03-22 Thread Eisenträger , Tobias
Ok, here is the solution for closing the popup when a dialog opens/PPR: // First we need the hook after the PPR TrPage.getInstance().getRequestQueue().addStateChangeListener(pprCallback); /* Trinidad changeListener * After the PPR from trinidad, this method is called. */ function

AW: Is there a way to close the tr:panelPopup component

2010-03-22 Thread Eisenträger , Tobias
It actually is way easier if you just want to close all open popups ;-) The popup menue closes if you click anywhere outside of it, so placing a hidden button somewhere in the layout and use javascript to click it works like a charm. If you use a button, click() works at least in IE7 and FF3.6.