I'm using a rich:simpleTogglePanel
and it puts these 3 css classes on the divs:
rich-stglpanel
rich-stglpanel-header
rich-stglpnl-marker
rich-stglpanel-body
Is there any way that I can remove those classes?
I'm using a rich:simpleTogglePanel
and it puts these 3 css classes on the divs:
rich-stglpanel
rich-stglpanel-header
rich-stglpnl-marker
rich-stglpanel-body
Is there any way that I can remove those classes?
Every Richfaces component comes with a set of CSS classes. These CSS classes are used to customize the aspect of your toggle panel (or any other RF component). The four CSS classes, as explained in the component guide, are indeed attached to the HTML components generated by the RF framework.
There are 2 solutions for you:
The second solution can be achieved easily with some jQuery script:
(this means once the page is loaded, find all elements with CSS class
rich-stglpanel
and remove this class).