[Zope] dtml-in syntax
Montagne, Michael
montagne@BOORA.com
Thu, 7 Mar 2002 16:14:40 -0800
zAllProjRoles is a zsqlmethod that returns as one of it's fields Projteamid.
I can get a value if I use <dtml-var Projteamid> within the loop.
ProjTeamPhones takes an argument called Projteamid. It should return all
the phone numbers for this id number. But this code gives me
a 'Bad Request Error' on 'Projteamid'. How can I pass the correct value?
<snip>
<dtml-in zAllProjRoles>
<table bgcolor="<dtml-var color2>" width=800 cellspacing=0
cellpadding=5 border=0>
,,<snip>..
<dtml-var ContempContactName>
</td>
<td align="left">
<dtml-in ProjTeamPhones>
<dtml-var PhoneNumber><br>
</dtml-in>
</td>
</tr>
</dtml-in>