Re: [Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-16 Thread Dieter Maurer
Marcin Kasperski writes: 1) How can I set standard DTML Document properties (title!) from my constructor? I created constructor form and constructor method, I succesfully prompt for and set all my properties but I do not know how to set properties belonging to DTML Document.

Re: [Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Marcin Kasperski wrote: dtml-with "mk_dtml_document.createInObjectManager(REQUEST['id'], REQUEST)" dtml-call "propertysheets.Extra.manage_editProperties(REQUEST)" dtml-comment How can I change original title? /dtml-comment dtml-call reindex_object /dtml-with

Re: [Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-15 Thread Dieter Maurer
Marcin Kasperski writes: I decided to subclass DTML Document and (using ZClass) create my own document class 1) How can I set standard DTML Document properties (title!) from my constructor? I created constructor form and constructor method, I succesfully prompt for and set all

[Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-14 Thread Marcin Kasperski
I decided to subclass DTML Document and (using ZClass) create my own document class (in fact I wanted all my documents to possess some standard properties and prompt for them on initialization and also to be CatalogAware). I succeeded (everything more-or-less works), but I still have some doubts: