Trying to embrace the multi controller approach, I put the function*
myfunc()* in a new controller: *myctl.py*
However, entering in a browser: *http://mydomain/myapp/myctl/myfunc* results
*invalid function (default/myfunc)*
Also adding a menu item:
response.menu += [(T('Test menu'), False, URL('myctl', 'myfunc'), [])]
Result the same error
My routes.py :
routers = dict(
BASE = dict(
default_application='myapp',
)
)
Web2py version 2.14.6 running on Windows with the Rocket web server on port
443 with ssl
Thanks for more specific multi controller howto
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.