[
https://issues.apache.org/jira/browse/SLING-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695090#action_12695090
]
Carsten Ziegeler commented on SLING-910:
----------------------------------------
Ok, hmm, what about making the prefix configurable on the servlet without the
need that the servlet nows the real value?
I'm not sure if this is a good idea, but what about a "prefixIndex"
configuration - defaulting to 0 - which indicates the index of the prefix in
the search paths of the resource resolver? If the prefixIndex is higher than
the available prefixes, the last one is used.
> Overlaying of servlets
> ----------------------
>
> Key: SLING-910
> URL: https://issues.apache.org/jira/browse/SLING-910
> Project: Sling
> Issue Type: Improvement
> Components: Servlets Resolver
> Affects Versions: Servlets Resolver 2.0.4
> Reporter: Carsten Ziegeler
>
> While it is possible to overlay scripts (the resource resolver is configured
> with the search paths), it is not possible to overlay registered servlets. I
> briefly discussed this with Alex Saar and we think that this is a missing
> feature in Sling.
> If a servlet is registered for a resource type or extension etc. it should be
> possible to overlay it with a different version. Maybe by specifying some
> ordering?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.