0 Replies Latest reply on Dec 9, 2010 11:49 AM by Chris Mathrusse

    Changing header text in rich:collapsiblePanel

    Chris Mathrusse Newbie

      I'm using RichFaces 4 M4 and I'm using the rich:collapsiblePanel. I want to change the header text when the panel is expanded and collapsed. For example; when the panel is expanded I'd like it to display 'Hide Details', and when it is collapsed I'd like it to display 'Show Details'.

       

      Is there some simple JavaScript that I can add to have this happen?

       

      Thanks for the help...