You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Markus Krischke (JIRA)" <ji...@apache.org> on 2012/09/03 17:22:07 UTC

[jira] [Created] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

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

[jira] [Commented] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447364#comment-13447364 ] 

Peter Ertl commented on WICKET-4745:
------------------------------------

fixed for next release of 1.5 and 6.0

added additional constructor 

   public DebugBar(final String id, boolean initiallyExpanded)

to specify the initial state (expanded / collapsed) of the debug bar.
                
> 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

[jira] [Resolved] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-4745:
-------------------------------

    Fix Version/s:     (was: 6.0.1)
                   6.1.0
    
> 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

[jira] [Updated] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-4745:
-------------------------------

          Component/s: wicket-devutils
    Affects Version/s: 1.5.8
                       6.0.0
    
> 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
>
> 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

[jira] [Commented] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454618#comment-13454618 ] 

Andreas Pieber commented on WICKET-4745:
----------------------------------------

btw, a minor comment here: I think the fix version 6.0.1 is not correct. It should rather be 6.1.0 according to semver.org since it's a new feature/enhancement instead of a simple bug fix.
                
> 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

[jira] [Assigned] (WICKET-4745) Allow to set initial state of DebugBar to expanded / collapsed

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl reassigned WICKET-4745:
----------------------------------

    Assignee: Peter Ertl
    
> 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
>
> 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