6 Nov
2001
6 Nov
'01
10:06 p.m.
sbergmann@weblog.de writes:
... <INPUT TYPE="file" NAME="temp_file:string" SIZE="25" VALUE=""> ...
The following method should add a DTMLDocument with the content of the file:
<dtml-let new="homepage_menue_links.createInObjectManager(REQUEST ['temp_id'],REQUEST)"> <dtml-call expr="new.manage_addDTMLDocument (temp_id,temp_title,temp_file)"> ... </dtml-let>
But Zope adds a DTMLDocument with the path of the file, like 'C:\folder\file.html' Does anybody know what is wrong? You tell Zope to convert "temp_file" into a string...
Remove the ":string" inside the "input type=file" control! Dieter