http://www.zope.org/Members/jfarr/Patches/dtml-break I requested that this page be cataloged but it never was. I also submitted it as a patch to the distribution but it was refused. Something about a new dtml-in implementation that I haven't seen materialize in the last 5 versions or so. I would use patch with the diff file rather than overwriting your existing files since these patches were made to 2.1.6. --jfarr ----- Original Message ----- From: "Geoffrey L. Wright" <geoff@northernwastes.org> To: <zope@zope.org> Sent: Wednesday, January 17, 2001 3:04 PM Subject: Re: [Zope] Stopping a <dtml-in>
Dieter Maurer <dieter@handshake.de> writes:
Diego Rodrigo Neufert writes:
<dtml-in "_.range(1000)"> ....code... <dtml-if valueOk> STOP THE LOOP </dtml-if> </dtml-in> A long time ago, someone has implemented a "dtml-break" tag.
Wow. That's good to know. I just created some fairly ugly code to get around the lack of something like a dtml-break.
I just tried searching for it on zope.org, on the mailing lists, and using google for good measure. Didn't find any mention of it anywhere. If anybody does come up with a link I'd love to see it.
I wonder why there's nothing like that natively..?
file://glw
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )