How to hide p:panel on CommandButton click
问题 I wanted to achieve what is written here - How to hide and show p:panel on commandbutton click but it seems, that hide() is not available anymore... What's the proper approach? I tried toggle() , but it's not hiding it: Do I really have to have some panelVisibile property on backing bean and use visible=#{.panelVisible} ? I'm trying with PrimeFaces 7.0. Project is based on https://github.com/Betlista/joinfaces-maven-jar-example index.xhtml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html