In my application I have a view containing a header, main and footer component. In the index function of a controller I have the following code:
maincomponent = LOAD('home', 'base', args=[vertexID, viewtypeID, groupID, plural], ajax=True, target='main-component', content='') this loads the home page, all other pages are loaded in the main-component. I have a separate application which handles errors. In routes.py I have the following code: routes_onerror = [ (r'init/*', r'/error/default/index') ,(r'*/404', r'/error/default/index') ,(r'*/*', r'/error/default/index') ] # specify action in charge of error handling error_handler = dict(application='error', controller='default', function='index') The problem is that in case of an error the error_handler is being loaded into the main-component. Which results in the menu in the header displaying multiple dropdown carets and the menu items not being clickable anymore. What is the best way to solve this issue? Kind regards, Annet -- 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.