I'm in the planning phase of merging three existing TG apps into one app
with three controllers. The documentation on this is a little slim, so I
wanted to make sure I wasn't making any false assumptions.Roughly
following the `tg-admin quickstart -t tgbig` template I plan to setup
project A as my root controller, then projects B and C live under
host:8080/B and host:8080/C.
My main question is keeping my urls straight. So in project B where I
had previusly called "tg.url('/')" I should instead do "tg.url('./')" or
would "tg.url('/B/')" be more appropriate? Are there any helper
functions to from controller B make a call to a method in controller C?
Also is there an easy way to say that all the templates referenced by
controller B live in project/templates/B or do I need to specify
@expose(template="/B/mytemplate.mak"), I'm ok with doing it this way,
but figured there may be some ninja tricks I don't know about.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---