Am 14.08.2006 um 20:36 schrieb Don Morrison:

> I refactored some...
>
>    <select name="task" tabindex="2" onchange="ifnew_showdiv
> ('new_task')">
>
>      <option tal:repeat="record task_list"
>              tal:attributes="label record/name; value record/id"
> tal:content="record/name">
>      Example Option
>      </option>
>
>      <option label="New" value="New">New</option>
>    </select>

No need for the <div> to loop and no need to wrap you variable names
in cryptic abbreviations.

I tried removing the div and putting the repeat in the option tag and
it didn't work.
_______________________________________________
ZPT mailing list
ZPT@zope.org
http://mail.zope.org/mailman/listinfo/zpt

Reply via email to