[Zope] Newbie question(s)

Max M maxmcorp@worldonline.dk
Mon, 13 Nov 2000 01:14:00 +0100


From: Bowyer, Alex

>I want to count how many objects are contained in the current container
>object and then do something with that value, but I can't do the bit I 
>need to do at the point of reading the count variable because I am in 
>the wrong namespace.

I would try and do it like this (untested):

<dtml-call "REQUEST.set('itemCount', len(objectIds()))">

Regards

    Max M