Other than the obvious of using something like a scope variable in a panel's computed rendered property, is there some other way to hide a panel?
Something like getCompoent("panel1").hide()
which I tried but did not appear to work,
The correct method is getComponent("id").setRendered(false). You can show it again via getComponent("id").setRendered(true).