1 Reply Latest reply on Mar 20, 2009 6:04 AM by joe.marques

    override marker class for each simpleTogglePanel on the page

      This post is related to: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4085791#4085791

      And also to: https://jira.jboss.org/jira/browse/RF-962

      I'm on 3.3.0.GA and currently using the "rich-stglpanel-marker" as an inline style class override on the pages where I want left-aligned open/close markers.

      However, I now have a use-case where I need to have one simpleTogglePanel have one open/close marker floated to the left, while /all/ of the other simpleTogglePanels on the same facelet need to be floated to the right (the default).

      Today, I see that you can set several classes on the togglePanel:

      setStyle(String)
      setHeaderStyle(String)
      setBodyStyle(String)

      This allows overriding the styles on a panel-by-panel basis, but it doesn't deal with the market itself. Would it be possible to add another one:

      setMarkerStyle(String)

      This would then allow overriding the marker style on a panel-by-panel basis too. In the meantime, can you think of any way (css tricks?) for how I could achieve individual overrides using 3.3.0.GA?