Hi Aaron,

On Fri, Jun 19, 2009 at 4:00 PM, Aaron Zeckoski<[email protected]> wrote:
> I am trying to handle requests for certain resourceTypes (e.g.
> sakai/contactstore) a special way.
> What I really want to do is handle something like:
> /_user/contacts/key1.key2.json
>
> Where key1 has an unlimited set of values (it would not be a real
> node) and key2 has a set of about 8 values.

If you can, the simplest might be to add another selector that's constant:

  /_user/contacts/key1.key2.userinfo.json

Then, declare your servlet to handle the userinfo selector, and use
SlingHttpServletRequest.getRequestPathInfo() .getSelectors() to list
all selectors.

-Bertrand

Reply via email to