Hi,

Am Samstag, den 30.10.2010, 12:58 -0500 schrieb Bruce Green: 
> Given the JSP example below what is the equivalent sling.include() statement
> in ESP? 

This would by

   sling.include(request.resource, "some/resource/type");

Regards
Felix

> 
> 
> 
> 
> <%...@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