[Zope] How to display only x records with <dtml-in>

Timothy Wilson wilson@visi.com
Mon, 15 Jan 2001 22:56:13 -0600 (CST)


Hey everyone,

I've got a method to display some text which uses 
<dtml-in "objectValues(['Spam and Eggs'])">
to iterate through a bunch of "Spam and Eggs" ZClass instances. I thought
that I could use size="2" in the <dtml-in> to display only the first two
instances, but it's not working. I want to display only the first two and
use a link at the bottom to direct people to see the rest on a separate
page. 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/