This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hello All,
Forgive me, as I am coming from a heavy front-end world and am now shooting into AEM development mode!
I am trying to pick up Slightly as we are starting from scratch with our AEM project.
Is there a Slightly Equivilent to <%
@include
file=
"/libs/foundation/global.jsp"
%>
Would I do the same thing but with the slightly include? For example:
< section data-sly-include = " /libs/foundation/global.jsp" ></ section > |
Do I need this to bring my components into scope with the global objects?
Thanks, and sorry if my questions are geared towards newbies.
-Tyler
Solved! Go to Solution.
Views
Replies
Total Likes
No, there is no equivalent import necessary in Sightly.
All of the objects that are initialized in the JSP environment by the global.jsp import are already present and initialized in the Sightly environment.
See this page & heading: http://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html#Context Objects
Views
Replies
Total Likes
No need of including global.jsp for sightly
Views
Replies
Total Likes
No, there is no equivalent import necessary in Sightly.
All of the objects that are initialized in the JSP environment by the global.jsp import are already present and initialized in the Sightly environment.
See this page & heading: http://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html#Context Objects
Views
Replies
Total Likes
No. There is no need for an include like the global.jsp in Sightly.
All of the Context Objects that are initialized by the global.jsp in the JSP environment are already present and initialized in the Sightly environment. They have the same names and functionality.
See this page in the documentation: http://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html#Context%20Objects
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies