I tried doing something like (not sure if this is what you meant?):
class Controller:
    @expose()
    def index(self, **kw):
         if kw.get('action_kung'):
             self.kung(**kw)
         elif kw.get('action_foo'):
             self.foo(**kw)

     @expose(sometemplate1)
    def kung(self, **kw):
         ...
         return dict(kw=kw)

     @expose(sometemplate2)
    def foo(self, **kw):
         ...
         return dict(kw=kw)


Where I want kung to display sometemplate1 and foo to display
sometemplate2.  But if I un the above code, then it calls kung (or foo)
and then returns back to index() and continues... is there any way to
redirect to kung so that sometemplate1 is displayed?

Did that make sense?  I was actually getting lost writing my own
question, :)


Frank


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to