Hi everybody,

I am trying to upload a ZClasses product through load_site.py, but can't
seem to figure out how to call it.

In dtml, I use the following to create an instance of the product

      <dtml-call "REQUEST.set('id', brandnewandunique_id)">
      <dtml-with "manage_addProduct['TeiDocument']">
      <dtml-call "TeiDocument_add(_.None, _, NoRedir=1)">

I was trying to use manage_addProduct, as defined in Products.py, but could
not figure out, how to pass the meta_type to the call.

The ZClass product is derived from the XMLDocument and the files I want
upload are some xml files.

Any help appreciated!

All the best,


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to