access to function from cherrypy.tree

View: New views
1 Messages — Rating Filter:   Alert me  

access to function from cherrypy.tree

by Psihonavt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello guys!

I have a controller - Controller1, with one exposed function - fun1.
What I want  is - get access to fun1 from another controller (i.e.
Controller2). Both controllers are mounted in common, another,
controller.

I've tried this: cherrypy.tree.apps
["mount_point_of_controller1"].root.fun1(*args), but nothing happens
(any erorrs, and no call of fun1)

thnx for any help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users@...
To unsubscribe from this group, send email to cherrypy-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---