[web2py] Re: Menu Refresh

2010-07-16 Thread Iceberg
One more comment. If your app is simple enough (most are), to use just one controller, it does not have much difference between define your menu in models/menu.py or at the beginning of controllers/default.py, and the latter gives you most flexibility to control what your menu shows up. On Jul12,

[web2py] Re: Menu Refresh

2010-07-12 Thread mdipierro
Hello Casey, the problem is models files (including menu.py) are executed alphabetically before the controller.py. It is possible that your menu is built before the session variables are updated. This is likely the case if the session is modified in the controller. If only a few functions make ch