----- Original Message -----
From: "Kate Legere" <[EMAIL PROTECTED]>
To: "'Jonathan'" <[EMAIL PROTECTED]>; <zope@zope.org>
Sent: Tuesday, February 13, 2007 4:51 PM
Subject: RE: [Zope] adding value to the path
Thanks for the clean-up - I was trying && and not getting anywhere.
That said, using the text field as an input method and then passing it on
doesn't work either.
<input name=id+"/manage_editProperties:method" type="submit"
class="form-element" value="Save Changes" / >
If it helps - I'd like the user to be able to modify the properties of a
DTML Document that they choose from a single edit form. I'm fine if I
specify the path but I need them to add the page name to the path, hence
the
addition before the /manage_editProperties:method
If I was doing this I would have an html form that prompted the user to
enter the property field data and prompted the user for the document to be
modified (perhaps from a select list) and then passed all of this info to a
python script (python script name is specified in the 'action' attribute of
the html form stmt) which accessed the target DTML Document using
"restrictedTraverse" and then modified the property fields using
"manage_changeProperties".
Jonathan
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )