[Zope-dev] Uploading part of a product in constructor method
Andrew Golovin
Andrew Golovin <exper@inbox.ru>
Sat, 1 Apr 2000 17:37:34 +0600
Hello!
I'm trying to create a product to store HTML-file with comment and
title fields. In product i have file with id "text". Add form looks:
...
<tr><th>File</th>
<td><input type="file" name="file"></td>
</tr>
...
Add method:
...
<dtml-with "manage_clone(ArticleClass,REQUEST['id'],REQUEST)">
<dtml-call "text.manage_upload(REQUEST['file'])">
...
After adding instance of product in folder i have path string in
file text instead of downloaded html-source. what i'm doing wrong?
don't tell me to use python external method in product. i want to
do it in terms of dtml.
thanx in advance.
Best regards,
Andrew
http://exper.ural.ru/
mailto:exper@inbox.ru