Victor
unread,Jul 31, 2009, 12:18:10 PM7/31/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TurboGears
Hi,
I want to expose some of my method with genshi text template. How can
I do that?
For example:
@expose("myproject.templates.foojavascript.js"):
# do something here
return dict(data = "[1, 2, 3]");
foojavascript.js:
var data = ${data}
It might looks like this. I want to do that with TurboGears2, how to
do?
thanks.
Victor Lin.