[Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

Peter Sabaini sabaini@niil.at
Thu, 20 Jul 2000 20:53:02 +0200 (CEST)


this should work too (untestet):

 <dtml-in "active_category_method()">
     <dtml-in "category_method(id=id)" size=100 start=query_start>
       id=<dtml-var id>&seq=<dtml-var seq>&vid=<dtml-var vid>
     </dtml-in>
 </dtml-in> 

('id' var should be put on the namespace by 'active_category_method()'
and gets passed in to 'category_method()' (which, being a zsqlmethod,
wouldnt take a var from the namespace)

peter.

-- 

_________________________________________________
peter sabaini, mailto: sabaini@niil.at
-------------------------------------------------