[ZPT] Formulators "form" TALES namespace and "result"

Chris Withers chris at simplistix.co.uk
Sun Oct 3 04:49:15 EDT 2004


Philip Kilner wrote:
>     python: form.zsql_method().dictionaries()[0]['field_name']
> 
> ...where I get "List Index Out of Range".
> 
> I feel as though I'm confused about name spaces for TALES within the 
> form - can anybody help?

I would guess dictionaries() is returning an empty list...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZPT mailing list