Hi,

I have a need to execute different scripts for my resource types based on 
content resource path.
For example resources under /content/abc and /content/xyz have the same 
resource types but should be rendered differently.  
I was reading [1] and [2] which seem to describe how this can be implemented 
via multi tenancy.
But I don’t think this has been integrated into script resolution process yet. 
What is the current state of this and what’s the plan? 

I can work on a patch. But I would need some guidance to make sure it is 
constant with the Sling vision for multitenancy.

Are there any other ideas on how to do this? Currently my application has a 
customized Servlet Resolver that does this. 
But this makes upgrades more difficult because application code is coupled with 
a specific version of servlet resolver. So, we have to port our code every time 
we need to upgrade Servlet Resolver.

[1] https://cwiki.apache.org/confluence/display/SLING/Multitenancy+Support
[2] 
https://cwiki.apache.org/confluence/display/SLING/Multitenancy+scenarios+and+use+cases
 
<https://cwiki.apache.org/confluence/display/SLING/Multitenancy+scenarios+and+use+cases>

Regards,

Henry

Reply via email to