You pass a name "value" to the widget in your template. But you don't
return value as part of the testing-controller.
I have no idea what tw.rating does, nor what the value the widget
might or might not get is supposed to look.
Diez
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.
> That is true Diez.. but am just following the tutorial here ..http://turbogears.org/2.1/docs/main/ToscaWidgets/Using.html
>
> Thanks for replying!
> Vivek
The tutorial is wrong then. It's obvious that passing something to a
widget can only be done if the "something" is defined first. Again, I
have no idea what tw.rating is supposed to do. I can only suggest to
not pass anything at all, so just remove the "value" from the display-
call.
Diez