[Zope] DTML-IN batch processing broken?

Ulrich Wisser u.wisser@luna-park.de
Tue, 16 Nov 1999 12:04:08 +0100


Hi folks,

is there a known error in DTML for batch processing?
I can't get it to work with ZSQL. Although I copied
all demo code from DTML Reference. Is it my fault?
Or is dtml-in broken?

Whatever I do the next-sequence property will never 
be true. 

Thanks

Ulli

Here is what I use:

    <dtml-in sqlListDirectories size=5 start=qs>
      <dtml-if sequence-start>
        <TR><TD COLSPAN=2 CLASS="contenttitle">Verzeichnisse 
          <dtml-var sequence-step-start-number> - <dtml-var
sequence-step-end-number> (total: <dtml-var count-name>)
        </TD></TR>
        <TR>
          <TD ALIGN=LEFT>
            <dtml-if previous-sequence>
              <A HREF="<dtml-var document_id><dtml-var
sequence-query>qs=<dtml-var previous-sequence-start-number>">Vorherige
Seite</A>
            <dtml-else>
              &nbsp;
            </dtml-if>
          </TD>
          <TD ALIGN=RIGHT>
            <dtml-if next-sequence>
              <A HREF="<dtml-var document_id><dtml-var
sequence-query>qs=<dtml-var next-sequence-start-index>">N&auml;chste
Seite</A>
            <dtml-else>
              &nbsp;
            </dtml-if>
          </TD>
        </TR>
      </dtml-if>
      <TR>
        <TD><A HREF="dtEditDirectory?dirid=<dtml-var id>"><dtml-var
name></A></TD>
        <TD><A HREF="<dtml-var url>"><dtml-var url></A></TD>
      </TR>
    <dtml-else>
      <TR><TD CLASS="contenttitle">Verzeichnisse</TD></TR>
      <TR><TD><H2>Keine Verzeichnisse vorhanden</H2></TD></TR>
    </dtml-in>
-- 
----------------- Die Website Effizienzer ------------------
luna-park                Bravo Sanchez, Vollmert, Wisser GbR
Ulrich Wisser                   mailto:u.wisser@luna-park.de
Alter Schlachthof, Immenburgstr. 20      Tel +49-228-9654055
D-53121 Bonn                             Fax +49-228-9654057
------------------http://www.luna-park.de ------------------