ace:panel - Overview

The <ace:panel> component is a generic layout container that supports customizable header / footers, accordion toggling, open and close popup features as well as embedded menu operations. In the example below, the panel collapse can be viewed by clicking on the “x” icon at the top of the panel. Once the panel is collapsed, a button will appear to reopen the panel. Likewise the panel can be minimized by pressing the “-“ icon in the panel header. Pressing the gear icon in the panel header illustrates the embedded menu feature of the component. Note that the menu commands have been intentionally disabled for this demo

ICEfaces Header
ICEfaces 2 is an open-source Rich Internet Application (RIA) development framework based on the JavaServer Faces (JSF) 2 standard. Like its predecessor, ICEfaces 1.8, ICEfaces 2 extends JSF to simplify development and enhance the standard JSF feature set - simultaneously improving developer efficiency and expanding the spectrum of RIA capabilities that can be included in any JSF-based web application.
Adhering closely to the standard JSF 2 extension points allows ICEfaces to work transparently with the stock JSF framework, simplifying integration and fostering 3rd party compatibility with other JSF 2-compliant libraries.
Source Code