could you please check the fireBug Net tab to see the resources requested and loaded?
Thanks for your reply.
Firebug shows me that the skin and the changed style class was loaded correctly. Maybe the following information is helpful to find the reason:
When the JSP fragment is included initially, an additional xcss is loaded by the page and consequently rendered correctly. In my testcase this is the panelbar.xcss that is loaded by the panelbar.js.jsf script. This xcss contains the definitions for dr-pnlbar-h class.
When I include the JSP fragment dynamically this xcss file is not loaded and the style settings are not applied.
B.t.w. which RF version you using?
And try to specify
<context-param> <param-name>org.richfaces.LoadStyleStrategy</param-name> <param-value>ALL</param-value> </context-param>
This add. context parameter resolves the styling problem
RF version 3.3.0.GA