Actually, I just put in my default.py file the only controller file I am
using.
I place it before all the other methods that I initialize.
I am lookingto it more now.
Regards,
Jason


On Mon, 2009-05-18 at 03:55 -0700, [email protected] wrote:
> Jason,
> 
> Just a thought ... Did you put the response.menu in a model or in a
> controller? I use the following rule of thumb to decide where to put
> response.menu.
> 
> If all controllers have the same navigation, you can put response.menu
> in a model, e.g. menu.py. If different controllers have different
> menus you can put response.menu in each controller, or in the
> functions.
> 
> In the functions, you can also append, insert and delete items from
> the default menu.
> 
> 
> In my case I have a response.controller_menu in a model and a
> response.function_menu in their respective controllers, which works
> great.
> 
> 
> Kind regards,
> 
> Annet.
> 
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to