Guys, thanks a lot for replies.

@Kamil:

"For us, without this code, @SpringBean didn't work in session. Maybe  it's
a bug"

It's not a bug, @SpringBean annotation works only in components. 
When not running inside component, like in WebSession, you have to Inject
manually
via Injector. This is normal behaviour. We do have newSession overriden in
WebApplication, similary like you do, including Injector call.

To me this looks like a more problem in the Weblogic env. Perhaps different
classloader is used for serialization test...I just wanted to check Wicket
forum if anybody else has been facing something like that.







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