public void rebuild() { // destroy all of the portlets and recreate from scratch portalLayout.removeFromParent(); portalLayout.destroy(); portalLayout = null; buildPortlets(); }