2 options: - don't have a parameter on your 'paramtest' script and instead iterate on context.REQUEST.form.items()
- keep a hidden variable in the form creation. eg. <input type="hidden" name="keys:list" tal:attributes="value item" /> then make 'keys' the only parameter of 'paramtest' and use this like this: for key in keys: value = context.REQUEST[key] On 8/29/05, Roman Klesel <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I'm dynamically generate a form e.g like this: > > <form action="paramtest" method="post"> > > <table class="normal"> > <tr valign="top" align="left" > tal:repeat="item > python:context.Templates.AddressTemplate.propertyIds()"> > > <td tal:content="item">bla</td> > <td><input type="text" > name="item" > value="" tal:attributes="name item; value > python:context.Templates.AddressTemplate.getProperty(item)"> > </td> > </tr> > <tr> > <td> > <input type="submit" value="Save"> > <input type="reset" value="Cancel"> > </td> > </tr> > </table></form> > > > How can I process the parameters with the target script? I don't know how > many parameters will be passed to the script by the form. I also don't > know their names. > > I allready tried various things and did some research in the docs and > lists but can't figure it out. > > I thougth of stuffing all the values in one list with the :records option > but couldn't it right. > > I tried : > > <td><input type="text" > name="item" > value="" tal:attributes="name addr.item:records; value > python:context.Templates.AddressTemplate.getProperty(item)"> > </td> > > but this also doesn't work. > > Will s.o. please help me to get on the right track? > > Greetings > > Roman > > _______________________________________________ > 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 ) > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com _______________________________________________ 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 )