[Zope] question on objectValues

Chris Withers chris at simplistix.co.uk
Thu Jan 20 04:45:45 EST 2005


Peter Millar wrote:

> holden,
> 
> I don't know how to do this in dtml but in zpt I can create variables so
> rather than doing path="wombat/&dtml-id;/" I would in zpt anyway do a
> tal:define="mypath python:'wombat/'+getID()+'/'" and then have <folder
> path="" tal:attribute="path mypath"

what's wrong with just:

<folder tal:attributes="path string:wombat/${getId}/"

?

cheers,

Chris

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


More information about the Zope mailing list