On Mon, Jan 9, 2017 at 10:55 AM, Anthony <[email protected]> wrote:
> Does response.menu have any pre-existing values, > Yes it does. Here is a link to the full source code of models/menu.py https://github.com/metaperl/trustnet/blob/master/models/menu.py > and does this happen with the public or logged in menu? > Public for now as I have not done the same thing with logged-in menu. > Maybe try inspecting the menu using a web2py shell > I did find some discussion of the web2py shell in the book: http://web2py.com/books/default/chapter/29/02/the-python-language#Starting-up but not enough to understand how to mimic a request and examine the value of response.menu > or print the menu to see what it contains. > Where would this print output go? Where would I put such a print statement? The program throws an exception and creates a ticket before a full request is serviced... If you want to see the full ticket, just visit this URL: http://web2py.metaperl.org/refbank > > Note, your "ignore" argument defaults to False, so all of your menu items > will be ignored by the MENU helper. > Oh I fixed that. Thanks. -- 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.

