At 1/16/01 06:49 PM, Edwin Martin wrote:
>Hello,
>
>How can I use an undefined variable in an expression?
>
>I made a DTML document which gets parameters from the URL,
>like "/nieuw?maand=1".
>
>But I also want it to work when no parameters are given.

How about

   <dtml-unless maand><dtml-call "REQUEST.set('maand',1)"></dtml-unless>


--
Dennis Nichols
[EMAIL PROTECTED]


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to