in my pom.xml I have:
                        <Sling-Bundle-Resources>
                            
/res/sling/explorer;overwrite:=true;uninstall=true;path:=/libs/sling/explorer
                        </Sling-Bundle-Resources>

i.e. I map /res/sling/explorer to /libs/sling/explorer. And I can directly 
access the files beneath /res/sling/explorer, e.g. 
http://localhost:8080/res/sling/explorer/css/explorer.css

now when I enlist on the root (/) I don't see 'res'? Should or shouldn't I?

> -----Original Message-----
> From: Felix Meschberger [mailto:[email protected]]
> Sent: Friday, August 20, 2010 11:31 AM
> To: [email protected]
> Subject: Re: resource.resourceResolver.listChildren only lists jcr
> nodes?
>
>
> Hi,
>
> No, the listChildren method is implemented to return all
> child resources
> in the Resource tree, not only JCR nodes.
>
> And no, the ResourceResolver is not specifically wrapped.
>
> Regards
> Felix
>
> On 20.08.2010 11:20, Clemens Wyss wrote:
> > 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?
>

Reply via email to