package com.icefaces.support.example; import javax.faces.event.ActionEvent; public class TestBean { private boolean visible = false; public boolean isVisible() { return visible; } public void setVisible(boolean visible) { this.visible = visible; } public void show(ActionEvent event){ this.setVisible(true); } public void hide(ActionEvent event){ this.setVisible(false); } }