[web2py] Re: No row buttons in SQLFORM.grid using groupby

2013-10-11 Thread Luis Furtado
e > getting aggregates back. > > On Thursday, October 10, 2013 10:13:56 AM UTC-7, Luis Furtado wrote: >> >> If I call SQLFORM.grid with "groupby" I get a table with no row buttons >> ("view" in this case). >> Those buttons show up if I leave &qu

[web2py] No row buttons in SQLFORM.grid using groupby

2013-10-10 Thread Luis Furtado
If I call SQLFORM.grid with "groupby" I get a table with no row buttons ("view" in this case). Those buttons show up if I leave "groupby" out. But then I get duplicate records. Notice that I'm joining three tables; g=SQLFORM.grid( ((db.empresa.id == db.emp_prod.emp ) &

Re: [web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Luis Furtado
No, I don't manage the form submission. Just use jQuery to: 1. fill in user_id 2. populate a select dropdown depending on an option on another select 3. add some titles in the form -- index.html {{ extend 'modelo.html' }} {{ =response.toolbar() }} R_ID = {{ =session.r_id }

[web2py] Re: Loop on form.process(). Validation is not done

2012-09-14 Thread Luis Furtado
r_id = form.vars.id" after form accepted. Maybe I should address this in a different post. This is my 1st web2py app. What am I missing? Thanks Luis On Friday, 14 September 2012 09:10:59 UTC+1, Niphlod wrote: > > why are you calling session.forget() ? > > On Thursday, September 13, 20

[web2py] Loop on form.process(). Validation is not done

2012-09-13 Thread Luis Furtado
Hello, When I submit the form no validation errors are shown and, after a few seconds, it just shows the form again, totally blank even if I had filled some fields. If I include @auth.requires_login() at index() it even gets back to login instead of the form. It seems as if the application is re