6D Labs / CQ Extended Tag Library / API / Expression Language Functions / listPages
Lists the child pages of a particular page. If filtering is enabled the default PageFilter which skips invalid and hidden pages will be used.
com.day.cq.wcm.api.Page
- the page for which to list the child pagesjava.lang.Boolean
- whether or not to filter the child pagesjava.util.Iterator<com.day.cq.wcm.api.Page>
- the child pages
Example:
<ul>
<c:forEach var="childPage" items="${ext:listPages(currentPage, true)}">
<li><a href="${childPage.path}.html">${ext:getTitle(childPage,'page')}</a>
</c:forEach>
</ul>