--On 15. Oktober 2007 13:45:37 +0100 kamal hamzat <[EMAIL PROTECTED]> wrote:


I am getting NameError: global name 'zCatArticlesCurrent' is not defined
on this code whereas I have the zCatArticlesCurrent object in the same
container with the script.

a = len(zCatArticlesCurrent)
print a
return printed

Please learn about "Acquisiton" - one of the core concepts of Zope.
Likely you want 'context.zCatArticlesCurrent' or something similar.



Attachment: pgpy2x3okyc9A.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to