It’s Friday so I figured why not post something very simple and easy. A few ways you can customize rich:simpleTogglePanel component:
<head> <style> .rich-stglpanel-marker {float: left} .rich-stglpanel-header {text-align: right} </style> </head> <body> <h:form> <rich:simpleTogglePanel switchType="client" width="250px" opened="false"> <f:facet name="header">RichFaces 3.3.0</f:facet> <f:facet name="openMarker">+</f:facet> <f:facet name="closeMarker">-</f:facet> RichFaces 3.3.0 is almost here. New components include rich:editor and a4j:queue </rich:simpleTogglePanel> </h:form> </body>


I’m using a slightly customized laguna skin (laguna2.skin.properties):
baseSkin=laguna generalSizeFont=20px headerSizeFont=20px
The file is placed in root of Java source.
web.xml file:
<context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>laguna2</param-value> </context-param>
Have a great weekend!