Hello,
I created one widget to display some text.
The problem with the widget is that it fails to show the data
Eg :
in widget.py
i made data=['aa','bb',cc']
on the kid
${data} works fine
but when i write the loop using py:for i do not render.
I put this in the kid
<td py:for="d in range(10)" py:content="d"/>
but it donot displays on inscpecting element it shows "<td py:for="d
in range(10)" py:content="d"/>"
If i try like
<td py:for="d in range(10)" >${d}</td>
It gives error d is not defined.
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---