[Zope] request.set sequence value

Chris Withers chrisw@nipltd.com
Tue Aug 5 11:08:20 EDT 2003


Jaroslav Lukesh wrote:
>>"REQUEST.set('query_start',_.getitem('next-sequence-start-number'))">
>>
> 
> Hi, try that:
> 
> <dtml-call "REQUEST.set('query_start',_['next-sequence-start-number'])">

Be careful with this, that will call the thing obtained from the namespace if 
it's callable, which is not often what you want.

The code I gave will do exactly the same thing but just won't call the result ;-)

Chris





More information about the Zope mailing list