2 Replies Latest reply on Jul 29, 2009 1:24 PM by johnarevalo

    call Richfaces.hideModalPanel from iframe

    johnarevalo

      Hi all,

      in a ModalPanel i'm display an iFrame, when user finish request on iFrame i need to close the modal panel. I've tried with Javascript:

      top.Richfaces.hideModalPanel('activarModalPanel');
      


      But firefox Error console shows:

      Permission Denied for [URL_IFRAME] to get Property Window.RichFaces

      How can i close ModalPanel with Iframe event?

      Best regards,