[web2py] Restful API

2015-08-21 Thread Luis Valladares
Hello! I want to buid an applicaton using the microservices architecture, in order to do this i will implement some Restful APIs using web2py that will be accesed by my applications using HTTP request. This project will be a large scale application with a huge amount of request, so i need to

[web2py] Re: formstyle strange behaviour

2015-08-21 Thread Anthony
If no formstyle argument is provided, SQLFORM uses the value in response.formstyle. In the welcome app, that value is set in the db.py model file: https://github.com/web2py/web2py/blob/master/applications/welcome/models/db.py#L35. The value itself is stored in /private/appconfig.ini

[web2py] About object oriented models

2015-08-21 Thread Carlos Cesar Caballero Díaz
Hi, I was looking at the Weppy framework, and how use object oriented models based in PyDAL, I think that adding this feature (or similar) to web2py will be very good, I don´t mean to replace the actual models, but adding the possibility of object oriented models, will help with code

Re: [web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-21 Thread Anthony
On Friday, August 21, 2015 at 9:29:25 AM UTC-4, Carlos Cesar Caballero wrote: I think that the answer is pretty simple (but I am not a web2py core developer, so I am pretty sure if I'm wrong somebody is going to correct me), the current model/controller execution is better for coding,

[web2py] Re: Can web2py have a microframework the way Laravel has Lumen?

2015-08-21 Thread Mirek Zvolský
weppy.org ? Great. be aware that the only overlap with web2py is the DAL And templating. And more... I think, Massimo, this is hard question for you. If it is really well written, will you fork it? Or cooperate? I don't understand technical details much, but I know that lot of people don't

[web2py] Re: About object oriented models

2015-08-21 Thread Anthony
I suppose you could just use weppy.dal in web2py if you prefer that approach. On Friday, August 21, 2015 at 9:00:33 AM UTC-4, Carlos Cesar Caballero wrote: Hi, I was looking at the Weppy framework, and how use object oriented models based in PyDAL, I think that adding this feature (or

[web2py] formstyle strange behaviour

2015-08-21 Thread Paolo Amboni
I was just experimenting different styles and i came across this strange behaviour: if i put the formstyle='table3cols' the form appear different than without it! So what is the default value? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: All forms clear and do not submit

2015-08-21 Thread Brian Nguyen
Hello Massimo, We have found the root cause of the issue and are able to reproduce it 100%. It seems that one of the websites we use at our company generates Adobe tracking cookies that cause Web2py forms to stop working. The Adobe cookies in questions are: s_vi s_fid s_cc s_sq Since these

[web2py] Re: formstyle strange behaviour

2015-08-21 Thread Paolo Amboni
Interesting!! Is much more than i can understand from the manual. I can set formstyle=bostrap3_horizontal or bootstrap3_vertical Thanks!!! Il giorno venerdì 21 agosto 2015 16:41:09 UTC+2, Anthony ha scritto: If no formstyle argument is provided, SQLFORM uses the value in response.formstyle.

[web2py] Re: Customizing SQLFORM.grid create, edit and update forms

2015-08-21 Thread Raphael Lechner
Hi, I have the same issue. I added a checkbox to the form, but I can't get the value after submitting. if request.args(0) == 'new': my_extra_element = DIV(LABEL('Create Remote SSH Key',_class=control-label col-sm-3),INPUT(_name='create_key',_type='checkbox'), _class=form-group)

[web2py] Re: formstyle strange behaviour

2015-08-21 Thread Anthony
Yes, unfortunately the book appears to be out of date with regard to formstyle. On Friday, August 21, 2015 at 4:50:08 PM UTC-4, Paolo Amboni wrote: Interesting!! Is much more than i can understand from the manual. I can set formstyle=bostrap3_horizontal or bootstrap3_vertical Thanks!!! Il

[web2py] SQLFORM.grid shows ids instead of names only in Linux

2015-08-21 Thread Antonio Salazar
My application shows integer ids instead of names for any table I update using SQLFORM.grid(). It's running a source installation on Apache2 on Linux. The database is PostgreSQL on Windows. Using the same application on the integrated web server in Windows shows the names correctly. I'm using

[web2py] Re: SQLFORM.grid shows ids instead of names only in Linux

2015-08-21 Thread Antonio Salazar
The web2py versions are different The working one (development) is 2.11.2-stable+timestamp.2015.05.30.16.33.24 The non-working one (production) is 2.10.3-stable+timestamp.2015.04.02.21.42.07 I could try upgrading both to 2.12.3 On Friday, August 21, 2015 at 4:24:33 PM UTC-5, Antonio Salazar

[web2py] Re: Unable to install HandsOnTable plugin

2015-08-21 Thread Dave S
On Thursday, August 20, 2015 at 10:17:59 PM UTC-7, Martti Lamberg wrote: I can't install HandsOnTable plugin into my app. Tried the automatic plugin installer in .../admin/default/plugins/my_app but it says: unable to install plugin web2py.plugin.HandsOnTable_plugin_for_a_spreadsheet.w2p

[web2py] GAE: BadRequestError: projection and keys_only cannot both be set

2015-08-21 Thread Jaime Sempere
Hi, Im using web2py 2.9.12, Im developing on local gae, and when I tried to execute this query: pics = db(db.pics.user_id==user_id).select(db.pics.img_link, projection=True ,orderby=~db.pics.up_date, limitby=(num_min, num_max)) I got that error WARNING 2015-08-21 23:40:54,728

Re: [web2py] Re: We do not delete posts

2015-08-21 Thread Dave S
On Saturday, July 25, 2015 at 7:42:32 PM UTC-7, Encompass solutions wrote: Is wish we ran our mailing list on web2py. :) I'm not sure how that changes my answer, though. /dps On Fri, Jul 24, 2015, 23:57 Dave S snide...@gmail.com javascript: wrote: If you can see the list that's

[web2py] SQLFORM.smartgrid change the Links

2015-08-21 Thread Oli
is there a posibility to change the linktext in the SQLFORM.smartgrid from for example files to files(10) to Show the related files from the parent? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -