[Zope] Re: [Zope-dev] Testing a value returned from a Zope Python Script

Andreas Jung Andreas Jung <lists@andreas-jung.com>
Tue, 04 Feb 2003 17:41:03 +0100


 <dtml-if expr="checkRowLength(fileObject_index, rowLength) == 0">
 </dtml-if>

--On Dienstag, 4. Februar 2003 08:11 -0800 Asad Habib 
<ahabib1357@yahoo.com> wrote:

> Hello. I am trying to test a value returned from a
> Python script using the following syntax:
>
> <dtml-if expr="<dtml-call
> expr="checkRowLength(fileObject_index, rowLength)"> ==
> 0">
>     </dtml-if>
>
> checkRowLength is the name of the script. Apparently
> Zope flags me with an error saying that this is an
> invalid attribute tag for a dtml-if. Is there any
> other way of achieving this? Any help would be
> appreciated.
>
> -Asad
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )




    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------