[
https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454821#comment-13454821
]
Peter Ertl commented on WICKET-4745:
------------------------------------
true :-)
I changed it.
> Allow to set initial state of DebugBar to expanded / collapsed
> --------------------------------------------------------------
>
> Key: WICKET-4745
> URL: https://issues.apache.org/jira/browse/WICKET-4745
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-devutils
> Affects Versions: 1.5.8, 6.0.0
> Environment: Wicket 1.5
> Reporter: Markus Krischke
> Assignee: Peter Ertl
> Priority: Minor
> Fix For: 6.1.0, 1.5.9
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira