On Tuesday, May 10, 2011 5:17:57 PM UTC-4, weheh wrote: 
>
> What happens when a LOAD('test1','test1.load',ajax=True) loads another 
> LOAD('test2','test2.load',ajax=False)?

 
I assume the original page loads, then there's an ajax call to 'test1', and 
on the server side, when the 'test1' view is rendered, it includes the 
'test2' response before returning the 'test1' ajax response (so 'test2' gets 
embedded in the 'test1' response before 'test1' returns to the browser).
 

> Conversely, what happens when a LOAD('test1','test1.load',ajax=False) 
> loads another LOAD('test2','test2.load',ajax=True)?

 
I assume the 'test1' response is embedded in the original page and then 
returned to the browser, and then an ajax call is made to 'test2'.
 
But try it and let us know. :-)
 
Anthony

Reply via email to