Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4745

Allow to set initial state of DebugBar to expanded / collapsed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.8, 6.0.0
    • 6.1.0, 1.5.9
    • wicket-devutils
    • None
    • Wicket 1.5

    Description

      The current implementation of DebugBar initially loads in expanded state and can be collapsed by clicking on it.

      If possible I would like to be able to set the initial state of the DebugBar from code.

      Right now I'm using

      @Override
      public void renderHead(final IHeaderResponse response) {
      super.renderHead(response);
      response.renderOnLoadJavaScript("wicketDebugBarCollapse();");
      }

      as a workaround.

      Attachments

        Activity

          People

            pete Peter Ertl
            markus.k Markus Krischke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: