How about:

@Override
    public Session newSession(final Request request, final Response response) {         final AuthenticatedSession session = (AuthenticatedSession) super.newSession(request, response);
        Injector.get().inject(session);
        return session;
    }


in WicketApplication?

For us, without this code, @SpringBean didn't work in session.

Maybe  it's a bug, maybe by design ;)


W dniu 2018-04-10 o 13:54, Martin Grigorov pisze:
Hi,

Is this a normal WAR deployment ?
Or Spring Boot self-executable ?
Or something else ...

On Tue, Apr 10, 2018 at 2:46 PM, tomask79 <tomas.klou...@embedit.cz> wrote:

question edited.

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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to