Did you try <dtml-try> around the loop and <dtml-raise> inside of it?
Never done this myself, just a thought.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of J Cameron Cooper
> Sent: Wednesday, June 15, 2005 1:37 PM
> To: Asad Habib
> Cc: email@example.com
> Subject: Re: [Zope] Exiting a Loop
> Asad Habib wrote:
> > Yes, I should not be doing this but I am using DTML not ZPT
> and since
> > DTML provides programming functionality and in this case
> the ability
> > to loop, there should be a way to exit a loop as well.
> DTML is not a complete programming language; it simply provides some
> (too-) familiar structures. You may try to treat it as such,
> and can get away with it to a certain extent, but you may run
> into limitations.
> If you treat it as a templating engine (which it is) you will
> find it complete.
> "Building Websites with Plone"
> Enfold Systems, LLC
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -