The idea of load is to render the content of the pay without the
layout.
On Jul 21, 1:57 pm, Rob wrote:
> Hi Massimo,
>
> Yea, setting ajax=True makes it work fine. I haven't tested trunk
> yet.
>
> Sorry for being dense, but what is the use case for the .load version?
>
> {{=LOAD(request.contro
Hi Massimo,
Yea, setting ajax=True makes it work fine. I haven't tested trunk
yet.
Sorry for being dense, but what is the use case for the .load version?
{{=LOAD(request.controller,'p_view_list')}} renders the full view.
{{=LOAD(request.controller,'p_view_list.load')}} just returns the raw
data
Anyway... even with the bug it should work if you set ajax=True which
is the most typical use case.
On Jul 21, 1:52 am, Rob wrote:
> views/item/index.html:
> {{extend 'layout.html'}}
> This is the item/index.html template
> {{=LOAD(request.controller,'p_view_list.load')}}
>
> views/p_view_list.ht
It is a bug. I think I fixed it in trunk. Please check it.
Massimo
On Jul 21, 1:52 am, Rob wrote:
> views/item/index.html:
> {{extend 'layout.html'}}
> This is the item/index.html template
> {{=LOAD(request.controller,'p_view_list.load')}}
>
> views/p_view_list.html:
> {{extend 'layout.html'}}
>
Hi,
My noobness is not seeing the difference between when calling
controller functions using
{{=LOAD(request.controller,'someaction.load')}}
vs
{{=LOAD(request.controller,'someaction')}} as discussed here:
https://groups.google.com/group/web2py/browse_frm/thread/713d37dd854c54bb/ea6bed4
maybe this will help a bit understanding the different components
http://www.web2pyslices.com/main/slices/take_slice/74
On Jul 16, 10:19 am, Jonas Rundberg wrote:
> Thank you,
>
> I've been trying to find more information about LOAD,
> web2py_component, web2py_ajax_page and web2py_trap_form, but
Thank you,
I've been trying to find more information about LOAD,
web2py_component, web2py_ajax_page and web2py_trap_form, but I still
don't get the big picture.
What are the web2py_components?
When should I use LOAD?...
I'm using ajax, but when should I use the above instead of a
'standard' ajax(
7 matches
Mail list logo