Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

Populate Many Combos

$
0
0
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?

Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>