Re: PropertySelection populated from database

2006-12-30 Thread galpi06
Oh right ... I get it. Thanks a lot. I'll use the ISO codes. Happy new year guys, galpi > There is a standard ISO code for countries. I'd use that. > > > On 12/30/06, RonPiterman <[EMAIL PROTECTED]> wrote: >> yes, this is the case if you use list index as value in your model. This >> should o

Re: PropertySelection populated from database

2006-12-30 Thread James Carman
There is a standard ISO code for countries. I'd use that. On 12/30/06, RonPiterman <[EMAIL PROTECTED]> wrote: yes, this is the case if you use list index as value in your model. This should only be done if you know the list will not change across requests. If it does, use a databse primary key

Re: PropertySelection populated from database

2006-12-30 Thread RonPiterman
yes, this is the case if you use list index as value in your model. This should only be done if you know the list will not change across requests. If it does, use a databse primary key, and reload the entry from the database on the translate method in the model. Cheers and happy new year, Ron