>> I'm trying to think of any resources we have mounted that *do* need a >> session. I'm pretty sure they're all static package resources. >> >> Does Wicket itself mount non static references that would be mounted at >> /wicket/resource ? > >Wicket doesn't mount anything by itself. Your code initiates such mounting.
I realize the mounts Wicket makes are side effects of a developer adding things like Ajax links etc., What I'm wondering is if any of these side effects could mount a non static resource at /wicket/resource or would that only occur if the developer explicitly mounted non static resources. > >> >>>-----Original Message----- >>>From: Martin Grigorov [mailto:mgrigo...@apache.org] >>>Sent: Tuesday, 17 January 2012 7:20 AM >>>To: users@wicket.apache.org >>>Subject: Re: Javascript resources and jsessionid >>> >>>Another approach is to mount explicitly all your resources which you >>>think need the session. >>>This way you can exclude /wicket/resource/... in your filter. >>> >>>On Mon, Jan 16, 2012 at 9:18 PM, Martin Grigorov <mgrigo...@apache.org> >>>wrote: >>>> See >>>org.apache.wicket.request.mapper.BasicResourceReferenceMapper#mapHand le >> r >>>> >>>> All IStaticCacheableResource are passed to >>>> >>>org.apache.wicket.request.resource.caching.IResourceCachingStrategy#d ec >> orat >>>eUrl. >>>> There you can tag them as you wish. >>>> >>>> On Mon, Jan 16, 2012 at 9:09 PM, Chris Colman >>>> <chr...@stepaheadsoftware.com> wrote: >>>>> JIRI issue 4334 has fixed this now which is great. >>>>> >>>>> The next issue is that while Wicket is able to avoid establishing a >>>>> session for requests for package resources it would be good if their >> URL >>>>> made it easy for other filters (eg., Open Persistence Provider in >> View) >>>>> to also ignore them to allow them to avoid establishing a session >> also. >>>>> >>>>> If IStaticCacheableResource resources had a distinctive mount path >> we >>>>> could easily configure filters to ignore them. >>>>> >>>>> For example if all IStaticCacheableResourceS were mounted under: >>>>> >>>>> /wicket/resource/static >>>>> >>>>> we could easily configure third party filters to ignore them. >>>>> >>>>> >> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Martin Grigorov >>>> jWeekend >>>> Training, Consulting, Development >>>> http://jWeekend.com >>> >>> >>> >>>-- >>>Martin Grigorov >>>jWeekend >>>Training, Consulting, Development >>>http://jWeekend.com >>> >>>--------------------------------------------------------------------- >>>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 >> > > > >-- >Martin Grigorov >jWeekend >Training, Consulting, Development >http://jWeekend.com > >--------------------------------------------------------------------- >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