sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konrad Windszus <konra...@gmx.de>
Subject Sling Models: child-resources injector
Date Mon, 25 Feb 2019 17:35:11 GMT
The child resources injector (https://sling.apache.org/documentation/bundles/models.html#available-injectors)
currently always returns Resources which can then be adapted into Models. As some models only
allow adaptations from SlingHttpServletRequests I think we could extend the injector to optionally
return SlingHttpServletRequests which have their getResource method overwritten to return
child resources.
WDYT?
Konrad 
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message