Re: mounting SharedResource with known parameters, i.e. MixedParamUrlCodingStrategy

2010-12-04 Thread Doug Leeper

Never mind...IndexedSharedResourceCodingStrategy is what I needed.

Missed that in my initial search.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/mounting-SharedResource-with-known-parameters-i-e-MixedParamUrlCodingStrategy-tp3071302p3072687.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



mounting SharedResource with known parameters, i.e. MixedParamUrlCodingStrategy

2010-12-03 Thread Doug Leeper
We are currently serving our photos from the following URL:


 http://mydomain.com/base/resources/app/photo?bid=53060cid=22288

However we would like the URL to be:

 http://mydomain.com/base/resources/app/photo/53060/22288/image.jpg

We are currently mounting our shared resource as follows:

getSharedResources().add(photo,   new BusinessPhotoSharedResource());
mountSharedResource(photo, photo);

I would like to be able to something like MixedParamUrlCodingStrategy but for 
resources

mount(new SharedResourceRequestTargetMixedParamUrlCodingStrategy(/photo,
   photo, new String[] { bid, cid, file }));

Is this possible? or provided currently in 1.4.x?  Are there other ways to 
provide this behavior?

Thanks
- Doug