[Grok-dev] returning the contents of a page template in a method
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
output = self.context.myappform()
Just not sure how to do this. Any pointers would be helpful
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Grok-dev