Пример #1
0
 def OnMethodGET(self, ctx, path):
     SubprocessRoaster = ctx.app.Services.SubprocessRoaster
     return CallView(SubprocessRoaster)
Пример #2
0
 def __call__(self, ctx, path):
     return CallView(ControllerGreeting='Msg from controller')
Пример #3
0
 def __call__(self, ctx, path):
     return CallView()
Пример #4
0
 def _CallView(self, ctx, formd):
     return CallView(formd=formd)
Пример #5
0
 def OnActionGreen(self, ctx, path):
     return CallView(color='green')
Пример #6
0
 def OnActionYellow(self, ctx, path):
     return CallView(color='yellow')
Пример #7
0
 def OnActionRed(self, ctx, path):
     return CallView(color='red')
Пример #8
0
 def OnMethodGET(self, ctx, path):
     return CallView(color='?')