Hi experts!

I've implemented a custom Resource with resource type "application/xyz".
The Resource is able to adaptTo ValueMap and InputStream.
A ResourceProvider with root  "/demoprovider" delivers an instance with
properties "sling:resourceType":"application/xyz and
"jcr:primaryType":"nt:unstructured".
A request on "/demoprovider/something.html" will create a new instance of
the custom resource and render it via the StreamRendererServlet.

Now I implemented a sling render Servlet for "resourceTypes =
"application/xyz". But the request is always delegated to the
DefaultGetServlet.
What am I missing? Is there some example code? Do I need a custom
ResourceResolver?

Regards

Bernd

Reply via email to