sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r654530 - in /incubator/sling/trunk: jcr/resource/src/main/resources/SLING-INF/nodetypes/ sling/core/src/main/resources/SLING-INF/nodetypes/ sling/i18n/src/main/resources/SLING-INF/nodetypes/
Date Thu, 08 May 2008 13:56:54 GMT
Author: cziegeler
Date: Thu May  8 06:56:54 2008
New Revision: 654530

URL: http://svn.apache.org/viewvc?rev=654530&view=rev
Log:
SLING-439: Reduce files for i18n node types, remove unused reference nodetype, move sling:Folder
to jcr.resource.

Removed:
    incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd
    incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/references.cnd
    incubator/sling/trunk/sling/i18n/src/main/resources/SLING-INF/nodetypes/slinglanguage.cnd
Modified:
    incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/resource.cnd
    incubator/sling/trunk/sling/i18n/src/main/resources/SLING-INF/nodetypes/message.cnd

Modified: incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/resource.cnd
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/resource.cnd?rev=654530&r1=654529&r2=654530&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/resource.cnd
(original)
+++ incubator/sling/trunk/jcr/resource/src/main/resources/SLING-INF/nodetypes/resource.cnd
Thu May  8 06:56:54 2008
@@ -31,3 +31,9 @@
     mixin
   - sling:resourceSuperType (string)
 
+//-----------------------------------------------------------------------------
+// Node type to be used as a replacement for nt:folder: it can be used
+// as a child of nt:folder and allows to add unstructured content
+[sling:Folder] > nt:hierarchyNode, nt:unstructured
+  orderable
+  + * (nt:base) = sling:Folder version
\ No newline at end of file

Modified: incubator/sling/trunk/sling/i18n/src/main/resources/SLING-INF/nodetypes/message.cnd
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/i18n/src/main/resources/SLING-INF/nodetypes/message.cnd?rev=654530&r1=654529&r2=654530&view=diff
==============================================================================
--- incubator/sling/trunk/sling/i18n/src/main/resources/SLING-INF/nodetypes/message.cnd (original)
+++ incubator/sling/trunk/sling/i18n/src/main/resources/SLING-INF/nodetypes/message.cnd Thu
May  8 06:56:54 2008
@@ -18,6 +18,17 @@
 //
 
 <sling = 'http://sling.apache.org/jcr/sling/1.0'>
+<mix = 'http://www.jcp.org/jcr/mix/1.0'>
+<sling = 'http://sling.apache.org/jcr/sling/1.0'>
+
+// The sling:language mixin node type allows to list one or more base
+// names of resource bundles to which the messages below this language
+// node belong.
+[sling:Language] > mix:language
+    mixin
+  - sling:basename (string)
+  - sling:basename (string) multiple
+  
 
 // Mixin node type for a single key to message mapping
 // This mixin node type may be applied to any node such, that mappings



Mime
View raw message