[Zope] How to do this trick..
Ross Patterson
me at rpatterson.net
Mon Mar 27 18:11:28 EST 2006
<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
More information about the Zope
mailing list