[Zope] Exiting a Loop

J Cameron Cooper zope-l at jcameroncooper.com
Wed Jun 15 12:08:29 EDT 2005


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