[web2py] Re: list:reference issue

2010-11-18 Thread mdipierro
I believe this issue is fixed in trunk. Please check it. Your sample code now works for me. On Nov 17, 11:49 am, Richard Vézina wrote: > Hello, > > The list:reference issue I discribed last week is still in trunk. I joint a > demo app with which it is possible to reproduce the issue. > > If the d

Re: [web2py] Re: list:reference issue

2010-11-17 Thread Richard Vézina
Thanks You are involved in a lot of dev... I understand the delay, no problem. It is just a kind of reminder ;-) Richard On Wed, Nov 17, 2010 at 2:31 PM, mdipierro wrote: > will look into this asap. > > On Nov 17, 11:49 am, Richard Vézina > wrote: > > Hello, > > > > The list:reference issue I

[web2py] Re: list:reference issue

2010-11-17 Thread mdipierro
will look into this asap. On Nov 17, 11:49 am, Richard Vézina wrote: > Hello, > > The list:reference issue I discribed last week is still in trunk. I joint a > demo app with which it is possible to reproduce the issue. > > If the date validator is triggered and the id of the referenced record is

[web2py] Re: list:reference issue

2010-11-08 Thread mdipierro
This db.define_table('person', Field('office', db.office, requires = IS_IN_DB(db, 'office.id', '% (name)s', multiple=True)), Field('name')) should be db.define_table('person', Field('office', 'list:reference office), Field('name')) On Nov 8, 6:32 am, villas wro

[web2py] Re: list:reference issue

2010-11-08 Thread toan75
Thank villas. I get one more error: http://127.0.0.1:8000/init/appadmin/select/db?query=db.person.id%3E0 Traceback (most recent call last): File "E:\web2py-XDCB\gluon\restricted.py", line 188, in restricted exec ccode in environment File "E:/web2py-XDCB/applications/init/views/appadmin.ht

[web2py] Re: list:reference issue

2010-11-08 Thread villas
Hi toan75, You have a few problems here. My advice would be to get it working and then make changes from there, after reading the book. Maybe use this to begin: db.define_table('office', Field('name','string',length = 128), Field('description','text'), Field('pos','integer

[web2py] Re: list:reference issue

2010-11-08 Thread toan75
It's correct in my model? db.define_table('office', Field('name','string',length = 128,requires=ne), Field('description','text'), Field('pos','integer',default=100)) db.define_table('person', Field('office', db.office, requires = IS_IN_DB(db, 'office.id', '% (name)

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Richard Vézina
I just test it still there... Richard On Fri, Nov 5, 2010 at 4:18 PM, Richard Vézina wrote: > I will during the weekend. > > Thank you Massimo > > Richard > > > On Fri, Nov 5, 2010 at 4:09 PM, mdipierro wrote: > >> I believe this problem was fixed in trunk a few days ago. Did you try >> trunk?

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Richard Vézina
I will during the weekend. Thank you Massimo Richard On Fri, Nov 5, 2010 at 4:09 PM, mdipierro wrote: > I believe this problem was fixed in trunk a few days ago. Did you try > trunk? > > Massimo > > On Nov 5, 2:11 pm, Richard Vézina wrote: > > Oups! > > > > I start with tablelist I forgot to

[web2py] Re: list:reference issue

2010-11-05 Thread mdipierro
I believe this problem was fixed in trunk a few days ago. Did you try trunk? Massimo On Nov 5, 2:11 pm, Richard Vézina wrote: > Oups! > > I start with tablelist I forgot to correct it. > > It solves the problem default multiselect view un broswer... And banko! We > can reproduce the first proble

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Richard Vézina
No widget. On Fri, Nov 5, 2010 at 2:30 PM, Bruno Rocha wrote: > What widget is that used in your Capture.png? > > 2010/11/4 Richard Vézina > > More input on the problem. >> >> It happen when the date validator is activated. The refresh form not >> expose the normal list field. I reproduce the p

[web2py] Re: list:reference issue

2010-11-05 Thread mdipierro
I do not understand: db.define_table('userlist', Field('fname','string',notnull=True), Field('lname','string',notnull=True), format='%(fname)s %(lname)s (%(id)s)') db.define_table('name', Field('name','string',notnull=True), Field('date','date',notnull=True), Field('userse

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Bruno Rocha
What widget is that used in your Capture.png? 2010/11/4 Richard Vézina > More input on the problem. > > It happen when the date validator is activated. The refresh form not expose > the normal list field. I reproduce the problem with Chrome and Firefox > systematically when the date is forgot an

[web2py] Re: list:reference issue

2010-11-04 Thread mdipierro
Can you please post the model, the controller and the steps to reproduce the problem? Massimo On Nov 4, 3:29 pm, Richard Vézina wrote: > More input on the problem. > > It happen when the date validator is activated. The refresh form not expose > the normal list field. I reproduce the problem wit

[web2py] Re: list:reference issue

2010-11-04 Thread Richard Vézina
Ok I know what the problem has cause : It seems that the new version is splitting id into single number : 35 = |3|5| 94 = |9|4| Instead of : 94 = |94| Richard On Thu, Nov 4, 2010 at 12:33 PM, Richard Vézina wrote: > Hello, > > I get this error... I have no clue why I get it. I think it not