On Tuesday, September 5, 2017 at 1:58:55 PM UTC-4, Leonel Câmara wrote: > > Use LOAD to put the bookmarks in layout > > > http://www.web2py.com/books/default/chapter/29/12/components-and-plugins#LOAD > > This way you only need one controller. If you don't want to see it > "loading" set ajax=False. >
If you don't otherwise need the bookmarks output to be accessible via a controller action, setting it up as a component will introduce some unnecessary overhead. It would be simpler and a bit more efficient to generate the necessary data/output in a model file (or via a function defined in a model or module), and then include code in the layout to display the bookmarks as desired (possibly via a separate view that gets included in the layout). Anthony -- 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.

