Hi, I'm just following the tutorial as a base for concept app, i'm using response.menu for get a menu in my page but i getting the following error:
Error traceback Traceback (most recent call last): File "/Users/ra/codigo_fuente/web2py/gluon/restricted.py", line 62, in restricted exec ccode in environment File "/Users/ra/codigo_fuente/web2py/applications/main/controllers/ default.py", line 13, in <module> [T('Register'),False,t2.action('registrarse')] TypeError: 'NoneType' object is unsubscriptable My code: response.menu[ [T('Main'),False,t2.action('index')], [T('Login'),False,t2.action('entrar')], [T('Register'),False,t2.action('registrarse')] ] def registrarse(): return dict(form=t2.register()) def entrar(): return dict(form=t2.login()) def salir(): t2.logout(next='index') def index(): aplicaciones=self.itemize(db.apps) return dict(Aplicaciones=aplicaciones) def detalle_aplicacion(): aplicacion=self.itemize(db.apps) return dict(Aplicacion=aplicacion). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---