[Zope] newbie Q. DTML syntax
Brad Moulton
Brad Moulton" <brad@netarchitects.com.au
Wed, 31 May 2000 21:35:58 +1000
As a newbie i have tried a few variations on the following
but the <dtml-if> never returns true
<dtml-in "PARENTS[0].objectValues(['customer'])" sort=lname>
<dtml-if "(_['sequence-item'].title == AUTHENTICATED_USER)">
<tr><td>customer </td><td><dtml-var accno></td>
.......and other values from "customers" folder with meta type customer
</dtml-if>
</dtml-in>
I have previously modified an add_instance method to store
AUTHENTICATED_USER as the "title"
viewing the folder shows this to be so.
If I display these values they appear the same. I just do not know the
correct syntax inside <dtml-if>
brad