[Zope] request.set sequence value

Chris Withers chrisw@nipltd.com
Sat, 02 Aug 2003 15:26:13 +0100


Michael Bleijerveld wrote:

> Hello Chris,
> 
> Here are the statements which generates an error.
> 
> <dtml-if next-sequence>
>      <dtml-call "REQUEST.set('query_start',<dtml-var
> next-sequence-start-number>)">

Okay, you can't do this!

you want:

<dtml-call "REQUEST.set('query_start',_.getitem('next-sequence-start-number'))">

FWIW, you should be doing this in ZPT by now to avoid this kind of suffering...

Chris