Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-15 Thread LSomefun
Thanks Martins for your help. The reason which I am not absolutely sure,
there was a conflict on using both  and using
JavaScriptHeadItem 

--
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



Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread Martin Terra
Then you could try to debug it using browser developer tools (inspect
element, debugger etc.).

Usually there is an issue like conflicting js or missing dependencies
(throws exception on js), or something along those lines. Also could be
that dependencies are injected in wrong order, or you might accidentally
override some default js you are normally providing.

I would maybe start by taking a diff between a browser page
(source) without the change and a browser page (source) with the change,
maybe it will point you to some direction.

**
Martin

ti 14. huhtik. 2020 klo 7.05 LSomefun (oyesomefunla...@gmail.com) kirjoitti:

> No notification on console/browser log.
>
> --
> 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
>
>


Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread LSomefun
No notification on console/browser log.

--
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



Re: setHeaderResponseDecorator cause problem logging into my app

2020-04-13 Thread Martin Terra
Did you check both console log and browser (developer tools) logs?

**
Martin

ma 13. huhtik. 2020 klo 19.56 LSomefun (oyesomefunla...@gmail.com)
kirjoitti:

> I am having problem with inserting JavaScript into a Html body tag. Once I
> use the following code as shown in the tutorial into my
> AuthenticatedWebapplication, I can no longer login to my application.
>
> setHeaderResponseDecorator(response -> {
> return new ResourceAggregator(new
> JavaScriptFilteredIntoFooterHeaderResponse(response, "footercontainer"));
> });
>
> Once I remove the above codes. I am able to log in. The weird thing
> noticed,
> there is no error messages, nothing my log. I am on Wicket 8.7.0.
>
>
> --
> 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
>
>