[Zope] adding value to the path

Kate Legere klegere at kfpl.ca
Tue Feb 13 15:38:26 EST 2007


When I submit this: 

<input name="branch/manage_editProperties:method" type="submit"
class="form-element" value="Save Changes" / >




It works very nicely.
I'd like the user to choose the page to amend so I have a select option to
choose the page (in this case the one named 'branch'

<select size="3" width="100" name="pageName">
    <dtml-in "getParentNode().objectItems('DTML Document')" > 
        <dtml-if "id() != 'index_html'">
          <dtml-if "id() != 'editProperties'">
             <option value="<dtml-var id>"> <dtml-var title_or_id></option>
          </dtml-if>
        </dtml-if>
     </dtml-in>
   </select>


And I think this ought to work.. but it doesn't...


<input name=document.propForm.pageName.value+"/manage_editProperties:method"
type="submit" class="form-element" value="Save Changes" / >

It does absolutely nothing.

How do I pass it the value to the input name?

Katie



More information about the Zope mailing list