Message |
Myles, Sorry I missed replying earlier. I tried the version when you first announced it while you were on holiday. I liked it a lot. It seemed to work fine for me so please continue. > I couldn't see anything either a few minutes ago. It seems that > someone had > set up a circular graph - the node which should have been the root had its > parent set (to one of its descendants). I've changed this now, so > could you > please check again. > > David, what should we do about this? The tree code doesn't do anything to > check that we really do have a tree... H'mm I assume that this would be checked as part of the business logic at the business side rather than in the JavaScript on the client. Eg if I change the parent of an item then there will most likely be a number of checks to be made (and updates to be processed). Probably a simple idea would be a check in Melati that we can call. eg isTreeRecursive There are some few cases where a recursive tree works from a business sense eg If you follow family relationships in a people system + david + children + andrew + parents + david + jane Obviously for this to work we would have to support only loading one layer at a time. So it's not for now (just a bit of a digression on my part). > Could you have a look and let me know what you think so far It's good. Continue. Erik is back from holiday now and is working on a web application that will be using JTemplater and probably Melati. I am now on holiday (email thanks to new pcard for mobile phone). > BTW, so far I have used about half the budget... OK. Regards Dave __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
|