newbie question:accessing a method of a Product
Hi, I am a newbie in developping with zope. I am trying to set a webpage where I can upload a image by calling the EasyImage product. How can I call addEasyImage from a dtml document? I need to do something like: <dtml-var addEasyImage> but for that I need to be in the right namespace? I can't figure out how to do it! My webpage should display the upload form of an image object. Any hints welcome. Thanks Alex -- o Alexandre Gillet email: gillet@scripps.edu / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860
Am Don, 2002-09-05 um 00.31 schrieb Alexandre Gillet:
Hi,
I am a newbie in developping with zope. I am trying to set a webpage where I can upload a image by calling the EasyImage product. How can I call addEasyImage from a dtml document? I need to do something like: <dtml-var addEasyImage> but for that I need to be in the right Well, I'd personally stick with Python Scripts for this, but the method you look for is called something like manage_addProduct['EasyImage'].manage_addEasyImage For the parameters look at the forms used by the management interface.
Andreas -- Andreas Kostyrka <andreas@kostyrka.priv.at>
participants (2)
-
Alexandre Gillet -
Andreas Kostyrka