2 Replies Latest reply on Aug 24, 2010 6:13 AM by Ilya Shaikovsky

    How to switch between modelPanels

    Bert Laverman Newbie

      I have an application that uses a modalPanel to offer a search dialog. One of the options there is a button to create a new entry rather than using one from the search results. For this I already have another modelPanel. I seem to be unable to find how to close the search panel and then open another.

       

      What is the correct way to do this?

       

      Bert Laverman

       

      PS

      why do I have 3 ways to close a modal?

      1)  #{rich:component('myModelPanel')}.hide()

      2) Richfaces.hideModalPanel('myModalPanel')

      3) using <rich:componentControl>