On Mon, Jan 16, 2012 at 9:25 PM, Chris Colman
<chr...@stepaheadsoftware.com> wrote:
> 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.

>
>>-----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#mapHandle
> r
>>>
>>> All IStaticCacheableResource are passed to
>>>
>>org.apache.wicket.request.resource.caching.IResourceCachingStrategy#dec
> 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

Reply via email to