Hello,
I'm uploading some files thru a form and i want to setup some new
properties just after the upload (who done the upload and so...)
So i have a DTML method (addProperty) who does the
manage_addProperties and i want to simply call
..../.../ID/addProperty for that.
I also need to know the ID in order to check.if a previous version for
this document was already upload
Problem is i don't give any ID to the file uploaded since with and
empty ID in manage_addFile, the file name is automatically setup
as ID.
<dtml-call expr="manage_addFile
(' ',REQUEST['myFileBin'],REQUEST['myTitle'])">
I guess it's an obvious trick but i can't find a way to get and
manipulate the ID for cheking existing file and calling addProperty.
and i dind't find info thru the documentation.
As a workaround I can put a forged ID but file name seems better
for my needs.
Thanks for any tip.
Didier Georgieff
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )