collapsiblePanel works fine in 4.3.5.Final. Did you copy&paste this code snippet? If yes, you need to change it slightly for the collapsiblePanel to work:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich">
<rich:collapsiblePanel header="Overview" switchType="client">
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<b>And that panel switched by ajax and closed by default:</b>
<rich:collapsiblePanel header="JSF 2 and RichFaces 4" expanded="false" switchType="client">
<p>We are working hard on RichFaces 4.0 which will have full JSF 2 integration. That is not all though, here is
a summary of updates and features:</p>
Thank you so much Pavol. It works like a charm now. Yes I copy pasted this code from the showcase website.
On another note, I was trying to customize the font of the collapsiblePanel header. I see a property called "headerClass" but somehow I am not able to make it work. Here is the code:
<rich:collapsiblePanel header="Client Info" switchType="client" headerExpandedClass="panelHeaderClass">
and here is the declaration for the class:
Could you please help me ? Looks like I am missing something again.
You do it correctly, however, it doesn't work as expected because your class is always overwritten by RichFaces CSS classes.
This should help: