[web2py] Re: Weird problems generating menu from database

2017-07-31 Thread Вячеслав Анатольевич
Hi, Dave S, maybe you right! But How to create in submenuitem - submenuitem? > > > -- 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

[web2py] Re: to XML() or to JSON.parse() ?

2017-07-31 Thread lyn2py
new helper? On Monday, July 31, 2017 at 10:54:10 PM UTC+8, Pierre wrote: > > thanks Anthony > > I'll use ASSIGNJS. I'd never heard of this helper.too bad it's > unpublished in the book > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Alias column names (akin to AS clause) in db select

2017-07-31 Thread Paolo Caruccio
Maybe the web2py book could help you: http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=with_alias#Self-Reference-and-aliases Il giorno lunedì 31 luglio 2017 00:19:11 UTC+2, Brendan Barnwell ha scritto: > > On Monday, May 29, 2017 at 11:30:53 PM UTC-7,

[web2py] Re: JWT web2py

2017-07-31 Thread Dave S
On Monday, July 31, 2017 at 5:48:58 AM UTC-7, Marlysson Silva wrote: > > Fixing referral link: > > https://github.com/web2py/web2py/blob/master/gluon/tools.py#L1129 > Thank you. I was doing a quick check with only a vague memory of where I read the "stuff", and leaned heavily on the

Re: [web2py] Integrating existing web2py with GitHub

2017-07-31 Thread Richard Vézina
Hello William, I am not aware of that... But frankly, I would recommend you to properly configure your local repo (origin : https://help.github.com/articles/adding-a-remote/) and set a SSH key (prefered way if you don't want to enter password at every push) over your github account... Then you

Re: [web2py] Datatables Query String Parsing

2017-07-31 Thread Richard Vézina
Yes Villas you get good points... I think Massimo's had talked about abandonning SQLFROM.grid. I never been able to fully levrage it. Most of the time, I prefer handle forms myself, as they most of the time more complexe the what .grid() can handle. So there is no gain to having them to me...

Re: [web2py] Datatables Query String Parsing

2017-07-31 Thread villas
Hi Richard / everyone Those are good strategies. However, I also feel that it is a pity that we are having to 'roll our own' solutions because the sqlform.grid just seems too slow. Your idea of avoiding pyDAL seems to greatly reduce queries, and so I am also tempted down this road.

[web2py] Re: to XML() or to JSON.parse() ?

2017-07-31 Thread Pierre
thanks Anthony I'll use ASSIGNJS. I'd never heard of this helper.too bad it's unpublished in the book -- 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

[web2py] Re: web2py 2.15.0b1

2017-07-31 Thread Oliver Holmes
Yes, that did the trick! Thank you! Cheers! Oliver Holmes -- 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

Re: [web2py] Datatables Query String Parsing

2017-07-31 Thread Richard Vézina
In my case I didn't activate server side processing, I instead reduce the length of the dataset to be displayed by year slicing... I had buttons to specify which years of data the user wants and an "All" button with a notice it could be long to load... It has reduce the load time of the page...

[web2py] Re: JWT web2py

2017-07-31 Thread Marlysson Silva
Fixing referral link: https://github.com/web2py/web2py/blob/master/gluon/tools.py#L1129 And at class's documentation there are some examples.. Em segunda-feira, 31 de julho de 2017 05:44:31 UTC-3, Dave S escreveu: > > > > On Sunday, July 30, 2017 at 8:38:49 PM UTC-7, J Boggy wrote: >> >> How

[web2py] Re: web2py 2.15.0b1

2017-07-31 Thread Manuel Vio
Hi, I think I had the same problem, in my case it was a DAL constructor parameter changing its value in new web2py versions. Try to revert entity_quoting parameter to False as per this issue ticket I filed: https://github.com/web2py/web2py/issues/1697 See also here:

[web2py] Re: web2py 2.15.0b1

2017-07-31 Thread Oliver Holmes
Hi, just extracted 2.15.2-stable over my 2.14.6-stable, prior to that had stopped all services related to web2py, and now whenever I try to access one of my own tables, not web2pys system tables like auth_user or scheduler_task, I get the following error (same for every attempt to access

[web2py] web2py GUI graph

2017-07-31 Thread Dave S
In the web2py GUI, what does the "activity" graph show? In the case of interest, I'm running with Rocket on W10, and since only the developer is accessing the machine, I know it's not showing pages served. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: JWT web2py

2017-07-31 Thread Dave S
On Sunday, July 30, 2017 at 8:38:49 PM UTC-7, J Boggy wrote: > > How can i apply JWT in web2py. And chatMessage web2py too! At the moment, the best documentation for JWT is in the source, gluon/contrib.webp2y_jwt.py Niphlod also provided some simple examples in this forum when he

[web2py] Re: Weird problems generating menu from database

2017-07-31 Thread Dave S
On Saturday, July 29, 2017 at 11:42:42 PM UTC-7, Вячеслав Анатольевич wrote: > > Thanks for the answer, Massimo! > > But this example makes the menu items in one line with one drop-down menu > item. > Like this: > > Menuitem Menuitem > - submenuitem- submenuitem

[web2py] Re: MS-SQL DAL Problem

2017-07-31 Thread Manuel Vio
Hi, recently I had an SQL issue upgrading web2py too. A DAL constructor default parameter (entity_quoting) changed his value and my application crashed. Maybe your case differs, but you can try reverting entity_quoting to False and see if this works. You can get more info here:

Re: [web2py] Fields and button in single row in SQLFORM Factory

2017-07-31 Thread Kiran Subbaraman
Custom forms may help you: http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms Kiran Subbaraman http://subbaraman.wordpress.com/about/ On 31-Jul-17 10:23 AM, Amit Kumar Modak wrote: Hello, I have created a form using Form