[web2py] Using db.table.format (i.e. format attr outside of table definition)

2019-07-08 Thread Val K
Try db.table._format=... -- 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 "web2

[web2py] Re: please help testing web3py

2019-07-08 Thread JSalvat
Not working for me on windows10 c:\wwwroot\web3py>python web3py-start apps ___ __ __ | / / / / __ |/___ \/ __ \ \/ / | | / / /_ / /_/ /___/ / /_/ /\ / | | /| / / __/ / __ //__ / / / / | |/ |/ / /___/ /_/ /___/ / / / / |___/|_/_/_/__

Re: [web2py] Using db.table.format (i.e. format attr outside of table definition)

2019-07-08 Thread Eliezer (Vlad) Tseytkin
Nope, still doesn't work... On Mon, Jul 8, 2019, 1:20 PM Val K wrote: > Try db.table._format=... > > -- > 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)

[web2py] Jquery

2019-07-08 Thread Quang Lam
Hi All, Does anyone know how to get the data of the field in the selected row when the user right click on instead of the data of the whole row. //Function to handle context menu appearing/disappearing $(function() { var contextMenu = $("#contextMenu"); var $rowClicked //body on co

[web2py] How to pass the variable in Jquery in view to controller

2019-07-08 Thread Quang Lam
Hi All, i would like to pass the variable clickedFlight in Jquery in view to one of the functions in view.py in controller. Please show me how. Thanks $(document.body).on("contextmenu", "table tr", function(e) { var tableData = $(this).children("td").map(function(){ return $(this).text(); }).get

[web2py] Re: Display a list in SQLFORM.grid

2019-07-08 Thread Dave S
On Thursday, July 4, 2019 at 11:45:48 PM UTC-7, Massimo Di Pierro wrote: > > Can you explain more in detail what you want to do? > At the risk of demonstrating that I'm not a mind-reader, I'm going to suggest that give a list [x,y,z,aa,bb,...] where each element is in some sense a row (perhaps

[web2py] Re: please help testing web3py

2019-07-08 Thread Stephan
As far as I can tell, it works under macOS 10.14.5, I was able to generate a new app from the admin dashboard. However, apart from the missing favicon, the console reports these errors: ERROR:root:Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/

[web2py] Re: How to pass the variable in Jquery in view to controller

2019-07-08 Thread Scott Hunter
The short answer is, you don't. Javascript is being executed in the browser; controller code is executed on the server. The longer answer is that the browser can make a request to the server (via ajax or some other mechanism) that can cause controller code to be executed. I think you'll need

[web2py] 'Storage' object is not callable

2019-07-08 Thread imran tube
'Storage' object is not callable : where is my wrong my code view or controller or web2py problem ? -- 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 r

Re: [web2py] please help testing web3py

2019-07-08 Thread Massimo Di Pierro
please delete the apps folder and let it re-create it On Sunday, 7 July 2019 22:10:47 UTC-7, Nico Zanferrari wrote: > > It runs fine on Windows 10, too. > But I'm not able to create a new user and it also complains about missing > favicon.ico. > > Nico > > Il Lun 8 Lug 2019, 01:56 黄祥 ha scritto:

[web2py] Re: please help testing web3py

2019-07-08 Thread Massimo Di Pierro
LOL. I love the spinnig gears. You have an older version of pydal. Can you uninstall and pip3 install it again On Monday, 8 July 2019 16:04:23 UTC-7, Stephan wrote: > > As far as I can tell, it works under macOS 10.14.5, I was able to generate > a new app from the admin dashboard. > However, a

Re: [web2py] Using db.table.format (i.e. format attr outside of table definition)

2019-07-08 Thread Val K
Show your code, please -- 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-