Re: [web2py] DAL self-reference and how to display dropdown widget

2011-10-03 Thread Richard Vézina
If it is because you can fill both field at a time use IS_EMPTY_OR(IS_IN_DB(...)) Richard On Mon, Oct 3, 2011 at 3:10 PM, Richard Vézina wrote: > Can you explain I don't understand what's not working if it not the issue > about self reference field that is in cause. > > Why you can't use IS_IN_D

Re: [web2py] DAL self-reference and how to display dropdown widget

2011-10-03 Thread Richard Vézina
Can you explain I don't understand what's not working if it not the issue about self reference field that is in cause. Why you can't use IS_IN_DB? Richard On Mon, Oct 3, 2011 at 2:08 PM, David Marko wrote: > Its not the list:reference problem, I use scenario described in here ... h > ttp://www

Re: [web2py] DAL self-reference and how to display dropdown widget

2011-10-03 Thread David Marko
Its not the list:reference problem, I use scenario described in here ... h ttp://www.web2py.com/book/default/chapter/06#Self-Reference-and-Aliases

Re: [web2py] DAL self-reference and how to display dropdown widget

2011-10-03 Thread Richard Vézina
You can correct the problem yourself with represent for now... It's what I did. Richard On Mon, Oct 3, 2011 at 1:58 PM, Richard Vézina wrote: > There is a issue about that : > > http://code.google.com/p/web2py/issues/detail?id=382 > > So it seems that it still pending? Do you have the last stabl

Re: [web2py] DAL self-reference and how to display dropdown widget

2011-10-03 Thread Richard Vézina
There is a issue about that : http://code.google.com/p/web2py/issues/detail?id=382 So it seems that it still pending? Do you have the last stable version? Richard On Mon, Oct 3, 2011 at 1:44 PM, David Marko wrote: > Just taking the example from web2py manual as below, how can I force web2py >

[web2py] DAL self-reference and how to display dropdown widget

2011-10-03 Thread David Marko
Just taking the example from web2py manual as below, how can I force web2py to show dropdown for father_id and mother_id fields with existing person items/values? For self-reference definition I cannot use IS_IN_DB validator, so there are no widgets displayed. db.define_table('person', Field