This is solved!

Thank you Anthony.

https://groups.google.com/forum/?fromgroups=#!topic/web2py/35vyANapSfM

Richard


On Mon, Nov 12, 2012 at 2:52 PM, Richard Vézina <[email protected]
> wrote:

> Thanks I will play with that soon.
>
> Richard
>
>
> On Mon, Nov 12, 2012 at 1:58 PM, Anthony <[email protected]> wrote:
>
>> 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
>>>
>>>
>>>  --
>>
>>
>>
>>
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to