[Zope] tal:attributes and onClick

Laura McCord Laura.McCord at doucet-austin.com
Mon Oct 4 14:26:06 EDT 2004


The following code performs an expansion using the onClick. 

  <a href="#" tal:attributes="onClick string:expandIt('${resString}');;
return false;">
          <IMG NAME="imEx" SRC="triUp2.gif" WIDTH=15 HEIGHT=15 BORDER=0
ALT="Expand/Collapse Item">
  </A>

Is there a way to add a tal:define on an onclick also? I need to define
the following: tal:define="info python:here.userInfo(username)" but I
want it defined in the on onclick as well.

Thanks.


More information about the Zope mailing list