<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
I've searched everywhere for a seamingly obvious thing to have in the documentation - how to call a dynamic zsql method from a zope page template using arguments.<BR>
<BR>
What I need is something like this:<BR>
<BR>
&lt;div tal:define=&quot;sqlRows nocall:here/ZSQLTerritoryList(parent_id=parent_id)&quot;&gt;<BR>
&nbsp; &lt;select name=&quot;country_list&quot;&gt;<BR>
&nbsp; &lt;option value=&quot;&quot;&gt;ANY&lt;/option&gt;<BR>
&nbsp; &lt;option tal:repeat=&quot;sqlRow sqlRows&quot; ...<BR>
&nbsp; etc...<BR>
<BR>
but obviously the first line of code doesn't work.&nbsp; How else are variables passed do zsql methods from page templates?<BR>
<BR>
Thanks, Nick<BR>
<BR>
</BODY>
</HTML>