[Zope] dtml-if question - please help!

A. B. Monta apbmonta at yahoo.com
Mon Oct 6 11:37:25 EDT 2003


Hi everyone,

The following dtml raises the following error message:
"unexpected end tag for dtml-if":

<dtml-if hotel_rate1>
<tr>
 <th align="right">Hotel Allowance A</th>
 <td align="right"><dtml-var hotel_rate1></td>
 <td align="right">x <dtml-var hotel_rate1_days></td>
 <td align="center">=</td>
 <td align="right">
  <dtml-let subtotal_hotel_rate1="_.float(hotel_rate1)
* _.int(hotel_rate1_days)">
  <dtml-var subtotal_hotel_rate1
fmt="dollars-and-cents"></td>
 <td>&nbsp;</td>
</tr>
</dtml-if>

Without the initial conditional, everything works
fine.  Is there some conflict between the conditional
and the manipulation of the namespace with dtml-let?

Cheers,
Anthony



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the Zope mailing list