[Zope] Exiting a Loop

Asad Habib ahabib at engin.umich.edu
Wed Jun 15 13:15:29 EDT 2005


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.

- Asad


On Wed, 15 Jun 2005, J Cameron Cooper wrote:

> Asad Habib wrote:
> > Is there a way to exit a <dtml-in> based loop? I searched numerous
> > resources but did not find anything on this topic that relates to the
> > <dtml-in> tag. Any help would be greatly appreciated. Thanks.
>
> There is no such provision. You shouldn't be doing such a thing anyway:
> that sounds like programming. Keep logic in programming languages (like
> Python scripts) and display the results in a template (ZPT or DTML).
>
> 		--jcc
>
> --
> "Building Websites with Plone"
> http://plonebook.packtpub.com/
>
> Enfold Systems, LLC
> http://www.enfoldsystems.com
>


More information about the Zope mailing list