simple use *.html view - not *.load
and use URL for set controller/function in LOAD()

I not use same views - onlu generic.html by:

def load_func_2():
   h = CAT()
   h += ...
...
return h

def load_func():
...
   h = CAT()
   h += LOAD(URL('contloller','load_func_2', args=[], vars={}), ....)
return dict(h =DIV(h, _class='row'))

понедельник, 13 апреля 2015 г., 23:00:39 UTC+3 пользователь Richard написал:
>
> Hello,
>
> I create a page with multiple components inside of it (the index page is 
> basically an empty shell for the components)... But one of there is a form 
> in one of the embed component which as a field with a widget that trigger 
> modal form allowing to insert a value in another table and select this 
> inserted value (something like SELECT_OR_ADD() would do). The problem is 
> that my form embeded in the modal which the widget append to the page with 
> LOAD() don't load... It hang on "loading..."
>
> Any idea?
>
> Is it even possible to trigger a LOAD inside a LOAD?
>
> Thanks
>
> Richard
>

-- 
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.

Reply via email to