[Grok-dev] returning the contents of a page template in a method
David Bain
david.bain at alteroo.com
Sun Nov 4 18:45:04 EST 2007
I have an object (a grok.Application), I use self.context to retrieve it and
get something like this [<myapp.app.MyApp object at 0x36144f0>].
I have a page template location src/myapp/app_templates/myappform.pt
I'd like to be able to call myappform.pt in a method
something like:
output = self.context.myappform()
return output
Just not sure how to do this. Any pointers would be helpful
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20071104/22f97d81/attachment.htm
More information about the Grok-dev
mailing list