Zope has me stumped.
I want to make a _simple_ form and process to add a folder then insert
into that folder some properties and an image. Here is what I am
trying with my DTML method for processing the form request:
<dtml-call "manage_addFolder(REQUEST['id'],REQUEST['title'])">
<dtml-with "REQUEST['id']">
<dtml-if image>
<dtml-call "manage_addImage('image',image)">
</dtml-if>
<dtml-call "manage_addProperty('example',example,'text')">
</dtml-with>
<dtml-call "RESPONSE.redirect(URL1+'/manage_workspace')">
I thought by using the <dtml-with> and the folder id that the
subsequent manaage_add* would add to the newly created folder. I know
I'm on the right track for when I hardcode the folder name (replace
REQUEST['id'] with a string) what I want to do works.
Thanks for any help.
--
....................................................................
. John Verzani mailto:[EMAIL PROTECTED] .
. Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani .
. City University of New York tel: (718) 982-3623 .
. College of Staten Island fax: (718) 982-3631 .
. Staten Island, NY 10314 .
....................................................................
_______________________________________________
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 )