Not quite. Web2py is a pull framework, not a push framework, this
means you can include a view {{include "whatever.html'}} but not an
action. If you want to include an action, you have to use
{{=LOAD(...)}} and ask the client to perform the request via ajax.On Jun 20, 11:05 am, Giuseppe Luca Scrofani <[email protected]> wrote: > Ok, then it is possible to include a view served by a controller? For > example something like this: > > {{include 'default/block1.html'}} > > I tried many combination to obtain this but as now never worked. > The first proposed solution would be much more vertatile but... > > > You cannot do what you ask but you can do something close > > > {{message_block1='hello from block 1'}} > > {{include 'block1.html'}} > > > where block1.html contains {{=message_block1}} > > Hope this makes sense. > > > Hopefully we will have support for blocks soon and this mechanism will > > become more user friendly.

