That's it -- seems to work great. Thanks! *********** REPLY SEPARATOR *********** On 12/20/01 at 8:19 PM Jim Washington wrote:
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...
Most current information can be found at: http://www.mindview.net/Etc/notes.html =================== Bruce Eckel http://www.BruceEckel.com Contains free electronic books: "Thinking in Java 2e" & "Thinking in C++ 2e" Please subscribe to my free newsletter -- just send any email to: join-eckel-oo-programming@earth.lyris.net My schedule can be found at: http://www.mindview.net/Calendar ===================