Hi all.
As I've said before, we're testing magnolia 3, specially the dms module. A
suggestion that my boss asked is to create a tree-like view in the dms
paragraph. I got a lot of JavaScript components to do this, just have to test
them and see what's the best solution.
My problem is to iterate the tree in the same way that the documents are
stored in the repository, including the folders. I know that I can choose if
I want to retrieve the content or contentNode types, but I did not see a way
to iterate over them like I was iterating over a tree.
I know I'm a little confused, but the result that we want is something like
this:
+ root folder
+ doc folder
+ another folder
- file 1
- file 2
+ folder 4
- file 3
- file 4
- file 5
It is easier to find the file if you have this view.
What do you guys think ? I was wondering if I could first iterate over
mgnl:content, add those nodes to a Tree(Map,Hash?), and iterate again, over
mgnl:contentNode, and only after that, I could create the JS tree.
Am I on the right direction?
BTW, anyone knows any case of large DBs using Derby? That's another question
my boss asked, but Apache's site does not list any company in this situation.
Thanks again,
--
Felipe Braun Azambuja
[EMAIL PROTECTED]
R. 9714 - Informática
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------