[Zope] adding value to the path

Jonathan dev101 at magma.ca
Tue Feb 13 22:40:55 EST 2007


----- Original Message ----- 
From: "Kate Legere" <klegere at kfpl.ca>
To: "'Jonathan'" <dev101 at magma.ca>; <zope at 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




More information about the Zope mailing list