<tal:repeat repeat="group groups/existing/high">
    <option tal:define="js_arg python:sp_info[group];"
            tal:content="group"
            tal:attributes="onmouseover string:doTooltip(event, 
'${js_arg}/common_name}')"             
            onmouseout="hideTip()">
    </option>
</tal:repeat>

The <tal:repeat> tags are to make sure the order of TAL operations
works properly with the tal:define being done *after* the tal:repeat.
Hope this helps.

Ross
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to