4 Replies Latest reply on Jun 16, 2009 7:12 PM by Matt Choate

    modalPanel Question

    Matt Choate Newbie

      Hello,

      I have a JSF page where I want to show a modal panel/window that has a form in it to create a new entity in our system. I can do this no problem if I create a modal panel that has the form in it and hook it up to a button to show/hide. The problem is I don't want the content of the modal panel form to be rendered (due to the amount data it loads) until the use selects to create a new entity. I can do this with some JS and the modal panel that contains an iframe. This is where the problems begin. I would like to use this pattern across our site and make it easy for developers to create a link that shows a modal panel that contains another JSF page. Is there a recommended / clean way to do this with RichFaces and JSF?

      -matt