25 Apr
2000
25 Apr
'00
8:41 a.m.
Sin Hang Kin wrote:
Can I edit the DTML Document and its properties in one form.
Yes, if you combine the forms and edit methods ;-) Your best bet is to take the form code from Zope Management interface (most of it is in the Zope installation tree). Make the form action a custom dtml method that does a combined manage_edit on the DTML Document and a manage_changeProperties(REQUEST) on the properties. There is an example specifying this in the standard ZClass creation method.
Can this be extended to Zclass?
yes, idem. Of course, if you use a special propertysheet name, you'll have to specify it. Rik