I am new to Flex, just getting my feet wet. As such I have a
single form I thought would be a good dry run to learn a bit.
The form has 53 drop down comboboxes. Most of the combos have under 10 values, and all the values for all the combos are stored in 1 table (Oracle) differentiated by a "CODE".
So, for example, one combo might be Gender, and in the database it looks like:
[code]
CODE VALUE
GENDER Male
GENDER Female
etc.
[/code]
I have a database procedure that kicks out XML for the databind - that works fine it just accepts "CODE" as a param...and I have some Flex code to use an <mx:HTTPService> plus a "result event" to (databind) populate the combos, but it would require me to have separate HTTPService definitions/functions for each CODE/Combo that I need to populate!
I know there's gotta be an easier+dynamic way...any ideas?
The form has 53 drop down comboboxes. Most of the combos have under 10 values, and all the values for all the combos are stored in 1 table (Oracle) differentiated by a "CODE".
So, for example, one combo might be Gender, and in the database it looks like:
[code]
CODE VALUE
GENDER Male
GENDER Female
etc.
[/code]
I have a database procedure that kicks out XML for the databind - that works fine it just accepts "CODE" as a param...and I have some Flex code to use an <mx:HTTPService> plus a "result event" to (databind) populate the combos, but it would require me to have separate HTTPService definitions/functions for each CODE/Combo that I need to populate!
I know there's gotta be an easier+dynamic way...any ideas?