Hello,
I just spent an awful lot of time discovering the hard way that
${value} isn't automatically available to the kid template with a class
inheriting from CompoundWidget like it is with Widget. Along the way, I
also noticed that you can't just pass in named parameters like
item=['list','of','stuff'] to a Widget's render() method and have it
available in the kid template, but you _can_ do this with a
CompoundWidget's render() method. Is this difference documented? I
really tried to look this up but didn't find it anywhere.
Aside from the obvious observation that CompoundWidgets house multiple
widgets while Widgets involve a single Widget, could someone comment on
why there are the differences (at least that I perceive) in the way
that render() works.
Is it abusing the style to always use a CompoundWidget instead of
Widget because I find the way render() works to be more convenient?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---