there is a typo in the subject, should be: 'request.resourceResolver.listChildren only lists jcr nodes?'
> -----Original Message----- > From: Clemens Wyss [mailto:[email protected]] > Sent: Friday, August 20, 2010 11:20 AM > To: '[email protected]' > Subject: resource.resourceResolver.listChildren only lists jcr nodes? > > > in my esp-script I have the follwoing line: > > var childResources = request.resourceResolver.listChildren( > resource ); > > To me (having explicitly definde bundle resources) it looks > as if this only lists jcr nodes but not all resources. > Is this yet another esp limitation (of the wrapper behind > 'resource'), or does listChildren really only return jcr nodes? > > Asked the other way round: > given a path, how do I enlist (in esp) all resources below that path? >
