Re: setHeaderResponseDecorator and setGatherExtendedBrowserInfo(true)

2019-04-24 Thread Martin Grigorov
On Wed, Apr 24, 2019 at 3:48 PM Olivier Dutrieux < olivier.dutri...@pasteur.fr> wrote: > Hello, > > I have define on application.init() the setHeaderResponseDecorator (to > deferred all javascript to the end of the page) and set > setGatherExtendedBrowserInfo to true to retrieve some informations

Re: setHeaderResponseDecorator and setGatherExtendedBrowserInfo(true)

2019-04-24 Thread Francois Meillet
In the application.init() add the following line : getResourceBundles().add(YourApplication.class, new JavaScriptResourceReference(BrowserInfoForm.class, "wicket-browser-info.js")); YourApplication.class is the {@linkplain ResourceReference#getScope() scope} of your bundle François > Le

setHeaderResponseDecorator and setGatherExtendedBrowserInfo(true)

2019-04-24 Thread Olivier Dutrieux
Hello, I have define on application.init() the setHeaderResponseDecorator (to deferred all javascript to the end of the page) and set setGatherExtendedBrowserInfo to true to retrieve some informations from browser. The problem is when the BrowserInfoPage is render no js is add to the page