NameValueLists
Old forum URL: forums.lhotka.net/forums/t/2643.aspx
zcoder posted on Friday, March 30, 2007
I need to populate one combo box based on the value chosen in another combo box using NameValueList. Has anyone accomplished this? If so how was it done?
Bayu replied on Saturday, March 31, 2007
Hey,
Also NVLs can have factory methods that accept arguments, internal Criteria classes and overloaded dataportal_fetch moethods that accept those criteria.
So it could be made to work just following the same recipe as you would follow to make an EditableRoot object fetchable by its primary key, but then I guess you would not use a primary key but rather some other input.
See also www.onelittlevictory.com for code samples.
Bayu
zcoder replied on Monday, April 02, 2007
Thank you. I'll give it a try.Copyright (c) Marimer LLC