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

Hi,

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.

<http://www.plope.com/Books/2_7Edition>

-aj

Attachment: pgpy2x3okyc9A.pgp
Description: PGP signature

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

Reply via email to