[Zope] <dtml-var expr="maand" missing=1>???

Dennis Nichols nichols@tradingconnections.com
Tue, 16 Jan 2001 13:32:50 -0600


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
nichols@tradingconnections.com