[Zope] how improving dtml-in nested?

Dieter Maurer dieter at handshake.de
Wed Jun 21 17:36:24 EDT 2006


mbr wrote at 2006-6-20 09:58 -0500:
> ...
><dtml-let RS=AnotherZSQLMethod>   <----return results to one variable
>   <dtml-in ZSQLMethod>
>      <tr>
>         <td>&dtml-field1; </td><td>&dtml-field2; </td>
>         <td>
>            <select>
>               <dtml-in RS>
>                   <option <dtml-if
>expr="anotherfield1==field3">selected</dtml-if>
>value="&dtml-anotherfield1;">&dtml-anotherfield2;</option>
>               </dtml-in>
>            </select>
>         </td>
>      </tr>
>   </dtml-in>
></dtml-let>
>
>i think this is more quick Check data in memory (variable RS) what a
>ZSQLMethod. But is real. RS is a result of ZSQL or a instance?

You idea (and thinking) was very good!



-- 
Dieter


More information about the Zope mailing list