Github user solomax commented on a diff in the pull request: https://github.com/apache/wicket/pull/258#discussion_r164029616 --- Diff: wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxApplication.java --- @@ -44,6 +46,11 @@ protected void init() getDebugSettings().setAjaxDebugModeEnabled(true); + setHeaderResponseDecorator(response -> { --- End diff -- this can be simplified to be ``` tester.getApplication().setHeaderResponseDecorator(response -> new ResourceAggregator(new JavaScriptDeferHeaderResponse(response))); ```
---