[Zope] example of REQUEST.form.keys() or REQUEST.form.items()?

Tom Cameron tom@cameron.to
Mon, 17 Sep 2001 18:50:07 +1000


This may help....

<dtml-in "REQUEST.form.items()" sort=sequence-key>
<dtml-var sequence-key> : <dtml-var sequence-item>
</dtml-in>

Tom

=> -----Original Message-----
=> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris
=> Cioffi
=> Sent: Monday, 17 September 2001 4:23 AM
=> To: zope@zope.org
=> Subject: [Zope] example of REQUEST.form.keys() or REQUEST.form.items()?
=>
=>
=> I've created a form with several dynamically named fields.  I can see the
=> fields and the data with <dtml-var "REQUEST.form.items()">, but
=> I don't know
=> how to access the data within a <dtml-in ...> loop.  How do I access the
=> variables?  The Zope book doesn't say and other
=> documentation/examples has
=> eluded my searching so far.
=>
=> Chris
=>
=>
=> _______________________________________________
=> Zope maillist  -  Zope@zope.org
=> 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 )
=>