Markus Krischke created WICKET-4745:
---------------------------------------
Summary: 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
Environment: Wicket 1.5
Reporter: Markus Krischke
Priority: Minor
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