[Zope] help

Paul Winkler pw_lists@slinkp.com
Fri, 1 Nov 2002 08:10:56 -0800


On Fri, Nov 01, 2002 at 10:23:30AM -0500, Reichman, Tal (NIH/NCI) wrote:
> I am a newbie so I must appoligize for my current lack of knowledge.
> Can I create a while loop in a template...

You can do <dtml-in foos> to loop over a sequence in dtml,
and <span tal:repeat="foo foos"> to loop over a sequence
in zpt. There are no other looping constructs.
So you always need to think of how to create a sequence
representing the items you want to loop over.

 Your lack of knowledge will gradually diminish
if you read the Zope book. (online version at
zope.org, in the Documentation section.)

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"