Hello everyone, In SLING-6504 (https://issues.apache.org/jira/browse/SLING-6504), functionality was added to allow adapting a resource that is different to the underlying page resource. Feike Visser's example (https://github.com/heervisscher/htl-examples/commit/93666b5eebdeb36c25adf2e310f55049ec3767ce) suggests that it is possible and simple, but I haven't managed to succesfully implement it. In my experience so far, the adaptable is ignored.
If I use the following code in my Sling Model: @Self Resource adaptable; public Resource getAdaptableSelf() { return adaptable; } ...it reveals that the adaptable that reaches the model is null. I wondered if this might have to do with the fact that the code in SLING-6504 modified the JavaUseProvider, but the SlingModelsUseProvider handles the instantiation before the JavaUseProvider can be reached. Can anyone confirm whether this option is still working in Sling 11? Thanks, Liam