[ZPT] Help referencing variables

Jon Bowlas me at jonbowlas.com
Fri Feb 4 06:32:10 EST 2005


I'll give it a try.

Cheers

-----Original Message-----
From: zpt-bounces at zope.org [mailto:zpt-bounces at zope.org] On Behalf Of Chris
Withers
Sent: 04 February 2005 11:14
To: me at jonbowlas.com
Cc: zpt at zope.org
Subject: Re: [ZPT] Help referencing variables

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
_______________________________________________
ZPT mailing list
ZPT at zope.org
http://mail.zope.org/mailman/listinfo/zpt



More information about the ZPT mailing list