Adding the following lines to the default layout.html of your application you can share all that is json serializable between server and client using namespace.
If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
Adding the following lines to the default layout.html of your application you can share all that is json serializable between server and client using namespace.
0
dmitry-ermolaev-10781 10 years ago
may it do dinamic content? if _my_var1 on server is changed client will see that?