13 Oct
1999
13 Oct
'99
2:03 p.m.
-----Original Message----- From: michel@digicool.com [mailto:michel@digicool.com] Sent: Wednesday, October 13, 1999 4:04 PM To: hoekstra@fsw.LeidenUniv.nl Cc: Morten W. Petersen; zope@zope.org Subject: Re: [Zope] Is there an easy way?..
Rik Hoekstra wrote:
This automatically changes the option to a list, even if there is just one. I do not think this will handle the case in which no checkbox is checked. To do this , you will have to add a condition to the action dtml method:
<dtml-if "REQUEST.has_key('option')"> your stuff </dtml-if>
Or just <dtml-if option>.
Though in my experience this may stumble with a KeyError if the request object has no option key Rik