"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > The last TG post I asked a week ago had to do with writing > subcontrollers which had the same scope as the controller.py file, so I > could do away with the middleman dir. I tried it but it didn't have > the results I wanted. > > I looked at all the example TG apps and they either have a very large > controllers file or have subcontrollers with the middleman directory > problem. > > Is there another way to do this?
In your main controller: page = page.Page() page2 = page2.Page() page3 = page3.Page() And so on. If you wanted a new page from the page module: page4 = page.Page2() page5 = page.anotherpage.AnotherPage() Remeber that this is Python ;-) -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

