[Zope] dtml-if and _.['sequence-item']

Marie Robichon robichon@esrf.fr
Mon, 18 Nov 2002 17:32:11 +0100


Hi everyone,

I canot get this example from the zope bible to work.  Any ideas 
anyone??  I am calling the form with a value for month in the namespace so 
that's not the problem:


<SELECT name="month">
  <dtml-in "('January', 'February', 'March', 'April',
            'May', 'June', 'July', 'August',
            'September', 'October', 'November', 'December')">
    <OPTION <dtml-if expr="month == 
_.['sequence-item']">SELECTED</dtml-if>value="<dtml-var 
sequence-item>"><dtml-var
    sequence-item></OPTION>
  </dtml-in>
</SELECT>

TIA

Marie Robichon

Web Task Force
European Synchrotron Radiation Facility
BP 220
38043 Grenoble Cedex
France


Tel: (33) 04 76 88 21 86
Fax: (33) 04 76 88 24 27