Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5.8, 6.0.0
-
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.