I have defined a widget as follows:

class TopLink(Widget):
    params = [myparam]
    params_doc = { 'myparam': 'bla bla bla' }
    template = 'project.templates.template1'
    retrieve_css = set_with_self
top_link = TopLink()


Now I want my index.kid template to call this widget.

1. How can I call it from within the index.kid template?

2. I need to populate the parameter myparam with data.  Shall I do it
in the widget code, or in the controller?

Thanks


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