[ZPT] Help referencing variables

Chris Withers chris at simplistix.co.uk
Fri Feb 4 06:14:06 EST 2005


Jon Bowlas wrote:

> I've sorted it with: python:path(string('here/$albumname/hasChildNodes'))

yuk.

Wha tyou really want is:

tal:define="haskids here/?albumname/hasChildNodes"

cheers,

Chris

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


More information about the ZPT mailing list