15 Oct
2007
15 Oct
'07
1:16 p.m.
--On 15. Oktober 2007 13:45:37 +0100 kamal hamzat <hamzat@dnetsystems.net> 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