Hallo Alexander,
this works for me-
dtml- with "manage_addProduct['myProduct']"
dtml- call "NewFolder_add (_.None, _, NoRedir=1)"
/dtml-with
dtml-with "_.getitem(idOfNewFolder)"
dtml- with "manage_addProduct['myProduct']"
Hi Alexander,
I think I've made a mistake.
I thought you are about ZClasses.
My snippet adds two ZClasses (a folder-like and a document).
These Classes are self-defined(take a look at the HowTos or the
Developer-Guide"http://www.zope.org/Documentation/Guides/ZDG").
For you this is sufficient -