21 Dec
2001
21 Dec
'01
1:19 a.m.
Hi, Bruce Maybe this is what you want: <dtml-if "document_id in book.objectIds()"> <dtml-var "book[document_id]"> </dtml-if> -- Jim Washington Bruce Eckel wrote:
I take it back. The <dtml-if > doesn't work. It works only if the file exists under 'book'.
<dtml-with book> <dtml-if "_[document_id]"> <dtml-var "_[document_id]"> </dtml-if> </dtml-with>
So I'm still trying to figure out how to do the conditional...