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

Allow to set initial state of DebugBar to expanded / collapsed

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.8, 6.0.0
    • Fix Version/s: 6.1.0, 1.5.9
    • Component/s: wicket-devutils
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: