You can use Javascript to dynamically load a component on the client side 
based on user input/activity. Just call the 
web2py_component()<http://code.google.com/p/web2py/source/browse/applications/welcome/static/js/web2py.js#111>function
 directly. It's a Javascript function in web2py.js. The first 
argument is the URL of the component, and the second is the ID of the 
target div where you want the component to load.

Anthony

On Monday, November 12, 2012 1:38:19 PM UTC-5, Richard wrote:
>
> Hello,
>
> I would like to know if we have fine control over which component is 
> loaded or not on a page. What I would like to do if it possible is to put 
> many components in differents tabs on the same page, but only trigger the 
> loading of those component when the user actually it the tab (to limit 
> overhead caused by the multiple form embeded into the page). Then I could 
> allow my users to navigate (cross navigation) with those tab (or side menu) 
> between differents form without losing their input. For sure I will have to 
> reload some component if the elements inserted into other form required it 
> and keep the data.
>
> Thanks
>
> Richard
>
>
>

-- 



Reply via email to