[Zope] request.set sequence value
Michael Bleijerveld
michael@bleijerveld.nl
Fri, 1 Aug 2003 15:44:07 +0200
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>)">
<form action="." method="post">
<input type="submit" name="showFiles:method" value="Volgende pagina"
style="font-family:Arial; color:white; background-color:rgb(0,153,255);">
</form
</dtml-if next-sequence>
This is the errorlog.
Traceback (innermost last):
a.. Module ZPublisher.Publish, line 98, in publish
b.. Module ZPublisher.mapply, line 88, in mapply
c.. Module ZPublisher.Publish, line 39, in call_object
d.. Module OFS.DTMLMethod, line 258, in manage_edit
e.. Module DocumentTemplate.DT_String, line 320, in munge
f.. Module DocumentTemplate.DT_String, line 340, in cook
g.. Module DocumentTemplate.DT_String, line 170, in parse
h.. Module DocumentTemplate.DT_String, line 223, in parse_block
i.. Module DocumentTemplate.DT_String, line 170, in parse
j.. Module DocumentTemplate.DT_String, line 223, in parse_block
k.. Module DocumentTemplate.DT_String, line 170, in parse
l.. Module DocumentTemplate.DT_String, line 223, in parse_block
m.. Module DocumentTemplate.DT_String, line 170, in parse
n.. Module DocumentTemplate.DT_String, line 223, in parse_block
o.. Module DocumentTemplate.DT_String, line 174, in parse
p.. Module DocumentTemplate.DT_Var, line 331, in __init__
q.. Module DocumentTemplate.DT_Util, line 278, in name_param
__traceback_info__: ({'expr': "REQUEST.set('query_start',<dtml-var
next-sequence-start-number>)"}, 'call', 1, 'name')
r.. Module RestrictedPython.Eval, line 51, in __init__
s.. Module RestrictedPython.Eval, line 78, in prepUnrestrictedCode
File "<string>", line 1 <br /> REQUEST.set('query_start',<dtml-var
next-sequence-start-number>) <br /> ^ <br /> SyntaxError: invalid syntax
Regards,
Michael
----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Michael" <qwerty@tiscalimail.nl>
Cc: <zope@zope.org>
Sent: Thursday, July 31, 2003 5:45 PM
Subject: Re: [Zope] request.set sequence value
> Michael wrote:
> > Hi,
> >
> > When using <dtml-call "REQUEST.set('prev_batch',<dtml-var
> > next-sequence-start-number>)"> I receive the following error.
> >
> > , for tag <dtml-call "REQUEST.set('prev_batch',<dtml-var
> > next-sequence-start-number>)">
>
> Might help if you actually included the error...
>
> ...and stopped posting in HTML ;-)
>
> Chris
>
>
> _______________________________________________
> 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 )
>
>