[Zope] Restatement of list problem

Thomas B. Passin tpassin@mitretek.org
Fri, 21 Jun 2002 11:46:33 -0400

[Schmidt, Allen J.]

> Great! Thanks to all who responded...and to those that did not but were
> thinking of the answer. I must have picked up brain waves, too.
> I am still stuck in the old-fashioned, outdated, etc. world of DTML, so I
> took parts of the responses and did this (I will try the Python scripts
> later):

A simple dtml way to check whether "list1" is really a list or not:

       <dtml-if "list1[0:0]==[]">

The one time I had this situation, I ended up doing what you did, which is
to have an additional hidden element with the same name as the checkbox.


Tom P