[web2py] Re: Question about @request.restful

2013-07-25 Thread Franco
ame): >> vars = json.loads(request.body.read()) >> print(vars) >> >> On Tuesday, 23 July 2013 21:37:16 UTC-5, Franco wrote: >>> >>> Anybody? >>> >>> El domingo, 21 de julio de 2013 14:46:08 UTC-3, Franco escribió: >>>&

[web2py] Re: Question about @request.restful

2013-07-25 Thread Franco
def POST(table_name, **vars): > print(vars) > > with > > def POST(table_name): > vars = json.loads(request.body.read()) > print(vars) > > On Tuesday, 23 July 2013 21:37:16 UTC-5, Franco wrote: >> >> Anybody? >> >> El domingo,

[web2py] Re: Question about @request.restful

2013-07-23 Thread Franco
Anybody? El domingo, 21 de julio de 2013 14:46:08 UTC-3, Franco escribió: > > Greetings everyone, > I've been using request.restful > to provide an restful interface to my angularjs app, > i tried to post data from the angularjs app and it works, it sends the > data but

[web2py] Question about @request.restful

2013-07-21 Thread Franco
rjs=127.0.0.1-9453b1e9-444d-4fe4-8110-9d956bfda316; > Path=/ > 10. X-Powered-By: > web2py > > I made some tests using the "requests" module and it works, so for instance i think that the problem is within the way that angularjs sends the data. Thanks

Re: [web2py] Re: New Plugin to add client side validation to your SQLFORM

2012-09-23 Thread Franco Alarcon
If you need some help, i'm glad to help you. 2012/9/22 Massimo Di Pierro > This is really a good idea. I will try it asap. Join us on > web2py-developers. > > > On Tuesday, 24 July 2012 09:38:51 UTC-5, Franco wrote: >> >> >> <https://lh6.googl

[web2py] I need help to setup the domain...

2012-09-18 Thread Franco
Hello everyone, I need your help!! I don't know how to configure the domain in the routes.py. Which is the regular expression that i need to change this: *http:///application/controller/function * To that: *http:///application/controller/function* ? Thanks in advance. --

Re: [web2py] Re: client-side validation plugin

2012-08-16 Thread Franco
Try with this version. I need to warning you the python regex are different of javascript regex, so it could be problematic depending of the regex that you use. El miércoles, 15 de agosto de 2012 00:37:35 UTC-3, Alec Taylor escribió: > > Thanks a heap Franco :) > > The only suggesti

[web2py] Re: client-side validation plugin

2012-08-14 Thread Franco
on2(): from plugin_ValidationEngine import JsSQLFORM f = JsSQLFORM(db.test) if f.accepts(request, session): response.flash = 'Ok' else: response.flash = 'Bad' return dict(form = f) Until now i implemented 7 validators (IS_NOT_EMPTY, IS_EMAIL, IS_URL, IS_

[web2py] Re: New Plugin to add client side validation to your SQLFORM

2012-08-04 Thread Franco
2 15:44:55 UTC-3, Massimo Di Pierro escribió: > > Can you tell us more about how it works? > > On Tuesday, 24 July 2012 09:38:51 UTC-5, Franco wrote: >> >> >> <https://lh6.googleusercontent.com/-ICahDjG44ak/UA6u1Az37FI/AFc/YVBbufNi1q8/s1600/screen.png>

[web2py] New Plugin to add client side validation to your SQLFORM

2012-07-24 Thread Franco
Greetings everyone. I want to share with you this plugin, it's based on jquery-validation-engine plugin. It's easy to use, your only need to replace SQLFORM with JsSQLFORM and that's it. At

[web2py] client-side validation plugin

2012-07-24 Thread Franco
Greetings everyone, I want to share with you a plugin that adds client side validation to your forms. I hope this be helpful to you. It uses in the same way that you use SQLFORM class. See you soon. PS: Sorry for my bad english.