HI,
You could use crud command to get a quick example.
Return in controller:
@expose(...)
def list(...)
....
pylons.c.w.table = table_list(...)
return dict(value=value)
Call in template:
${tmpl_context.w.table(value)}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---