Sylvain Wallez wrote:
Stefano Mazzocchi wrote:

I'm in a flow.js and I want to know where it is located on disk.


You can have the current sitemap's location using cocoon.getComponent(SourceResolver.ROLE).resolveURI(".");

D'oh! I was doing cocoon.getComponent(SourceResolver.ROLE).resolveURI("context:/.");

Sometimes it's even too easy :-)

Thx.

--
Stefano.

Reply via email to