On Fri, Mar 14, 2014 at 11:03 AM, Carsten Ziegeler <cziege...@apache.org> wrote:
> ...Just for rendering code, it is quiet handy to have deep reads - and
> rendering code is using ResourceUtil.getValueMap()...

Why would rendering code use this over Resource.adaptTo? Sling makes
the current resource available to scripts, so AFAIK there's no
incentive to use ResourceUtil more than adaptTo - but maybe I'm
missing something.

I'm not opposed to changing just ResourceUtil.getValueMap() to provide
"deep" value maps, just trying to understand the reasoning behind it.

-Bertrand

Reply via email to