[Zope] Arguments to callbacks?

Jan Johansson jan.johansson@viking-telecom.com
Tue, 26 Feb 2002 11:21:25 +0100


I have the below code, which doesnt work as expected. Everythime i =
execute it, "sortid" seems to be turned into an array with another =
elemet tacked on every iteration?
What i want to do is use URL which performs a callback, and then passes =
the var "sortid" to the getCSBans method...=20

sortid on first attempt is "timestamp"
if i then click "wonid" i get ['timestamp', 'wonid']=20

What am i not understanding?

<dtml-var standard_html_header>
<small>F=F6r att uttf=F6ra en operation, klicka i rutan brevid knappen =
och klicka p=E5 respektive knapp.
</small><br><br><br>
'<dtml-var URL>'
<br>
<dtml-var REQUEST>
<dtml-if sortid>
<dtml-var sortid>
</dtml-if>
<dtml-in expr=3D"getCsbans(sort=3D'<dtml-var sortid>')" size=3D100 =
start=3Dquery_start>
   <dtml-if sequence-start>

      <dtml-if previous-sequence>

        <a href=3D"<dtml-var URL><dtml-var =
sequence-query>query_start=3D<dtml-var previous-sequence-start-number>">
        (Previous <dtml-var previous-sequence-size> results)
        </a>

      </dtml-if previous-sequence>

      <table border>
        <tr>
          <th><a href=3D"<dtml-var URL><dtml-var =
sequence-query>sortid=3Dwonid">Wonid</a></th>
          <th><a href=3D"<dtml-var URL><dtml-var =
sequence-query>sortid=3Dtimestamp">Tidpunkt f=F6r ban</a></th>

[snip]