dtml-in with ZSQL batch processing (DTML-Error)
Hi, I want a table with the "nextBatch" link on top, like prevBatch nextBatch data data data I tried the following code: <dtml-in ZSQL start=qs size=5> <dtml-if sequence-start> <TABLE> <dtml-if prev-sequence> prevBatch </dtml-if> <dtml-if next-sequence> nextBatch <-- This will never be printed </dtml-if> </dtml-if> </dtml-in> Any hints Thanks Ulli -- ----------------- 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 ------------------
Ulrich Wisser schrieb:
Hi,
I want a table with the "nextBatch" link on top, like
prevBatch nextBatch data data data
I tried the following code:
<dtml-in ZSQL start=qs size=5> <dtml-if sequence-start> <TABLE> <dtml-if prev-sequence> prevBatch </dtml-if> <dtml-if next-sequence> nextBatch <-- This will never be printed </dtml-if> </dtml-if> </dtml-in>
Any hints
instead of <dtml-if next-sequence> try: <dtml-if "_['sequence-index'] + _['sequence-step-size'] < _['count-id']"> <a href="mksuche?query_start=<dtml-var " _['sequence-index'] + _['sequence-step-size'] + 1"-->> (Zu den nächsten Such-Ergebnissen) </a> </dtml-if--> This seems to work. hth, Thomas -- fon: ++49 (0)40 42878 3781 fax: ++49 (0)40 42878 2728
participants (2)
-
Thomas Weiner -
Ulrich Wisser