[Zope] Empty List Object
Rob Page
rob.page@digicool.com
Mon, 9 Aug 1999 12:04:13 -0400
> -----Original Message-----
> From: wombat_harness@hotmail.com [mailto:wombat_harness@hotmail.com]
> Sent: Monday, August 09, 1999 10:43 AM
> To: zope@zope.org
> Subject: [Zope] Empty List Object
>
>
> hi all,
>
> does anyone know how to check if a list object is empty. Using the
> following code i am getting an error, any thoughts:
>
> [FORM SIDE OF CODE]
>
> <TD><INPUT TYPE="checkbox" NAME="delete:list" VALUE="<!--#var
> product_id-->"></TD>
>
> [FORM PROCESSING SIDE]
>
> <!--#in delete-->
> <!--#var sequence-item-->
> <!--#else-->
> Sorry, no deletions
> <!--#/in-->
Try...
<!--#if delete-->
<!--#in delete-->
<!--#var sequence-item-->
<!--#else-->
Sorry, no deletions
<!--#/in-->
<!--#/if-->