Re: [web2py] Re: db modeling question regarding DAL, SQLFORM and nested items

2011-10-16 Thread Erwin Pass
DenesL > Hi Erwin, > > for the second part you could use a list:reference field. > > For presentation purposes you can adapt what was said in > http://groups.google.com/group/web2py/msg/b8f9518487df1b9b > > > On Oct 15, 9:05 am, Erwin Pass wrote: > > Hi there, > &

Re: [web2py] Re: db modeling question regarding DAL, SQLFORM and nested items

2011-10-16 Thread Erwin Pass
sing the 1.99.2 release 2011/10/15 Anthony > You can do self references -- see > http://web2py.com/book/default/chapter/06#Self-Reference-and-Aliases. > > You would need to do Field('div', 'reference div'). > > > On Saturday, October 15, 2011 9:05:05 AM UTC-4,

[web2py] db modeling question regarding DAL, SQLFORM and nested items

2011-10-15 Thread Erwin Pass
Hi there, I saw on stackoverflow that you prefer questions here :) I need to display a form for a nested table structure. This means that a record of a table might have a reference to another record of that table. I have no idea how to model something like this using DAL and SQLFORM. I guess it