On 24 January 2002, David Ascher said: > Here's a slightly different version of Neil's code which makes a bit > more sense to me: [...code and output omitted...] > Now, the only difference with Neil's code is that I'm not using > _q_getname to return "self", and instead use _q_getname to return a > child folder. This seems more 'right' to me. Am I missing a greater > truth about web object modeling? No, your code looks pretty sensible to me. I haven't done this sort of "recursive getname" business myself, but it seems like the Right Thing to model a tree structure like a filesystem. Hmmm: we have a similar thing on our web site (the process catalog, http://www.mems-exchange.org/catalog/) to explore a hierarchy. Yes, it works the same way: CatalogUI._q_getname() returns a new CatalogUI instance representing a deeper level of the hierarchy. Looks pretty sound to me. Greg -- Greg Ward - software developer gward@mems-exchange.org MEMS Exchange http://www.mems-exchange.org