%-- ADOBE CONFIDENTIAL __________________ Copyright 2013 Adobe Systems Incorporated All Rights Reserved. NOTICE: All information contained herein is, and remains the property of Adobe Systems Incorporated and its suppliers, if any. The intellectual and technical concepts contained herein are proprietary to Adobe Systems Incorporated and its suppliers and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Adobe Systems Incorporated. --%> <%@ page session="false" contentType="text/html" pageEncoding="utf-8" import="com.adobe.granite.ui.components.formbuilder.FormResourceManager, com.day.cq.commons.LabeledResource, com.adobe.granite.ui.components.Config, com.adobe.granite.toggle.api.ToggleRouter, com.day.cq.i18n.I18n, java.util.HashMap, org.apache.sling.featureflags.Features, org.apache.sling.api.resource.Resource, org.apache.sling.api.resource.ValueMap, java.util.ArrayList, java.util.Iterator, com.adobe.granite.confmgr.Conf, com.day.cq.dam.commons.util.DamConfigurationConstants, java.util.List, javax.jcr.Node" %><% %><%@include file="/libs/granite/ui/global.jsp" %><% Config cfg = new Config(resource); String sfx = slingRequest.getRequestPathInfo().getSuffix(); sfx = sfx == null ? "" : sfx; ToggleRouter toggleRouter = sling.getService(ToggleRouter.class); /** CQ-4284633 Disable ratings component in metaschema editor when skyline is enabled **/ final String nuiFeature = "com.adobe.dam.asset.nui.feature.flag"; boolean nuiEnabled = false; Features slingFeatures = sling.getService(Features.class); if (slingFeatures.getFeature(nuiFeature) != null) { nuiEnabled = slingFeatures.isEnabled(nuiFeature); } %>