sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1657315 - in /sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT: modules/ modules/blog/ modules/blog/v42/ modules/blog/v42/scripts/ modules/blog/v42/scripts/blog/ modules/blog/v42/scripts/blog/page/ ...
Date Wed, 04 Feb 2015 16:57:17 GMT
Author: bdelacretaz
Date: Wed Feb  4 16:57:17 2015
New Revision: 1657315

URL: http://svn.apache.org/r1657315
Log:
SLING-4386 - add modules subtree

Added:
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/homepage.json
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/page/
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/page/page.esp
Modified:
    sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/tenants/example.com.json

Added: sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/homepage.json
URL: http://svn.apache.org/viewvc/sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/homepage.json?rev=1657315&view=auto
==============================================================================
--- sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/homepage.json
(added)
+++ sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/homepage.json
Wed Feb  4 16:57:17 2015
@@ -0,0 +1,4 @@
+{
+    "jcr:primaryType" : "nt:unstructured",
+    "sling:resourceSuperType" : "blog/page"
+}
\ No newline at end of file

Added: sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/page/page.esp
URL: http://svn.apache.org/viewvc/sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/page/page.esp?rev=1657315&view=auto
==============================================================================
--- sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/page/page.esp
(added)
+++ sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/modules/blog/v42/scripts/blog/page/page.esp
Wed Feb  4 16:57:17 2015
@@ -0,0 +1,16 @@
+<html>
+<%
+var t = resource.adaptTo(Packages.org.apache.sling.tenant.Tenant);
+%>
+<body color="blue">
+<p>
+This is the V42 blog/page rendering.
+</p>
+<p>
+The current Resource is <b><%= resource %></b>.
+</p>
+<p>
+The current Tenant is <b><%= t %></b>.
+</p>
+<body>
+</html>
\ No newline at end of file

Modified: sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/tenants/example.com.json
URL: http://svn.apache.org/viewvc/sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/tenants/example.com.json?rev=1657315&r1=1657314&r2=1657315&view=diff
==============================================================================
--- sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/tenants/example.com.json
(original)
+++ sling/whiteboard/bdelacretaz/multisling2015/test-content/src/main/resources/SLING-CONTENT/tenants/example.com.json
Wed Feb  4 16:57:17 2015
@@ -12,6 +12,6 @@
                 "/modules/blog/v43/scripts",
                 "/tenants/example.com/subsite/sling:tenant/scripts"
             ]
-        },
+        }
     }
 }



Mime
View raw message