[Zope] Using recursion with a SQL method

Hannu Krosing hannu@tm.ee
Wed, 24 Nov 1999 22:06:04 +0200


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) 

----------
Hannu