T.directive -> function/method names in stan
1 Dec
2006
1 Dec
'06
2:56 p.m.
The formal code contains (in the examples.main module) this construct: T.body[ T.h1(data=T.directive('title'), render=rend.data), T.p(data=T.directive('description'), render=rend.data), T.directive('form example'), ], Can someone point me at the bit of nevow code that results in that calling: class anexample: def form_example(self, ctx): # stuff The stan flattener container a DirectiveSerializer that just looks for an IRendererFactory on the context and calls factory.renderer(ctx, name) but as far as I can tell it ought to end up calling: page.render_form('example')
6328
Age (days ago)
6328
Last active (days ago)
3 comments
3 participants
participants (3)
-
Jean-Paul Calderone
-
Michael Hudson
-
Phil Mayers