BTW since 1.80.1 welcome include a generic.load
what is it?

Say you have

     def someaction():
         """ any action """
         return dict(form=crud.create(db.mytable))

which may or may not have a view. And you have another action

   def index(): return dict()

with its own view

    {{extend 'layout.htm'}}
    Hello

Now you can include an ajax callback from the latter to the former
with

    {{extend 'layout.htm'}}
    Hello
    {{=LOAD(request.controller,'someaction.load')}}

NOTICE .load. The form will be ebedded in the view. The processing
will not reload the page. The flash message will be displayed
correctly.

To use in old apps you need to copy views/generic.load into your old
app.

Reply via email to