Thanks for your replies.After a lot of trial & errors I've found a JSP solution that provide the respective values:<%@ page import="com.day.cq.commons.jcr.JcrUtil, com.day.cq.wcm.api.WCMMode, org.apache.sling.api.resource.ResourceUtil, org.apache.sling.api.resource.ResourceResolver" %><%@ include fi...