5 Replies Latest reply on Feb 24, 2012 8:18 AM by giant2

    A real modal popup

    giant2

      Hi all!

      I need to open a modal popup from a page button. I tried using <rich:modalPanel> and seems to go ok, but a new need raise out:

      When I open the popup, the structure of the popup must be created (because parameters are passed).

      If I use the modalPanel the popup is built before my click on the open-button.

      The only solution I could think for now is to use directly a javascript windows.open with target "_blank" specified. In this manner only everytime I click over the open-button the xhtml of the popup is called and create the "different" popup everytime (like the need).

       

      Any other ideas?