[Zope] Re: Stupid ZPT/Product Question

Evan Simpson evan@4-am.com
Tue, 11 Mar 2003 10:12:34 -0600

Max M wrote:
>> In a class of my product I declare the following...
>> index_html = PageTemplateFile('www/Customer/index_html', globals())
>> What path would I use to display the id of my object in that index_html?

> <span tal:replace="here/id"/>

That will work, but in general you should use 'container' when referring 
to attributes of your object:

<span tal:replace="container/id" />

'here' allows for acquisition, which you probably don't want in this case.


Evan @ 4-am