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 from
> browser.
>
> The problem is when the BrowserInfoPage is render no js is add to the page
> because the BrowserInfoPage  doesn't have the component
> HeaderResponseContainer to deferred the js.


> How can I solve this problem ?
>

You can provide your own version of BrowserInfoPage by overriding
WebSession#newBrowserInfoPage():
https://github.com/apache/wicket/blob/bd4c0c786aa810765d9e7f12a62a6fed56db2c62/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebSession.java#L109


>
> Duto
>
> -----
> Duto
> --
> Sent from:
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to