[web2py] Re: passing additional variables in selectable function of sqlform.grid

2017-07-22 Thread Amit Kumar Modak
I tried this but it didn't work. form=SQLFORM.grid(db.Student, editable=False, deletable=False, showbuttontext=False, selectable = [('Assign', lambda ids : assign(ids, form))], csv=F

[web2py] Re: response.js does not execute in the oncreate callback

2017-07-22 Thread Bernardo Leon
Hi Massimo, done. The issue is #1693 Try to take a look at it please, thank you! El sábado, 22 de julio de 2017, 15:35:57 (UTC-5), Massimo Di Pierro escribió: > > Please open a ticket about this it gets tracked. > > On Thursday, 20 July 2017 20:43:40 UTC-5, Bernardo Leon wrote: >> >> Hello, I ha

[web2py] Re: web2py 2.15.2 is OUT

2017-07-22 Thread Massimo Di Pierro
Thank you Tim. On Friday, 21 July 2017 03:42:09 UTC-5, tim.nyb...@conted.ox.ac.uk wrote: > > Actually, this should be simple enough that I can post a fix. > > On Friday, 21 July 2017 09:35:34 UTC+1, tim.n...@conted.ox.ac.uk wrote: >> >> Creating a SQLFORM.factory() from tables, or a combination of

[web2py] Re: response.js does not execute in the oncreate callback

2017-07-22 Thread Massimo Di Pierro
Please open a ticket about this it gets tracked. On Thursday, 20 July 2017 20:43:40 UTC-5, Bernardo Leon wrote: > > Hello, I have a component which has an SQLFORM.grid and an oncreate and > ondelete callbacks on which I execute a response.js. When I delete a record > the response.js javascript f

[web2py] Re: Is it possible to set Cache-Control: no-cache using @cache.action decorator?

2017-07-22 Thread Lisandro
I've found that this is possible with a very simple modification to gluons/cache.py: https://github.com/gonguinguen/web2py/commit/93cd4b9fa18788dd3b6cb3087f87a71a967aaa85 I don't know if I did right proposing that change. Anyway, I just wanted to comment in case someone runs into some similar si

Re: [web2py] Web2py Docker

2017-07-22 Thread José Luis Redrejo
I have been using this in production for more than one year https://hub.docker.com/r/jredrejo/web2py/ 2017-07-22 3:43 GMT+02:00 : > I've searched through the discussion archive before posting this question. > There were few threads here and there but nothing definitive. > > Please share your expe

[web2py] grid for data entry

2017-07-22 Thread T.R.Rajkumar
I want data to be captured for tdr_bid_unrev_detls.rate. I have the query below. select d.jcod,d.qty,u.rate,u.amt from tdr_tender_master t join amc_master m on t.amc_id = m.id join amc_details d on m.id = d.amc_id left join tdr_bid_unrev_detls u on u.tdr_id = t.id and u.amc_id = m.id where m.