Am 14.02.2013 23:15, schrieb vrs762:
This is what I'm doing in my .kid file:

There are several problems here. First, ${} is only for expressions. You need <?python ... ?> for embedding code blocks. Second, it looks like you want to iterate through your Python list on every click. But Kid templates are rendered only once. The attribute would be set to the first element of your list and that's it. You have to use JavaScript if you want something more dynamic.

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to