Hi.
Thank you a lot for answering.
Your suggestion helped me in solving the problem .
I also had to add an injection call in the WicketApplication getter, as
follows:
public static WicketApplication get() {
Application application = Application.get();
Injector.get().inject(application);
return (WicketApplication) application;
}
Without it, the getter kept on returning null.
Now I can easily access Session and Session factories without problem.
Once again thank you for your quick answer.
You help is much appreciated.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Issue-with-REST-Sessions-in-Wicket-Shiro-Hibernate-tp4673417p4673439.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]