[ 
https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Ertl resolved WICKET-4745.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.9
                   6.0.1
    
> 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.0.1, 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

Reply via email to