[web2py] Re: Back button with an Ajax LOAD page

2018-03-03 Thread Val K
Hi, I think when page is reloaded history.pushState happens too, so there are 2 identical URL on the stack after page reloading. If you want to manage routes by raw JS It is simpler to use url#hash schema and place args (category_id=2 and so on) after #. In this case it's quite to listen has

Re: [web2py] Re: please help us test trunk web2py

2018-03-03 Thread Val K
tried web2py_on_gevent.exe Traceback (most recent call last): File "", line 6, in File "__main__.py", line 128, in File "__main__web2py_on_gevent__.py", line 21, in File "gevent/monkey.py", line 190, in patch_all File "gevent/monkey.py", line 146, in patch_ssl File "gevent/monkey.py

[web2py] Re: Connect to mysql via ssl

2018-03-03 Thread Scorpa
MySQL воскресенье, 25 февраля 2018 г., 5:31:10 UTC+3 пользователь Massimo Di Pierro написал: > > Wedo not support that at this time. What database? > > On Sunday, 18 February 2018 02:40:57 UTC-6, Scorpa wrote: >> >> Hello, experts! >> >> >> How to connect to mysql server via client certificate ?

Re: [web2py] Re: Help with cascading drop down list

2018-03-03 Thread 'Matthew J Watts' via web2py-users
Ciao Massimo Thanks for getting back to me. Where do i start! As a beginner i'm struggling to understand how i go developing the dependent /cascading drop down list, eventually i also want to start using the d3 library with my app. There seems to be several concepts i need to learn to be able bui

Re: [web2py] Re: Back button with an Ajax LOAD page

2018-03-03 Thread Gaël Princivalle
Thanks a lot. Do you have an little example? Il 3 mar 2018 9:01 AM, "Val K" ha scritto: > Hi, I think when page is reloaded history.pushState happens too, so there > are 2 identical URL on the stack after page reloading. > If you want to manage routes by raw JS It is simpler to use url#hash > s

Re: [web2py] Re: Help with cascading drop down list

2018-03-03 Thread Val K
just for clarity: JQuery is a Javascript library. Javascript doesn't have any relation to Java. Web2py also has nothing to do with Java. There is a misunderstanding when you talk about Java. And yes, to do what you need, you should have understanding javascript. JQuery is quite enough for a simp

Re: [web2py] Re: Back button with an Ajax LOAD page

2018-03-03 Thread Val K
def router_example(): if request.vars.category_id: # - ajax call return 'Category:%s content' % request.vars.category_id js=""" function ajax_route(){ console.log(window.location.hash); var cat_id= window.location.hash.slice(1); if (cat_id){

Re: [web2py] Re: book help

2018-03-03 Thread villas
Where is the ASSIGNJS description in the book? In the Github repo for the book, issue 369 was merged? Also, are we still waiting for ANY_OF too? Can someone who understands it, please take a look. Many thanks! -- Resources: - http://web2py

[web2py] Re: $.web2py.component

2018-03-03 Thread Andrea Fae'
Anthony, what is the difference between $.web2py.component(url_materia + '?docente=' + v, 'evento_materia'); and $.web2py.component(url_materia + '?docente=' + v, 'evento_materia','no','no',$('#evento_materia')); where is the complete syntax about this? Thanks Il g

[web2py] Re: $.web2py.component

2018-03-03 Thread Anthony
On Saturday, March 3, 2018 at 2:14:29 PM UTC-5, Andrea Fae' wrote: > > Anthony, what is the difference between > > $.web2py.component(url_materia + '?docente=' + v, > 'evento_materia'); > > and > > $.web2py.component(url_materia + '?docente=' + v, > 'evento_materia','n