You are not logged in Log in Join
You are here: Home » Members » Jfarr's Zope Page » Patches » dtml-break Patch

Log in
Name

Password

 

Overview

This patch adds a tag called dtml-break. This tag provides the ability to break out of a dtml-in sequence iteration.

Example:
<dtml-in sequence>
<dtml-if condition>
<dtml-break>
</dtml-if>
<dtml-var sequence-item>
</dtml-in>

Downloading

You can obtain the patch as either:

a tar file or
a diff file

Installing

Unpack the tar file in your top-level Zope directory. This will overwrite the following files:

lib/python/DocumentTemplate/DT_In.py
lib/python/DocumentTemplate/DT_String.py

These are modified versions of the files shipped with Zope 2.1.6.

Alternately, you can just use patch to apply the diff file to these files directly.

Please contact me at [email protected] with any problems or questions concerning this patch.