THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
<%@page session="false"%> <%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%> <sling:defineObjects/> <html> <body> <div id="header"> <sling:include path="/content/header" /> </div> <h1><%= currentNode.getProperty("title").getValue().getString() %></h1> </body> </html> |
How to use selectors
...
References:
For more information on other scripting variables look at Common scripting variables page.