My only issue with the tree is it always collapses everytime you change something. I thought if I fooled around with the javascript functions, I might figure out how to make it maintain state. I think from the users point of view, they would like that. I thought if I captured a snapshot of a tree, it would be easier and faster to work with than with a live server.
True, it makes no difference what happens under the hood when setting up pages, but I find when I drill into these things I tend to learn things I didn't know existed. Does JSON manage exchanging data from the server to the client, and from the client to the server? It seems to build a big data object, and do some translation to format the data for the tree. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 2:50 AM To: [email protected] Subject: Re: [magnolia-user] extractTree? On 22.09.2005, at 22:28, Robert Van Overmeiren wrote: > In what file is the repository data stored client-side for the tree to > build from? to paraphrase The Matrix: "there is no file". There is only a JSR-170 API and for whatever you consider doing, you must ignore what's below it. In fact, there are persistence managers that don't persist at all, so really there might be no file depending on your JCR implementation and configuration. For all you know, your data could be persisted into blocks of Tofu - it should not make any difference to you (it would to your server admin, though :-)). > Why is JSON employed to exchange data? Why not? Its a useful and standardized way to exchange data, thats why. Regards Boris Kraft --------------------------- Magnolia Content Management http://www.magnolia.info/ --------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
