6D Labs / CQ Extended Tag Library / API / Expression Language Functions / getPage

getPage EL Function

Gets the page at the path or the page containing the resource at the path.

Parameters

  • properties - com.day.cq.wcm.api.PageManager - the page manager with with to fetch the page
  • path - java.lang.String - the path of the page or a child resource of the page

Returns

com.day.cq.wcm.api.Page - the page at or containing the path

Example:

<c:set var="geometrixxEnHome" value="${ext:getPage(pageManager,'/content/geometrixx/en/jcr:content')}" />

Follow Our Blog Posts

Latest CQ News