-----Original Message----- From: Pavlos Christoforou [mailto:pavlos@gaaros.msrc.sunysb.edu] Sent: Tuesday, April 06, 1999 11:11 AM To: Michel Pelletier Cc: rkw@dataplex.net; zope@zope.org Subject: RE: [Zope] Beginner DTML question: dereferencing a variable
On Tue, 6 Apr 1999, Michel Pelletier wrote:
<!--#with _.namespace(folders=objectIds('Folder'))--> <!--#if "theusername not in folders"--> No folder named <!--#var theusername--> <!--#else--> Go to folder <a href="<!--#var theusername-->"><!--#var theusername--> <!--#/if--> <!--#/with-->
Is the setting of a variable needed?
<!--# unless "theusername in objectIds('Folder')"--> or <!--# if "theusername not in objectIds('Folder')"-->
will work too.
Duh! You should work here man. :) -Michel
Pavlos
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )