I have looked at the ModalWindow javadoc,  searched through Nabble, and tried 
several different approaches but I cannot do the following. 

I have a ModalWindow showing a Panel A.  This panel has a link that when 
selected, it is to show a ModalWindow with another Panel B.  Ideally, 
ModalWindow/Panel A should go away and a ModalWindow/Panel B should only be 
displayed.

I have tried to reuse the current ModalWindow and call through various 
combinations of setContent()/addOrReplaceComponent().  What results is that I 
have a ModalWindow showing Panel A and another ModalWindow showing Panel B.  I 
have even tried to Panel A.setVisible()/target.addComponent(modalWindow).

Does anyone know what I need to do to replace the content on a ModalWindow and 
only have one ModalWindow show?

Thanks in advance!

- Doug

Reply via email to