markt-asf commented on pull request #351: URL: https://github.com/apache/tomcat/pull/351#issuecomment-696204359
``` <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <c:if test="${isDebug || (feature.type != 'HIDDEN')}"> <c:set var="includeDebug" value="${isDebug && (not (feature.featureName eq 'debug'))}"/> <c:if test="${includeDebug}"> <div id="EXP_feature_featureName-debug" class="feature-debug"> <ul id="EXP_feature_featureName-tabs" class="debug-tabs"></ul> </c:if> <c:if test="${not empty feature.containerId || feature.type == 'CONTAINER'}"> <c:set var="isClientSideInstrumentationEnabled" value = "${clientSideInstrumentationTreatment eq 'T1'}"/> <c:choose> <c:when test="${isClientSideInstrumentationEnabled}"> <c:choose> <c:when test="${not empty feature.flavorId}"> <c:set var="***" value="*** flavor-EXP_feature_masked" /> </c:when> <c:otherwise> <c:set var="***" value="***" /> </c:otherwise> </c:choose> <div id="${not empty feature.containerId ? feature.containerId : feature.featureName }" class="EXP_masked" data-feature-name="EXP_feature_featureName"> </c:when> <c:otherwise> <div id="${not empty feature.containerId ? feature.containerId : feature.featureName }" class="feature" data-feature-name="EXP_feature_featureName"> </c:otherwise> </c:choose> </c:if> <c:set var="timerMetric">EXP_feature_featureName:jsp-exec-time</c:set> <c:catch var="jspError"> <%-- PLEASE ENSURE ANY CHANGES MADE HERE ARE KEPT IN SYNC WITH /WEB-INF/views/jsp/ajax/****.jsp --%> <c:choose> <c:when test="${feature.type == 'DYNAMIC'}"> <c:if test="${not empty feature.template}"> <c:choose> <c:when test="${edpEnabled}"> <c:set var="edpFeature" value="${feature}" scope="request"/> <jsp:include page="/WEB-INF/views/jsp/features/edp/utils/include-edp-dynamic-feature.jsp"/> <c:remove var="edpFeature" scope="request"/> </c:when> <c:otherwise> <jsp:include page="${feature.template}"/> </c:otherwise> </c:choose> </c:if> </c:when> <c:when test="${feature.type == 'REMOTE'}"> <c:set var="module" value="${requestScope[feature.featureName]}"/> <c:choose> <c:when test="${not empty feature.template}"><jsp:include page="${feature.template}"/></c:when> <c:when test="${not empty module && not module.hasError && not empty module.content}">${module.content}</c:when> </c:choose> </c:when> <c:when test="${feature.type == '----'}"> <c:choose> <c:when test="${not empty feature.template}"> <jsp:include page="${feature.template}"> <jsp:param name="slotName" value="${feature.slotName}"/> </jsp:include> </c:when> </c:choose> </c:when> <c:when test="${feature.type == 'CONTAINER'}"> <c:if test="${not empty feature.template}"> <jsp:include page="${feature.template}" > <jsp:param name="configPath" value="${feature.configPath}"/> </jsp:include> </c:if> </c:when> <c:when test="${feature.type == 'STATIC'}"> <c:choose> <c:when test="${not empty feature.template}"> <jsp:include page="${feature.template}"/> </c:when> <c:otherwise> ${feature.content} </c:otherwise> </c:choose> </c:when> <c:when test="${feature.type == 'PLACEHOLDER'}">${feature.content}</c:when> </c:choose> <c:if test="${(fn:toLowerCase(feature.featureName) == '***') || (fn:toLowerCase(feature.featureName) == '***') || (fn:toLowerCase(feature.featureName) == '**') || (fn:toLowerCase(feature.featureName) == '***') || (fn:toLowerCase(feature.featureName) == '***') || (fn:toLowerCase(feature.featureName) == '***') || (fn:toLowerCase(feature.featureName) == '***') }"> </c:if> </c:catch> <c:if test="${not empty jspError}"> <jsp:include page="/WEB-INF/views/jsp/utils/errorHandler.jsp"> <jsp:param name="exception" value="${jspError}" /> <jsp:param name="featureName" value="EXP_feature_featureName" /> </jsp:include> </c:if> <c:if test="${includeDebug}"> <!-- Place data into a div to escape characters, div is later removed --> <c:if test="${not empty jspError}"> <div id="EXP_feature_featureName-jsp-error" style="display: none;">${jspError}</div> </c:if> <c:catch> <c:if test="${not empty module.moduleError}"> <div id="EXP_feature_featureName-module-error" style="display: none;">${module.moduleError}</div> </c:if> </c:catch> <div id="EXP_feature_featureName-view-model" style="display: none;">${requestScope[feature.featureName]}</div> </c:if> <c:if test="${not empty feature.containerId || feature.type == 'CONTAINER'}"> </div> </c:if> <c:if test="${includeDebug}"> </div> </c:if> </c:if> ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org