Hi All again...
sorry for producing such amount of questions, but this is a hard life...
I'm facing to use Data Module.
I have an existing running example, but my ideas are not so clear...
This is what I learned:
-> To configure a data type you must provide:
A) modules/data/config/types/Shoes node with these properties:
- dialog: "Shoes-Dialog"
- hierarchy: "true"
- rootPath: "/"
- sortByName: "false"
- title: "Shoes Title"
- tree: "Shoes-Tree"
B) modules/data/dialogs/Shoes-Dialog node
with "classic" dialog properties
C) modules/data/tree/Shoes-Tree node with these properties:
- class: "myPakage.trees.ShoesTree"
- dialogName: "Shoes-Dialog"
- repository: "data"
-> Now, when you use the dialog "Shoes-Dialog", the ContentNode stored
on JCR should belong to Shoes, right? So, I can search with
HierarchyManager for ContentNode of type "Shoes", isn'it?
I've some doubts:
1) What is "hierarchy = true" property? What is it for?
2) What is "rootPath = /" property? What is it for?
3) Is mandatory to reference a tree when you define a type?
No reference found on data module, sorry... :-(
Thanks again in advance and hava a nice day!!
Matteo
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------