I have a map of type ..
HashMap<
String, List<String>>();
key - id1
value - List of value1,value2,value3
key - id2
value - List of value3,value4,value5
I am not sure how to represent them on two drop downs.
first drop should show id1, id2
second drop down should show value1, value2, values3 or value3,value4,value5
depending on what was selected on first drop down..
I am successful to some extent using map.entrySet as the list..
first drop down key
second drop down as value ..
but thats not the exact way i want ..cos on second drop down it shows values as lists [value1, value2, values3 ] [value3,value4,value5] .
any suggestions please ..i wasted almost a day ..already. ..