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

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

Reply via email to