JM schrieb:
> Wow, thanks for that!!! I understand now that this was way out of my
> reach. I wonder how the code automagically appears in the page, passing
> from the dict to the form via templates... and obviously I will have to
> spend many hours of research to figure this out.

Look at the source code of <turbogears>/view/templates/sidetemplate.kid,
<turbogears>/controllers.py (_process_output function) and
<turbogears>/widgets/base.py (Resource, CSSLink, JSLink, JSSuurce classes).

But concerning the passing around of arguments/parameters within widget classes
and instances, it is still not clear to me how it works exactly, even after
studying the source intensively.

I would be *very* grateful, if somebody could write up a comprehensive summary
on how data is passed around within widgets and when to pass additional
parameters to which method (__init__, update_params, display)!

Chris

--~--~---------~--~----~------------~-------~--~----~
 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