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 the data filled in from the SQL
> method? There should be no need to re-retrieve the same items with
> getItem(). Note, by the way, that this does not violate encapsulation,
> since the specialist and racks are specifically the place to put
> implementation-specific versions of multi-object methods like this.
>
> (Btw, if anybody's compiling a ZPatterns FAQ, this should probably get in
> there.)
>
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )