sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1784710 - in /sling/trunk/bundles/scripting/core/src/main: java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java resources/scriptingvariables/ui/scriptingvariables.js
Date Tue, 28 Feb 2017 10:11:48 GMT
Author: bdelacretaz
Date: Tue Feb 28 10:11:48 2017
New Revision: 1784710

URL: http://svn.apache.org/viewvc?rev=1784710&view=rev
Log:
SLING-3543 - add SLING_ prefix to availablebindings selector as a poor man's namespacing

Modified:
    sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java
    sling/trunk/bundles/scripting/core/src/main/resources/scriptingvariables/ui/scriptingvariables.js

Modified: sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java?rev=1784710&r1=1784709&r2=1784710&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java
(original)
+++ sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/SlingBindingsVariablesListJsonServlet.java
Tue Feb 28 10:11:48 2017
@@ -51,7 +51,7 @@ import org.osgi.service.component.Compon
  */
 @SlingServlet(
         resourceTypes = "sling/servlet/default",
-        selectors = "availablebindings",
+        selectors = "SLING_availablebindings",
         methods = "GET",
         extensions = "json"
 )

Modified: sling/trunk/bundles/scripting/core/src/main/resources/scriptingvariables/ui/scriptingvariables.js
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/resources/scriptingvariables/ui/scriptingvariables.js?rev=1784710&r1=1784709&r2=1784710&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/resources/scriptingvariables/ui/scriptingvariables.js
(original)
+++ sling/trunk/bundles/scripting/core/src/main/resources/scriptingvariables/ui/scriptingvariables.js
Tue Feb 28 10:11:48 2017
@@ -60,7 +60,7 @@
 	}
 
 	function appendSelectorToPath(path) {
-		return path + ".availablebindings.json";
+		return path + ".SLING_availablebindings.json";
 	}
 
     



Mime
View raw message