[Zope] batch processing problem

Timothy Wilson wilson@visi.com
Sat, 20 Jan 2001 10:25:41 -0600 (CST)


Hi everyone,

I was trying to throw together a page with some pictures of my brand-new
nephew for his parents to show to relatives. What should have been a
relatively simple <dtml-in> iteration through a folder full of images has
turned out to be headache inducing. I'm sure that there's something I'm just
not understanding, but I can't figure out why the following doesn't
work. I've tried many different combinations without success. You can see it
for yourself at http://208.42.140.222:9673/olsen/cullypics/ (Sorry, DNS
problems.)

<dtml-var standard_html_header>

<h2 align="center">Cullin Isaac Olsen</h2>
<h3 align="center">January 17, 2001<br>8 lb. 1 oz., 22 in.</h3>
<br>

<table align="center" cellspacing="10">
<dtml-in "PARENTS[0].objectValues(['Image'])" size=1 start=query_start
sort=display_order>
<tr>
 <td colspan="2">
  <span style="font: bold larger Verdana, Arial, Helvetica,
sans-serif">Picture #<dtml-var display_order></span><br>
  <a href="fullsize/<dtml-var id>_fullsize"><dtml-var sequence-item></a>
  <dtml-if title><h4 align="center"><dtml-var title></h4></dtml-if>
 </td>
</tr>
<tr>
 <td>
  <dtml-if previous-sequence>
   <p align="left"><a href="<dtml-var URL><dtml-var
sequence-query>query_start=<dtml-var previous-sequence-start-number>"><p
align="left">Previous picture</a></p>
  <dtml-else>
   &nbsp;
  </dtml-if previous-sequence>
 </td>
 <td>
   <dtml-if next-sequence>
    <p align="right"><a href="<dtml-var URL><dtml-var
sequence-query>query_start=<dtml-var next-sequence-start-number>">
   Next picture</a></p>
   <dtml-else>
    &nbsp;
   </dtml-if next-sequence>
 </td>
</tr>
</dtml-in>
</table>

<dtml-var standard_html_footer>

Any ideas?

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/