Re: [web2py] Multiple SOLIDFORMs from table rows

2014-02-10 Thread Mike Constabel
Hi, Am Montag, 10. Februar 2014 16:05:49 UTC+1 schrieb viniciusban: > > Maybe I missed something, but what is a SOLIDFORM? > Sorry, forget to mention it. SOLIDFORM is an "extended" SQLFORM http://dev.s-cubism.com/plugin_solidform -- Resources: - http://web2py.com - http://web2py.com/book (Do

Re: [web2py] Multiple SOLIDFORMs from table rows

2014-02-10 Thread Vinicius Assef
Maybe I missed something, but what is a SOLIDFORM? On Mon, Feb 10, 2014 at 6:12 AM, Mike Constabel wrote: > Hi, > > I try to generate multiple SOLIDFORMS from table rows. > > Simple example in pseudo code: > > x = db(y.z).select() > for d in x: > form=CAT(form, SOLIDFORM(d)) > return dict(form=

[web2py] Multiple SOLIDFORMs from table rows

2014-02-10 Thread Mike Constabel
Hi, I try to generate multiple SOLIDFORMS from table rows. Simple example in pseudo code: x = db(y.z).select() for d in x: form=CAT(form, SOLIDFORM(d)) return dict(form=form) This works for me: Model: #simplified, the tables are much longer in real db.define_table("foo_analysis_type",