Hello. I am trying to set a variable I create using REQUEST.set to sequence-number for a sequence I am looping through but cannot seem to do so. I tried several different variations but Zope flagged me with a syntax error. Any help would be greatly appreciated. Thanks. - Asad
On Tue, 2004-01-06 at 14:10, Asad Habib wrote:
Hello. I am trying to set a variable I create using REQUEST.set to sequence-number for a sequence I am looping through but cannot seem to do so. I tried several different variations but Zope flagged me with a syntax error. Any help would be greatly appreciated. Thanks.
Use the prefix attribute: <dtml-in my_list prefix=my_item> <dtml-call "REQUEST.set('my_val', my_item_number)"> </dtml-in> HTH, Dylan
REQUEST.set(_['sequence-number']) On Tue, 6 Jan 2004, Asad Habib wrote:
Hello. I am trying to set a variable I create using REQUEST.set to sequence-number for a sequence I am looping through but cannot seem to do so. I tried several different variations but Zope flagged me with a syntax error. Any help would be greatly appreciated. Thanks.
- Asad
_______________________________________________ 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 )
If you have a problem with code, then provide the code *and* the error message please. -aj --On Dienstag, 6. Januar 2004 17:10 Uhr -0500 Asad Habib <ahabib@engin.umich.edu> wrote:
Hello. I am trying to set a variable I create using REQUEST.set to sequence-number for a sequence I am looping through but cannot seem to do so. I tried several different variations but Zope flagged me with a syntax error. Any help would be greatly appreciated. Thanks.
- Asad
_______________________________________________ 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 )
participants (4)
-
Andreas Jung -
Asad Habib -
Dennis Allison -
Dylan Reinhardt