Hello,
It does not load at all..
During some test i found the case when it works:
I create a new application ( version.: 1.99.7)
and then create the same action 'show' , 'show.view' for two controllers:
default.py and advert.py
and when i put:
{{=LOAD('advert','show.load',ajax=True)}}
|
{{=LOAD('default','show.load',ajax=True)}}
on 'defalut/index.html'
only the second 'LOAD' function works under Chrome.
The rendered code:
<script type="text/javascript">
1
2
3
<!--
web2py_component('/test_ajax/advert/show.load','c740785095034');
//-->
</script>
<div id="c740785095034"/>
|
<script type="text/javascript">
1
2
3
<!--
web2py_component('/test_ajax/default/show.load','c304207385743');
//-->
</script>
<div id="c304207385743">show default.py</div>
(of course under Firefox both work correctly)
So it looks chrome can show result only when *view* and **.load* component
are declared in the same controller.
Regards,
Tomasz
PS. OS: Linux/Windows, Chrome version: 18.0.1025.142
2012/8/1 Anthony <[email protected]>
> Chrome:
>> <script type="text/javascript"**>
>> 1
>> 2
>> 3
>>
>> <!--
>> web2py_component("/myapp/**advert/list.load","**c058198399259")
>> //-->
>>
>> </script>
>> <div id="c058198399259"/>
>>
>> During page reload there are a message 'loading...' for ~1second, and
>> then div is still empty.
>> Also there aren't any logs in console.
>>
>
> Are you saying the div does load properly when the page first loads, but
> the problem only occurs when the page reloads? Or does it not load at all?
> I cannot reproduce the problem. Are you sure web2py.js has loaded, and have
> you made any changes to web2py.js? Do you see any Javascript errors in the
> Chrome console? It might help to show all the view code (layout.html as
> well as a view that is included in it).
>
> Anthony
>
> --
>
>
>
>
--