[web2py] How to disable grid pagination but keep the "selectable" option buttons visible?

2019-07-05 Thread João Matos
Hello, How to disable grid pagination but keep the "selectable" option buttons visible? Thanks, JM -- 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

[web2py] How can I save the row.id of each grid selection when the user changes grid page?

2019-07-05 Thread João Matos
Hello, How can I save the row.id of each grid selection when the user changes grid page (using grid pagination)? Thanks, JM -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

Re: [web2py] web2py scripts (homemade task queues) and python2 compatibility

2019-07-05 Thread Tom Clerckx
Hi Nico, I tried explicitly with python2.7, by executing: python2.7 web2py.py -S examples -M -R applications/examples/private/script01.py On a fresh downloaded version of web2py. Same result. In web2py/gluon/shell.py, I notice the following first line: from __future__ import print_function Fu

[web2py] Can I limit wiki articles visibility only for logged in users.

2019-07-05 Thread Dragan Matic
As the title says, I would like to limit visibility of some built-in wiki articles. Ideally, I would like to have articles that would be visible to everybody and then some of them visible only to logged-in users. Is it possible to have some auth functionality for articles or if not is it possib

[web2py] Re: Many apps in a single app.

2019-07-05 Thread villas
Very nice Antonio. My organisation has several apps, but each user has to log in separately for each app, even though we use the same auth_users table for authentication. Would you please explain a little more because I might refactor our apps to work in the way you suggest... Thanks! On Fri

[web2py] SQLTABLE

2019-07-05 Thread Quang Lam
Hi All. I am using SQLTable in web2py to display the record. my question is how do i know which row get selected in Jquery because my point is when the user right click on the row, it will show the drop down menu and be able to grab some information of the selected row. i have the difficulty of

[web2py] how to distinguish between an application error and HTTP(500, "Cant do")?

2019-07-05 Thread Alfonso Serra
Hi. I have set up anerror handler on routes.py as: routes_onerror = [(r"*/*", r"/admin/errors/index")] Its quite slow but its fine for now. The problem is that im trying to emulate a failed response out of an ajax request and its taking 15 secs to respond, using on the controller: raise HTTP(5

[web2py] Using flash messages as notifications of updates...

2019-07-05 Thread Ali Mhrez
I have two controllers, In the first I wrote a function that allow the user to insert data into a database and in the second one I write a function that allow the user to see but not edit the data from the database, when the first user insert new data I want to notify the second one. I tried to

[web2py] Re: how to distinguish between an application error and HTTP(500, "Cant do")?

2019-07-05 Thread Alfonso Serra
I have tracked the problem to globals.py line 126 if 'X-Progress-ID' not in request.get_vars: copystream(source, dest, size, chunk_size) return dest if i disable this condition, any raise HTTP returns fast with code 500 regardless the code or response i would use. I guess this would brea