Hello,

How can I statically include code from another script? That is, include it into execution in the context of the currentNode. Sling.include does not work for me, because it executes in the context of the included node. I have several instances where I need to reuse code in different visual layouts. It seems inefficient to write the same code over and over, and is a maintenance nightmare. I know there's the sling:superResourceType, but that doesn't really solve my issue, as I want to have reusable snippets.

        Thanks - Josh

Reply via email to