this is code of the datasource. However, the issue is related to the
slingRequest.getRequestPathInfo().getSuffix() which does not return the
correct value.<% %><%@include file="/libs/granite/ui/global.jsp"%><%
%><%@page session="false" import="java.util.Arrays,
java.util.List,com.day.cq.wcm.api.Page,
java.util.ArrayList,org.apache.commons.lang.StringUtils,
java.util.Locale, java.util.HashMap, java.util.Map,
java.util.Collections, org.apache.commons.collections.Transformer,
org.apache.commons.col...