I want to implement a submenu of a submenu within Web2py, but as it is, no submenu of submenu 'Communications' is showing. Below is my code:
response.menu = [] submenu=[] submenu2=[] response.menu += [[(SPAN(_class='glyphicon glyphicon-wrench',_style='padding:0px 5px;color:black;'),(T('Management'))), False,URL(app, 'default', ''), submenu]] submenu.append([(SPAN(_class='glyphicon glyphicon-user',_style='padding:0px 5px;color:black;'),T('Users')), False, URL(app, 'default', 'userManagement')]) submenu.append([(SPAN(_class='glyphicon glyphicon-phone',_style='padding:0px 5px;color:black;'),T('Communications')), False, URL(app, 'default', 'view'), submenu2]) submenu2.append([(SPAN(_class='glyphicon glyphicon-file',_style='padding:0px 5px;color:black;'),T('Mobile')), False, URL(app, 'default', 'viewMobile',args=['movel'])]) submenu2.append([(SPAN(_class='glyphicon glyphicon-file',_style='padding:0px 5px;color:black;'),T('Phone')), False, URL(app, 'default', 'viewPhone',args=['fixo'])]) What am I possibly missing? -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.