[Zope] Using recursion with a SQL method

Jim Cain jec@mgmt-inc.com
Wed, 24 Nov 1999 15:11:50 -0500 (EST)


On Wed, 24 Nov 1999, Hannu Krosing wrote:

> Jim Cain wrote:
> > 
> > All,
> > 
> > ID: list_categories
> > 
> > <dtml-in "Query_category_by_parid(parent_id=parent_id)">
> >   <p><dtml-var name> (<dtml-var id>)</p>
> >   <dtml-var "list_categories(parent_id=id)">
> > </dtml-in>
> > 
> 
> Just a guess, but try to name the id column simething else, like current_id.
> 
> It is possible that it gets some other id instead the one you expect 
> (like the attribute of folder or method) 

I've tried changing that, but unfortunately it makes no difference.

Jim