Hia guys,

I was wondering if any of you could give me a couple of hints about how to
make the _.{random,string,range,Datetime} thingies from a tag expression.

I.e. instead of doing this:

        <dtml-widget select options="[1,2,3,4,5,6,7,8,9,10,11,12,13]"
                        selected="[1,3,5,7,9,11,13">

This could be done:

        <dtml-widget select options="_.range(1,14,1)"
                        selected="_.range(1,14,2)">

Like this (with the DTML var tag):

        <dtml-var "[1,2,3,4,5,6,7,8,9,10]">

        <dtml-var "_.range(1,11)">

Thanks & cheers,

Morten


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to