The subcontrollers are class variables (not instance variables) of the
parent controller.  So dynamically adding a class variable seems to
work for me.

http://pastebin.com/3rkc0GXi

Step 1: With the above code if you visit http://<site>/leaf2 it will
return a 404.
Step 2: Visit http://<site>/install_leaf2
Step 3: Visit http://<site>/leaf2 and it will return the appropriate
subcontroller generated page

Hope that helps.

-- 
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