[EMAIL PROTECTED] ha scritto:
> Hello,
>
> I would like to modify a form component such as a submit button(using
> Turbogears Widgets) so that it has an associated click event. Do the
> form widgets have existing attributes that can be assigned to or is
> this something that needs to be implemented in a custom template or
> some other method?
>
> Thanks in advance,
>
> Horace
>
>   

attrs =  attribute

try to pass something like this:

attrs = dict(onclick="""alert( "Done!" )""")



Glauco

-- 
+------------------------------------------------------------+
 Glauco Uri  
 glauco(at)sferacarta.com 
                               
          Sfera Carta Software®       info(at)sferacarta.com
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to