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
>
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to