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):


"""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

Steve Akexander
Software Engineer
Cat-Box limited

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to