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

    call Richfaces.hideModalPanel from iframe

    John Newbie

      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,