21 Feb
2001
21 Feb
'01
7:59 p.m.
Itai Tavor wrote:
Hi,
I got a ZClass 'Test', with a DTML Method 'view' containing <dtml-var id>, and a DTML Document 'view2' with the same line. instance/view works. instance/view2 returns (ZDebug output):
From SimpleItem.py:
"""Direct use of the 'id' attribute is deprecated - use getId()""" The difference you're seeing is because the DTML Method is acquiring the id attribute, whereas you're getting the DTML Document's own id attribute. -- Steve Akexander Software Engineer Cat-Box limited http://www.cat-box.net