RE: [Zope-dev] ZPatterns Design Issue

2001-04-25 Thread Roch'e Compaan
I generally follow this approach for long lists and reports, but the tree tag is a bit more tricky because you only have a simple data object without the context that a real object provides. A real object makes it a lot simpler if you recursively draw a hierarchy - doing it with simple data

RE: [Zope-dev] ZPatterns Design Issue

2001-04-24 Thread Roch'e Compaan
How do you bind a SQL Result with multiple records with multiple instances of the class? Can you do this in Skinscript? Or do you mean I should return the sql result directly? Roché Why don't you just have the rack's getChildrenFor() method return instances of the correct class, with all