RE: Wicket session in a Resource

2013-12-16 Thread Stijn de Witt
gorov [mailto:mgrigo...@apache.org] Sent: vrijdag 13 december 2013 11:21 To: users@wicket.apache.org Cc: Coen Wouters Subject: Re: Wicket session in a Resource Hi, Using IResource instead of a WebPage for JSON response is better. Using Session.get() in IResource is OK. Actually IResource is something

Re: Wicket session in a Resource

2013-12-13 Thread Martin Grigorov
Hi, Using IResource instead of a WebPage for JSON response is better. Using Session.get() in IResource is OK. Actually IResource is something very similar to normal Servlet. The benefit is that you have access to the Application, the Session and a RequestCycle. As WICKET-5012 states there is no a