Thanks all for your help! It seems to work even if my sub controller just inherits the "object" class.
tpn On Sun, Sep 26, 2010 at 8:45 AM, percious <[email protected]> wrote: > There is also TGController, which is what you may be looking for. > TGController does the "ordinary" object dispatch. > > cheers. > -chris > > On Sep 24, 2:35 am, Christoph Zwerschke <[email protected]> wrote: >> Am 24.09.2010 00:41 schrieb Thang Nguyen: >> >> > I am trying to create sub controllers for my application. From the >> > online document, I should inherit Controller class for my >> > subcontroller, as shown in one of online examples (MovieController). >> > Supposedly the definition for Controller class is in base.py; however, >> > I could not find it there. I attached the file "base.py" at the end >> > of this email. Am I missing something? >> >> Are you using TG 2.0 or 2.1? If 2.1, use the current >> docs:http://turbogears.org/2.1/docs/main/Controllers.html >> Controller has gone, there is only BaseController. >> >> -- Christoph > > -- > 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. > > -- 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.

