[ 
https://issues.apache.org/jira/browse/WICKET-5914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587958#comment-14587958
 ] 

ASF subversion and git services commented on WICKET-5914:
---------------------------------------------------------

Commit eae47a681ba6bb2b26331904e7299613fb388d60 in wicket's branch 
refs/heads/master from [~pulse00]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=eae47a6 ]

[WICKET-5914] added userData map to request logger


> DevUtils enhancements
> ---------------------
>
>                 Key: WICKET-5914
>                 URL: https://issues.apache.org/jira/browse/WICKET-5914
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-devutils
>    Affects Versions: 7.0.0-M6
>            Reporter: Robert Gründler
>            Priority: Minor
>         Attachments: symfony_debug_toolbar.png, symfony_profiler.png, 
> symfony_timeline.png
>
>
> I'd like to propose an improvement of the DevUtils module. Currently, using 
> IDebugBarContributor, it's not possible to collect data during each request 
> and make it available on a DevUtilsPage.
> Here's an example: Let's say you wanted to implement a Contributor that shows 
> the number of SQL queries issued during each request in the DebugBar, and a 
> list of detailed SQL queries on the linked DevUtilsPage.
> This is currently not possible due to the following reasons:
> 1. You don't have access to the current RequestData object through the 
> IRequestLogger interface
> 2. The RequestData class does not allow to store user data (in this case the 
> SQL queries)
> Therefore, i'd like to propose a patch that addresses the 2 issues above. 
> This could look something like this: 
> https://github.com/pulse00/wicket/commit/b3c52a777847ac71f86a527710f62d487c2621a3
>  (note that this is just a draft).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to