3 Apr
2001
3 Apr
'01
7:17 p.m.
Paul Winkler writes:
Is there a way to make a form that creates a DTML document and creates several properties of that document immediately? Sure:
<form action="customAddDocument" ....> .... </form> customAddDocument: <dtml-call "manage_addDocument(id,title)"> <!-- assuming "id" and "title" are in the REQUEST --> <dtml-with "_.getitem(id)"> <dtml-call "manage_addProperty(...)"> .... </dtml-with> More information: embedded Zope online help -> API-Reference -> PropertyManager, ObjectManager, DTMLDocument. Dieter