Thas the code i'm using, is the main view /default/index.html
{{extend 'layout.html'}}
<div class="img">
{{=A(IMG(_src=URL('static/images','config2.jpeg'),
_alt="Empresa, usuarios y parametros", _width="80", _height="80",
_class="none"),
callback=URL('default','config'), target="modulos" ) }}
<p><center><strong>Configurar empresa</strong></center>
</div>
...
...
Some more divs with same structure
Watching page code from right button see source code:
Bad code:
<div class="img"> <a data-w2p_disable_with="default" data-w2p_method="POST"
data-w2p_target="modulos" href="/PyRest/default/config
<view-source:http://vm-0.wasuaje.koding.kd.io/PyRest/default/config>"
id="f56a3901-d32b-4eaa-a089-21de71450aa8"><img alt="Empresa, usuarios y
parametros" class="none" height="80" src="/PyRest/static/images/config2.jpeg
<view-source:http://vm-0.wasuaje.koding.kd.io/PyRest/static/images/config2.jpeg>"
width="80" /></a> <p><center><strong>Configurar
empresa</strong></center></div>
good Code (from my machine)
<div class="img"> <a href="#null
<view-source:http://localhost:8000/PyRest/#null>"
onclick="ajax('/PyRest/default/config',[],'modulos');return false"><img
alt="Empresa, usuarios y parametros" class="none" height="80"
src="/PyRest/static/images/config2.jpeg
<view-source:http://localhost:8000/PyRest/static/images/config2.jpeg>"
width="80" /></a> <p><center><strong>Configurar
empresa</strong></center></div>
Seems like web2py is not interpreting or updating dom of the page or something
like that
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.