Re: [web2py] list:reference table = self-reference, reprensent not working : potential issue

2011-09-08 Thread Richard Vézina
PING Richard On Wed, Aug 17, 2011 at 4:43 PM, Richard Vézina ml.richard.vez...@gmail.com wrote: Ok, forget notice, I think, I just should use something like this : db.table2.linked_self.requires=\ IS_EMPTY_OR(IS_IN_DB(db,'table2.id','%(field1t2)s',\

[web2py] list:reference table = self-reference, reprensent not working : potential issue

2011-08-17 Thread Richard
Hello, I think I have a issue with list:reference with a self referenced table the representation not working in sqltable... It's work when I change my referenced table from the self referenced to a different table... Book says : While list:reference has a default validator and a default

Re: [web2py] list:reference table = self-reference, reprensent not working : potential issue

2011-08-17 Thread Richard Vézina
Ok, forget notice, I think, I just should use something like this : db.table2.linked_self.requires=\ IS_EMPTY_OR(IS_IN_DB(db,'table2.id','%(field1t2)s',\ orderby=('field1t2'),multiple=True)) But, still the list representation not working in crud.select for self referenced field.