Hi all,
I have a requirement that , to show the below level 1 under industry-solution-components folder and level 2 components under l2-layer in AEM page under Industry Tab.
I have a below JSP code and want to replace with the above requirement .
<slingx:forEachChildResource var="industriesResource" resourcePath="industriesLinks">
<slingx:property var="industrylabel" name="label" resourcePath="${industriesResource.path}" />
<slingx:property var="industryDestination" name="destination" resourcePath="${industriesResource.path}" />
<div class="top-nav-auth-item-wrapper">
<li><a href="<tef:link path="${empty industryDestination ? # : industryDestination}"/>">
<span>${industrylabel}</span>
</a></li>
</div>
</slingx:forEachChildResource>
can anybody help me how to get level 1 and level 2 items in JSP and display in the page?
Thanks in advance.
Views
Replies
Total Likes
Why don't you use HTL and Sling Models?