[Zope] Proposal: Include tino's patched <dtml-in> in future Zope

Hamish Lawson hamish_lawson@yahoo.co.uk
Mon, 26 Feb 2001 15:30:31 +0000 (GMT)


I propose including tino's patched version of the <dtml-in> tag in a
future version of Zope.

http://www.zope.org/Members/tino/in_tag_patch/

It provides two enhancements:

1. For all variables that include hyphens there are aliases that use
underscores.

So instead of 

    <dtml-var expr="_['sequence-item'] * 3">

you can write

    <dtml-var expr="sequence_item * 3">

2. You can choose the prefix to be used for sequence variables.

    <dtml-in ... prefix="outer">
        <dtml-in ... prefix="inner">
            <dtml-var expr="outer_item * inner_item">
        </dtml-in>
    </dtml-in>


Hamish Lawson

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie