You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2008/03/14 15:36:27 UTC
svn commit: r637117 - in
/incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content:
home.json home.xjson
Author: fmeschbe
Date: Fri Mar 14 07:36:25 2008
New Revision: 637117
URL: http://svn.apache.org/viewvc?rev=637117&view=rev
Log:
Replace home.json in old JSON format with home.xjson in new JSON format
Added:
incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content/home.xjson
Removed:
incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content/home.json
Added: incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content/home.xjson
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content/home.xjson?rev=637117&view=auto
==============================================================================
--- incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content/home.xjson (added)
+++ incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sample/content/home.xjson Fri Mar 14 07:36:25 2008
@@ -0,0 +1,28 @@
+{
+ "title":"This is a Sample Page",
+ "jcr:primaryType":"sling:SamplePage",
+ "content": {
+ "title":"Welcome to the Sample Component",
+ "jcr:primaryType":"sling:SampleContent",
+ "text":"The Sample Component is a simple component showing nested content"
+ },
+ "moreinfo":{
+ "title":"More Information",
+ "jcr:primaryType":"sling:SamplePage",
+ "content" : {
+ "title":"Page Providing More Information",
+ "jcr:primaryType":"sling:SampleContent",
+ "text":"This page provides more information on this tool, yet it seems empty."
+ }
+ },
+ "moreinfojsp":{
+ "title":"Bundle-JSP Page",
+ "jcr:primaryType":"sling:SamplePage",
+ "content":{
+ "title":"JSP Rendered Content",
+ "sling:resourceType":"/sling/apps/org/apache/sling/sample",
+ "jcr:primaryType":"sling:SampleContent",
+ "text":"This Content is rendered by a JSP script embeded in the Bundle."
+ }
+ }
+}
\ No newline at end of file