PDA

View Full Version : Replace top component



buzzterrier
23 Feb 2009, 10:27 AM
I have a content panel which has setTopComponent(partHeadingPanel). How do I swap partHeadingPanel with fooPanel after the page has been rendered? If I do setTopComponent(fooPanel) I get:
java.lang.AssertionError: Method must be called before the component is rendered