RE: [Zope-dev] ZClass superclassing DTML Document
-----Original Message----- From: Jason Spisak [mailto:webmaster@hiretechs.com] Sent: Monday, September 13, 1999 10:02 AM To: zope-dev@zope.org Subject: [Zope-dev] ZClass superclassing DTML Document
Zopifites,
I have posted this question before to no avail and submitted it to the collector. I probably didn't phrase it succinctly enough so I'll try again.:^)
I have a ZClass that uss DTML Document as a Base Class. When I create an instance of it, the 'id' property shows up in the management interface, but doesn't show up with a <dtml-var id> inside itself, or in the tree tag. This same code worked in beta3 and 4 then it shanked in beta 5 and is still shanked. Any ideas?
Try <dtml-var document_id> -Michel
No dice. Interesting thing is, this happens if I use DTMLMethod as the Base class too. Here is my addForm code: <!--#with "FooClass.createInObjectManager('my_id', REQUEST)"--> <!--#if "REQUEST.has_key('file')"--> <!--#call "propertysheets.FooProperties.manage_changeProperties( resume=REQUEST['file'].read())"--> <!--#/if--> <!--#call "manage_edit(template,REQUEST['title'])"--> <!--#call reindex_object--> <!--#/with--> The ZClass is CatalogAware first, then DTML Document second in Base classes. The value of id for the object is not coming up. If I try to rename it in the management interface, it shows the id is '<string>', and when I click rename it goes to '.' as the action. That can't be right. Jason Spisak
Try <dtml-var document_id>
-Michel
participants (2)
-
Jason Spisak -
Michel Pelletier