On 7/23/10 12:13 PM, Tony Giaccone wrote:
>
> Justin:
>
> So because I'm a little slow, let me be sure I understand what you mean when
> you said:
>
>
>> /orders/{orderID}/lineItems - a sling:OrderableFolder
>
>
> I can't find a reference to a property called sling:OrderableFolder
>
> so I'm guessing that you mean, I should create a folder node
>
> props.put("jcr:primaryType","nt:folder");
sling:OrderableFolder is a node type; you should use it instead of
nt:folder in this case.
We really need a page describing all of the node types provided by the
jcr.resource bundle...
>
>
> but It's not clear to me how to make a folder "orderable"..
>
> There's this text:
>
> common parent node is defined as having orderable child nodes
>
> Seems to imply it's an attribute of the node type, so
> does that imply that a folder is intrinsically orderable?'
nt:folder is NOT intrinsically orderable
Here's the CND for nt:folder, sling:Folder and sling:OrderableFolder
[nt:folder] > nt:hierarchyNode
+ * (nt:hierarchyNode) VERSION
[sling:Folder] > nt:folder
- * (undefined) multiple
- * (undefined)
+ * (nt:base) = sling:Folder version
[sling:OrderedFolder] > sling:Folder
orderable
+ * (nt:base) = sling:OrderedFolder version
Justin
>
>
>
> Tony