Ajax Action
a4j:ajax
a4j:commandButton
a4j:commandLink
a4j:actionListener
a4j:jsFunction
a4j:poll
a4j:push
a4j:param
Ajax Queue
a4j:queue
a4j:attachQueue
Ajax Output/Containers
a4j:outputPanel
a4j:status
a4j:region
a4j:mediaOutput
a4j:log
Validation
Client Side Validation
rich:graphValidator
rich:message
rich:messages
rich:notify
Data Iteration
a4j:repeat
rich:dataTable
rich:extendedDataTable
rich:collapsibleSubTable
rich:dataScroller
rich:list
rich:dataGrid
Trees
rich:tree
Tree Adaptors
Output/Panels
rich:chart
rich:panel
rich:togglePanel
rich:tabPanel
rich:collapsiblePanel
rich:accordion
rich:popupPanel
rich:progressBar
rich:tooltip
Menus
rich:panelMenu
rich:toolbar
rich:contextMenu
rich:dropDownMenu
Inputs
rich:autocomplete
rich:calendar
rich:editor
rich:inputNumberSlider
rich:inputNumberSpinner
rich:inplaceInput
rich:fileUpload
Selects
rich:inplaceSelect
rich:select
rich:orderingList
rich:pickList
Drag and Drop
Drag and Drop
Miscellaneous
Standard elements skinning
rich:placeholder
RichFaces functions
rich:focus
rich:componentControl
rich:hashParam
rich:hotKey
rich:jQuery

The rich:collapsiblePanel component is fully analogous to a simple rich:panel component. Except that it can be collapsed, and expanded. In the collapsed state only the header is shown and in expanded state the complete panel.

As with most of switchable components it has three switch types for switching between states - ajax, server and client. See the rich:togglePanel for details.

Here is simple panel in client mode:

Overview
Overview
rf RichFaces is a component library for JSF and an advanced framework for easily integrating AJAX capabilities into business applications.
  • 100+ AJAX enabled components in two libraries
  • a4j: page centric AJAX controls
  • rich: self contained, ready to use components
  • Whole set of JSF benefits while working with AJAX
  • Skinnability mechanism
  • Component Development Kit (CDK)
  • Dynamic resources handling
  • Testing facilities for components, actions, listeners, and pages
  • Broad cross-browser support
  • Large and active community

And that panel switched by ajax and closed by default:

JSF 2 and RichFaces 4
JSF 2 and RichFaces 4

Note: In ajax and server modes the PanelToggleEvent is queued and can be handled using a Listener defined via the toggleListener attribute