I'm having some difficulty with the simpleTogglePanel component. It renders and works, but doesn't render with any skinning or style attributes.
Here is my page code:
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:view>
<head>
<style>
.rich-stglpanel-marker {float: left}
</style>
</head>
<body>
<h:form>
<rich:simpleTogglePanel width="450px" switchType="ajax">
<f:facet name="header">Test Panel</f:facet>
Panel content goes here...
</rich:simpleTogglePanel>
</h:form>
</body>
</f:view><context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>blueSky</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping>
check requests for resources in firebug.