Given the JSP example below what is the equivalent sling.include() statement
in ESP?  

 

<%...@page session="false"%>

<%...@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%>

 

<sling:defineObjects/>

 

<html>

        <body>

                <sling:include resourceType="some/resource/type" />

 

                <h1><%= currentNode.toString() %></h1>

        </body>

</html>

Reply via email to