[Zope] Empty List Object

Evan Simpson evan@tokenexchange.com
Mon, 9 Aug 1999 11:58:01 -0500


Not that this is terribly critical, but wouldn't it make sense to allow the
'in' tag to deal with it as well?  Would having 'in' treat undefined names
as empty sequences introduce too much scope for confusion, or would it make
for more consistency?  IMHO the latter seems more likely.

----- Original Message -----
> An unfortunate feature of HTML checkboxes is that
> unchecked checkboxes aren't included in the form, so
> in your case, you don't have an empty list. You don't have a list
> at all. Fortunately, the if tag can deal with this:
>
>  <!--#if delete-->
>    <!--#in delete-->
>      <!--#var sequence-item-->
>    <!--#/in-->
>  <!--#else-->
>    Sorry, no deletions
>  <!--#/if-->