Re: [web2py] cascading drop down list not working

2011-02-01 Thread w2padawan
I don't have any "require" in the model I posted. do you know how can I get it work with the model I posted above? 2011/1/31 w2padawan : > 2011/1/31 Alexandre Andrade : >> It works fine to me, but it relies on default keys on db >> subcategory table: >> Field('category_id', db.category) >> if it i

Re: [web2py] cascading drop down list not working

2011-01-31 Thread w2padawan
2011/1/31 Alexandre Andrade : > It works fine to me, but it relies on default keys on db > subcategory table: > Field('category_id', db.category) > if it is like > Field('category_id', requires(db, db.category.id)) > it will not work. Hi Alexandre, I don't fully understand your point. By "default

Re: [web2py] cascading drop down list not working

2011-01-31 Thread Alexandre Andrade
It works fine to me, but it relies on default keys on db subcategory table: Field('category_id', db.category) if it is like Field('category_id', requires(db, db.category.id)) it will not work. 2011/1/31 w2padawan > Hi All, > > I'm trying to get working the slice in the subject that are in >

[web2py] cascading drop down list not working

2011-01-31 Thread w2padawan
Hi All, I'm trying to get working the slice in the subject that are in web2pyslices.com[1] but it's something wrong with my code that I still can't see and is breaking the view. The widget works well for me if I use the same code as show in web2pyslice (aka 'copy&paste'), but does not work with my