[Zope] Tree tag and SQL methods

Thomas Weiner weiner@tu-harburg.de
Thu, 29 Jul 1999 18:32:59 +0200


I'm fooling around with the tree tag examples Phillip J. Elby et al.
worked out a few weeks ago.

Here is what I have:

<!--#with "_.namespace(sqid=0, param=1)"-->
  <!--#tree id=sqid branches_expr="adr_suche3(sqid=sqid, param=param, 
  Crit1_and_or=Crit1_and_or)" single=0-->

Crit1_and_or is a list coming from a request, which I want to use in the
SQL method ('adr_suche3').

The tree works fine in the first level. 
With the second level I receive an 'Error value: Crit1_and_or'. The
Error value also occurs if I try to give Crit1_and_or a new value in the
SQL method (e.g. 'select *, '' as Crit1_and_or'). 

Without this parameter tree and sql-method do, what they should.

What I'm doing wrong here?

thomas
-- 
fon: ++49 (0)40 42878 3781
fax: ++49 (0)40 42878 2728