Florent Guillaume wrote:
> The following TALES expression using the 'item' name doesn't work:
> 
>   python:repeat['item'].even()
>   Unauthorized: The container has no security assertions.  Access to
> 'even' of (Products.PageTemplates.Expressions.PathIterator object at
> 0x47986f0) denied.
> 
> whereas this works:
> 
>  repeat/item/even
> 
> Anyone knows why?

I bet I forgot an __aanus__ = True in ZopeIterator / PathIterator.

Philipp

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

Reply via email to